/transactionsCreate transaction
Creates a protected payment. Funds are held until the receiver confirms delivery. Response bodies are wrapped in a top-level data object. Pass a stable externalReference (or metadata.orderId) so retries return the same transaction instead of creating a duplicate.
{
"amount": 25000,
"currency": "NGN",
"buyer": {
"email": "buyer@example.com",
"name": "Ada Okonkwo"
},
"description": "Order #4821 — Wireless earbuds",
"externalReference": "4821",
"metadata": {
"orderId": "4821",
"marketplaceId": "mp_lagos_01"
},
"successUrl": "https://yoursite.com/orders/4821/paid",
"cancelUrl": "https://yoursite.com/checkout"
}{
"data": {
"id": "a3f1c8e2-4b9d-4e21-9c7a-0d5e8f1a2b3c",
"reference": "INV-20260711-A1B2C3",
"status": "Awaiting Payment",
"paymentStatus": "Unpaid",
"deliveryStatus": "Not Started",
"checkoutUrl": "https://adana.africa/pay/share_token_here",
"confirmationUrl": "https://adana.africa/pay/share_token_here",
"successUrl": "https://yoursite.com/orders/4821/paid",
"cancelUrl": "https://yoursite.com/checkout",
"requiresDeliveryOtp": false,
"deliveryOtp": null,
"amount": "25000.00",
"currency": "NGN",
"externalReference": "4821"
},
"meta": {
"idempotentReplay": false,
"externalReference": "4821"
}
}