Callback Payload
This API returns the data of order .
Query Parameters
The order_id for which the payment is being made
The transaction_id for which payment is being made
- 200
- 4XX
- 5XX
When the egt token api is successful, the response will be as below
Schema
Possible values: [new
, pending
, failed
, succeeded
, reversing
, reversed
]
Current status of the payment event
TA message describing the payment event
Nimbbl order ID
Nimbbl transaction ID
Nimbbl signature
The order_id for which the payment is being made
The transaction_id for which the payment is being made
Nimbbl signature
order object
Details of the order
The invoice_id for which payment is being made
Current status of the payment event
currency_conversion object nullable
This object is sent only if the transaction currency was changed. This object will have all the details related to currency conversion.
This is the currency code in ISO-4217 format in which the order was initiated
This is the currency code in ISO-4217 format in which the order will be processed in
This is the exchange rate used to convert amounts from original currency to converted currency
Possible values: [ALTERNATE_CURRENCY_CONFIG
]
This is the reason for currency conversion
This is the amount_before_tax
received when the order was initiated
This is the tax
when the order was initiated, if not received will be set to 0
This is the total_amount
received when the order was initiated
refund_details object nullable
This field will only come when the order_status is completed
. This object will have all the refund details for the order.
This is the currency code in ISO-4217 format in which the refund will be initiated
This is the amount which is available for refund
This is the amount which has been already refunded successfully
This is the maximum refundable amount available for the order
transaction object
Details of the transaction
Nimbbl transaction ID
Possible values: [new
, pending
, failed
, succeeded
, reversing
, reversed
]
Current status of the payment event
This is the payment partner through which the payment has been processed
This is the transaction reference generated by the payment partner
Amount of the transaction
Type of transaction (payment, refund)
Currency of the transaction
Additional charges for the transaction
This is the amount that will be discounted as per the offers that have been configured by you
This is the unique offer id provided by Nimbbl, it can be used in subsequent API calls
Nimbbl signature
This specifies the signature generation logic to be used for signature verification
{
"status": "new",
"message": "string",
"nimbbl_order_id": "string",
"nimbbl_transaction_id": "string",
"nimbbl_signature": "string",
"order_id": "string",
"transaction_id": "string",
"signature": "string",
"order": {
"invoice_id": "string",
"status": "string",
"currency_conversion": {
"original_currency": "USD",
"converted_currency": "INR",
"exchange_rate": 83.72,
"conversion_reason": "ALTERNATE_CURRENCY_CONFIG",
"original_amount_before_tax": 11.94,
"original_tax": 2.15,
"original_total_amount": 14.09
},
"refund_details": {
"refundable_currency": "INR",
"available_refundable_amount": 1180,
"refunded_amount": 0,
"total_refundable_amount": 1180
}
},
"transaction": {
"transaction_id": "string",
"status": "failed",
"payment_partner": "Razorpay",
"psp_transaction_id": "ajndkka_223455",
"transaction_amount": "string",
"transaction_type": "string",
"transaction_currency": "string",
"additional_charges": "string",
"offer_discount": "string",
"offer_id": "string",
"signature": "string",
"signature_version": "string"
}
}
When the refresh token is not successful, the response will be as below
Schema
The HTTP error status
The message from the server explaining the error
error object
The HTTP error status
The message from the server explaining the error
This is the http status code
The transaction status
error object
The transaction status
The message from the server explaining the error
{}
When there is a problem on the server, the response will be as below
Schema
The HTTP error status
The message from the server explaining the error
{
"status": 500,
"error": "HTTP 500: Internal Server Error"
}