chatformdocs
API referenceV1

Re-check a checkout with the gateway, and settle it if it was paid

POST
/v1/sessions/{sid}/payments/{recordId}/confirm

Authorization

AuthorizationBearer <token>

A server-side secret key. Never send one from a browser — a request carrying an Origin header is refused for this reason.

In: header

Path Parameters

sid*string
recordId*string

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/v1/sessions/string/payments/string/confirm"
{  "recordId": "string",  "status": "created",  "settled": true}