Post V 1 Checkout Sessions
Headers
Client-generated key; a repeated key returns the original session.
Request
Amount to charge, in FJD cents (minor units).
Where the hosted checkout sends the Customer after the payment succeeds. HTTPS only. Transxact appends session_id=<Checkout Session id>; confirm the outcome with GET /v1/checkout-sessions/{id} rather than trusting the redirect.
Where the hosted checkout sends the Customer if they cancel or the payment doesn’t go through. HTTPS only. Transxact appends session_id=<Checkout Session id>; confirm the outcome with GET /v1/checkout-sessions/{id} rather than trusting the redirect.
Up to 20 string key/value pairs (keys ≤40 chars, values ≤500) for matching the session to your own records. Returned on retrieve and in webhooks; never shown to the Customer. Don’t put secrets or personal data here.
Response
Checkout Session created (or replayed from the Idempotency-Key).
Amount to charge, in FJD cents (minor units).
Transxact-hosted URL to redirect the Customer to.
Your own key/value data from creation; empty object if none was set.
Unix ms timestamp after which no payment can start; a still-pending session is then cancelled.