GoodInboxes Developers
API reference

Place an approved order

POST
/api/v1/orders

Inspect owned orders, fulfillment milestones and purchase observations.

Copy amounts and versions from the quote; do not hard-code them. Initial card top-ups are disabled. Retry the identical confirmation against the same quote; a dropped response is not permission to create another purchase. Provider fulfillment remains separately observable and unverified here.

Required scope: orders:write.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Scoped GoodInboxes API token

Request Body

application/json
  1. body
quoteId*string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Formatuuid
consent*boolean
amountCents*integer
Range0 < value <= 9007199254740991
currency*string
Match^[A-Z]{3}$
policyVersion*string
Match^\d{4}-\d{2}-\d{2}$
consentVersion*string
Match^\d{4}-\d{2}-\d{2}$
renewalConsent*boolean
byodTakeoverAccepted?boolean
Defaultfalse

Response Body

data.orderId, status, orderStatus, paymentStatus, amountCents, currency and checkedAt

application/json
  1. response
data*

data.orderId, status, orderStatus, paymentStatus, amountCents, currency and checkedAt

requestId?string
curl -X POST "https://example.com/api/v1/orders" \  -H "Content-Type: application/json" \  -d '{    "quoteId": "826e5192-f8c6-4e24-aab3-3910e46c52b7",    "consent": true,    "amountCents": 1,    "currency": "string",    "policyVersion": "string",    "consentVersion": "string",    "renewalConsent": true  }'
{  "data": {},  "requestId": "string"}