Post V 1 Checkout Sessions Id Cancel

Path parameters

idstringRequired
Checkout Session identifier.

Response

Cancelled; a checkout_session.cancelled webhook is sent. Safe to retry: a repeat returns 409 invalid_state.

idstring
Checkout Session identifier.
statusenum
Current status of the Checkout Session.
Allowed values:
amountinteger

Amount to charge, in FJD cents (minor units).

currencyenum
Always FJD in v1.
Allowed values:
hostedUrlstring

Transxact-hosted URL to redirect the Customer to.

metadatamap from strings to strings

Your own key/value data from creation; empty object if none was set.

expiresAtinteger

Unix ms timestamp after which no payment can start; a still-pending session is then cancelled.

Errors

404
Not Found Error
409
Conflict Error