- Explore Our Product Suite
- Payment Gateway
- Payouts
- Prepaid Cards
- About Prepaid Card
- Key Capabilities
- Getting Started
- APIs
- API Access & Authorization
- Encryption & Decryption Guide
- Auth Token
- Create Card Account
- Create Gift Card
- Create Prepaid Card
- Set Card PIN
- Load Card Balance
- Get Card Account Details
- Generate Card OTP
- View Card Details
- Card Usage Controls
- Get Card Usage Limits
- Request Card Replacement
- Block Card
- Order Physical Card
- Get Card Details
- Get Transaction Details
- Get All Transaction details
- Bharat Connect (BBPS)
- About Bharat Connect
- Invoice Payments
- Invoice
- Payment
- Financing
- Onboarding
- cdNote
- Purchase Order
- webhook-invoice
- webhook-payments
- webhook-business-onboarding
- webhook-financing
- webhook-cdNote
- Webhook Purchase Order
- Webhook Send Purchase Order Request
- Webhook Send Purchase Order Response
- Webhook Confirm Purchase Order Request
- Webhook Confirm Purchase Order Response
- Webhook Edit Purchase Order Request
- Webhook Edit Purchase Order Response
- Webhook Status Change Purchase Order Request
- Webhook Status Change Purchase Order Response
- Bill Payments
- Accounts Payable
- Account Receivable
- Expense Management
- Rewards & Incentives
- About Rewards
- Getting Started
- Encryption & Decryption Guide
- Reward Allocation
- Incentive Allocation
- APIs
- Token APIs
- Reward Allocation
- Incentive Allocation
- Redemption
- Point Management
- Verification Suite
Fetch Order Info by Partner order Reference id
Developing
POST
/api/v0/order/orderDetails
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Header Params
authorization
stringÂ
required
Example:
Bearer tYte80xqTDUodXslo2ShHle_eXo
Content-Type
stringÂ
required
Example:
application/json
Body Params application/json
orderId
stringÂ
required
Example
{ "orderId": "OR631764TS4UC"}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/v0/order/orderDetails' \
--header 'authorization: Bearer tYte80xqTDUodXslo2ShHle_eXo' \
--header 'Content-Type: application/json' \
--data-raw '{ "orderId": "OR631764TS4UC"}'
Responses
🟢200Success
application/json
Body
paylod
objectÂ
required
orderId
stringÂ
required
paymentStatus
stringÂ
required
SUCCESS , IN_PROGRESS, FAILED, CANCELLED, EXPIRED, REFUNDED
orderStatus
stringÂ
required
IN_PROGRESS, PENDING, SUCCESS, REFUNDED, EXPIRED
totalQuantity
integerÂ
required
totalAmount
integerÂ
required
orderAmount
integerÂ
required
paidAmount
integerÂ
required
partnerOrderReferenceId
stringÂ
required
voucherDetailsList
array [object {3}]Â
required
response_message
stringÂ
required
response_code
stringÂ
required
Example
{
"paylod" : {
"orderId": "12345",
"paymentStatus": "SUCCESS",
"orderStatus": "SUCCESS",
"totalQuantity": 10,
"totalAmount": 5000.00,
"orderAmount": 4500.00,
"paidAmount": 4500.00,
"partnerOrderReferenceId": "REF123456789",
"voucherDetailsList": [
{
"cardNumber": "1234567890123456",
"pin": "1234",
"expiryDate": "2025-12-31T23:59:59"
},
{
"cardNumber": "6543210987654321",
"pin": "5678",
"expiryDate": "2026-06-30T23:59:59"
}
]
},
"response_message": "Success",
"response_code": "0"
}