OrderResponse
truedata object
Platform's internal order ID (starts with ORD_)
ORD_1701234567890_abc123Internal transaction ID (starts with TXN_)
TXN_1701234567890_789xyzYour order ID (if provided during creation)
ORD-12345Secure token for accessing payment page
Order amount in main currency unit (e.g. 100.00 = $100 / ₹100 / €100). JPY has no decimals.
100ISO 4217 currency code (one of USD, EUR, GBP, INR, AED, AUD, CAD, JPY, SAR, USDT).
Possible values: [USD, EUR, GBP, INR, AED, AUD, CAD, JPY, SAR, USDT]
USDOrder status:
created: Order created, awaiting paymentpending: Payment initiated, awaiting confirmationprocessing: Payment being processedsuccess: Payment completed successfullyfailed: Payment failedcancelled: Order cancelled by merchantexpired: Order expired (default: 48 hours)refunded: Payment was refunded
Possible values: [created, pending, processing, success, failed, cancelled, expired, refunded]
Payment methods available for this order
["crypto","card"]Payment method selected by customer (after selection)
Possible values: [crypto, card, wallet]
customer object
Customer details
Customer's full name
John DoeCustomer's email address
john@example.comCustomer's phone number
+1234567890metadata object
fees object
Fee breakdown (populated after successful payment)
Platform fee amount
Amount merchant receives after fees
Which fee configuration was applied
Order expiry timestamp
Payment completion timestamp
Reason for payment failure (if failed)
Reason for cancellation (if cancelled)
{
"success": true,
"data": {
"orderId": "ORD_1701234567890_abc123",
"transactionId": "TXN_1701234567890_789xyz",
"externalOrderId": "ORD-12345",
"accessToken": "string",
"amount": 100,
"currency": "USD",
"status": "created",
"availablePaymentMethods": [
"crypto",
"card"
],
"selectedPaymentMethod": "crypto",
"customer": {
"name": "John Doe",
"email": "john@example.com",
"phone": "+1234567890"
},
"metadata": {},
"description": "string",
"fees": {
"platformFee": 0,
"netAmount": 0,
"feeSource": "string"
},
"expiresAt": "2024-07-29T15:51:28.071Z",
"completedAt": "2024-07-29T15:51:28.071Z",
"failureReason": "string",
"cancellationReason": "string",
"createdAt": "2024-07-29T15:51:28.071Z",
"updatedAt": "2024-07-29T15:51:28.071Z"
}
}