Skip to main content
POST
Record a shopper's agent checkout approval

Authorizations

Authorization
string
header
required

Server-side scoped Ignyt API key.

Headers

authorization
string | null
x-ignite-app-id
string | null

Path Parameters

cart_id
string
required

Body

application/json
approved_total_minor
integer
required

The exact quote total the shopper approved, in integer minor units of currency (10050 = AED 100.50). It must equal the quote's total_minor.

Required range: x >= 0
Example:

10050

currency
string
required

ISO 4217 currency of the quote.

Pattern: ^[A-Z]{3}$
Example:

"AED"

grant_id
string
required

The agent grant the shopper approved this purchase under.

Required string length: 1 - 40
key
string
required

Your idempotency key for this approval. Repeating it with the same terms returns the original approval; reusing it for different terms fails with 409.

Pattern: ^[A-Za-z0-9_.:-]{1,80}$
partial_order_policy
enum<string>
required

allow_partial keeps accepted merchant orders if others fail; all_or_cancel is retained for historical approvals. Checkout of new purchases accepts only allow_partial.

Available options:
allow_partial,
all_or_cancel
quote_id
string
required

The cart's current active quote.

Required string length: 1 - 40
shopper_contact
Shopper Contact · object

Contact details passed to merchants for fulfilment, for example email and phone.

ttl_seconds
integer
default:300

Seconds the approval stays usable for starting checkout.

Required range: 30 <= x <= 900

Response

Successful Response