Payments & FinanceBilling
Get an active billing checkout
GET
/v1/billing/current/checkouts/{sessionId}Get an active billing checkout. A successful request returns HTTP 200 with the documented response body.
Authorization
bearerAuth AuthorizationBearer <token>
OAuth2 access token issued by Ecomiq Auth.
In: header
Path Parameters
sessionId*string
Header Parameters
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X GET "https://example.com/v1/billing/current/checkouts/7204558912004325301" \ -H "Authorization: Bearer <token>"{ "sessionId": "7204558912004325301", "kind": "planPurchase", "status": "pending", "mode": "example", "paymentProvider": "example", "amount": 1, "currencyCode": "PEN", "description": "Example description.", "isEmbedded": false, "publicKey": "example", "checkoutUrl": "https://example.com/resource", "customerEmail": "andrea@example.com"}