Billing/Billing
Get the status of a checkout session
Authorization
x-api-key
<token>In: header
Query Parameters
checkoutSessionId
RequiredstringThe ID of the checkout session
curl -X GET "https://api.acta.link/billing/api/v1/paysession/status?checkoutSessionId=checkout_hDI6RgrACJkDTExVO6uJ0MsnKE8YUT6i" \
-H "x-api-key: <token>"
Checkout session status returned successfully
{
"data": {
"id": "checkout_2cha7c3YGhufo43aWF4eEHCnfhaDM74L",
"mode": "paylink",
"status": "success",
"orderId": "ord_qtXiN0d4NGp5FGz8IdcFCrpqPPcriB8E",
"orderStatus": "ONGOING",
"createdAt": "2025-08-29T15:31:50.876Z",
"updatedAt": "2025-08-29T15:31:50.876Z",
"expiresAt": "2025-08-29T16:31:50.878Z",
"startedAt": "2025-08-29T15:35:19.147Z",
"endAt": "2025-08-29T15:50:19.147Z",
"name": "Recipe Pro",
"paylinkType": "subscription",
"paymentLink": "https://pay.acta.link/payment-link/paylink_6LDiorrwRDii8aU2B7ueSRPGIFEby6cr",
"successUrl": "https://localhost:4000/account",
"cancelUrl": null,
"failureUrl": null,
"url": "https://pay.acta.link/payment-link/checkout_2cha7c3YGhufo43aWF4eEHCnfhaDM74L",
"metadata": {
"uuid": "nw571k0fjyh650yehifhtwqd"
},
"plan": {
"id": "1b35a861-efa1-45a8-906f-e6a66752702f",
"publicId": "prod_LEYeql9qO7yAAxXJSUynmzL1QXWuo2or",
"createdAt": "2025-08-29T15:23:18.164Z",
"updatedAt": "2025-08-29T15:23:18.164Z",
"name": "Recipe Pro",
"description": "Pro plan for Recipe",
"imageUrl": "",
"paymentType": "recurring",
"paymentTypeId": "aa8bebef-aa85-4a93-b6fd-c60544cbb4d1",
"status": "ACTIVE",
"priceDetails": {
"price": "0x302e3136",
"currency": "USDC",
"intervalCount": 3,
"intervalUnit": "5mins",
"currencyType": "crypto"
}
},
"payment": {
"senderAddress": "0x061BA68bc8208F4AddBeE86F74F17D77129cCF70",
"receiverAddress": "0xEBFa37194fA74bA3e8195446948FC3B9c72E08AB",
"hash": null
},
"products": [
{
"id": "prod_LEYeql9qO7yAAxXJSUynmzL1QXWuo2or",
"createdAt": "2025-08-29T15:23:18.164Z",
"name": "Recipe Pro",
"description": "Pro plan for Recipe",
"imageUrl": "",
"paymentType": "recurring",
"status": "ACTIVE",
"priceDetails": {
"price": "0x302e3136",
"currency": "USDC",
"intervalCount": 3,
"intervalUnit": "5mins",
"currencyType": "crypto"
}
}
],
"paymentMethods": [
{
"id": "paymethod_Ne22iCvTRkW7bnm6nRwbuSYKUXjrkOnN",
"name": "Polygon USDC",
"createdAt": "2025-08-12T11:57:36.863Z",
"paymentType": "crypto",
"paymentDetails": {
"chainId": 137,
"address": "0xEBFa37194fA74bA3e8195446948FC3B9c72E08AB",
"isDefault": false
}
}
]
}
}