Orders endpoints in development
The Orders API endpoints are currently under active development. Request/response shapes may change.
Orders
Pay order
Submit payment and trigger ticket issuance — the final step to complete a booking.
POST
/v1/orders/{orderID}/payRequires X-API-KeyAfter creating an order (status:
-
-
-
-
confirmed), call this endpoint to process payment and trigger ticket issuance with the airline.Supported payment methods:-
card — Tokenized card via your payment processor-
iata_bsp — IATA BSP/ARC settlement-
bank_transfer — Direct bank transfer-
wallet — Digital walletOn success, the order status changes to ticketed and the response includes ticket numbers — 13-digit identifiers the traveler uses for check-in.The complete journey: Search → Price-lock → Create order → Pay → Ticketed ✓Until payment is submitted, the reservation is held but not yet ticketed.Request example
curl --request POST \
--url https://api.norba.io/v1/orders/{orderID}/pay \
--header "X-API-Key: $NORBA_KEY" \
--header "Content-Type: application/json" \
--data '{ "method": "card", "amount": 249.00, "currency": "EUR", "token": "tok_3K..." }'Response example
Response example
{
"order_id": "ord_01...",
"status": "ticketed",
"total_price": {
"amount": 249,
"currency": "EUR"
},
"tickets": [
{
"ticket_number": "053-1234567890",
"passenger_id": "pax1",
"status": "issued"
}
]
}Authorization
X-API-KeystringRequiredOpaque API key issued from the Norba dashboard. Sent on every request as the
X-API-Key HTTP header. Missing or invalid keys are rejected with 401 Unauthorized.Path parameters
orderIDstringRequiredOrder ULID.
Example:
ord_01HVN9M5K...Request body
methodstringRequiredPayment method:
card, iata_bsp, bank_transfer, or wallet.Example:
cardamountnumberRequiredAmount to charge in the order's currency. Should match
total_amount from the order.Example:
249.00currencystringRequiredISO 4217 currency code. Must match the order's currency.
Example:
EURtokenstringPayment token from your payment processor. Required for
card method only.Example:
tok_3K...Error codes
payment_declinedPayment processor rejected the charge.
order_already_ticketedOrder has already been ticketed.