cURL
curl --request GET \ --url https://api.pagou.ai/v2/checkout/{slug} \ --header 'Authorization: Bearer <token>'
{ "success": true, "requestId": "<string>", "data": { "link": { "id": 123, "slug": "<string>", "status": "<string>", "title": "<string>", "description": "<string>", "currency": "BRL", "amount": 123, "expires_at": "<string>", "max_uses": 123, "used_count": 123, "success_url": "<string>", "cancel_url": "<string>", "payment_methods": [ "pix" ], "metadata": {}, "public_token": "<string>" }, "items": [ { "id": 123, "product_id": 123, "name": "<string>", "description": "<string>", "quantity": 123, "currency": "BRL", "type": "physical", "price": 123, "compare_price": 123, "metadata": {}, "image_url": "<string>" } ], "session_token": "<string>", "expires_at": "<string>", "resumed": true } }
Get checkout link by slug and create/resume session
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
1
3 - 255
Success
Show child attributes