Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Retorna os detalhes de um checkout específico pelo ID
Authorization: Bearer
id
string
status
open
confirmed
succeeded
expired
failed
client_secret
product_price_id
amount
integer
currency
BRL
customer_email
customer_id
payment_method
success_url
metadata
object
created_at
updated_at
expires_at
curl -X GET https://api.chargefy.io/api/v1/checkouts/chk_1a2b3c4d5e6f \ -H "Authorization: Bearer $CHARGEFY_ACCESS_TOKEN"
import { Chargefy } from '@chargefy/sdk'; const chargefy = new Chargefy({ accessToken: process.env.CHARGEFY_ACCESS_TOKEN, }); const checkout = await chargefy.checkouts.get('chk_1a2b3c4d5e6f');
{ "id": "chk_1a2b3c4d5e6f", "status": "open", "client_secret": "chk_secret_xyz789", "product_price_id": "pp_abc123", "amount": 9900, "currency": "BRL", "customer_email": "cliente@exemplo.com", "customer_id": "cus_def456", "payment_method": null, "success_url": "https://meusite.com/sucesso", "metadata": {}, "created_at": "2026-03-12T10:00:00Z", "updated_at": "2026-03-12T10:00:00Z", "expires_at": "2026-03-12T10:30:00Z" }