GetLifeUndo API
Overview
Integrate payments and status checks into your website or back office. The API is minimal and stable.
Base URL
https://getlifeundo.com
Rate limits
Default: up to 60 requests per minute per IP. Contact us if you need more.
Authentication
Use an API key in the Authorization header.
Authorization: Bearer <api_key>
Example header
Endpoints
Health check
GET /api/healthz -> 200 OK
Create FreeKassa payment link
Request body
POST /api/payments/freekassa/create Content-Type: application/json { "productId": "pro_monthly | vip_lifetime | team_5_monthly | starter_6m" }
Responses
200 OK { "ok": true, "pay_url": "https://pay.fk.money/?...", "orderId": "17597..." } 400 Bad Request { "ok": false, "error": "invalid_productId" }
Examples
curl example
curl -X POST https://getlifeundo.com/api/payments/freekassa/create \ -H "Content-Type: application/json" \ -d '{"productId":"pro_monthly"}'
PowerShell example
$body = @{ productId = "pro_monthly" } | ConvertTo-Json Invoke-RestMethod -Method POST "https://getlifeundo.com/api/payments/freekassa/create" -ContentType "application/json" -Body $body
Webhooks
We will publish webhook schemas (payment.success, payment.fail) in the next update. Meanwhile you can poll the provider or contact support.