Use this API to fetch the order that was created at Cashfree’s using the order_id.
return_urlClient app ID. You can find your app id in the Merchant Dashboard.
Client secret key. You can find your secret key in the Merchant Dashboard.
API version to be used. Format is in YYYY-MM-DD API version to be used
Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree
An idempotency key is a unique identifier you include with your API call. If the request fails or times out, you can safely retry it using the same key to avoid duplicate actions.
The id which uniquely identifies your order
OK
The complete order entity
unique id generated by cashfree for your order
order_id sent during the api request
Type of the entity.
Currency of the order. Example INR
Possible values are
ACTIVE: Order does not have a sucessful transaction yetPAID: Order is PAID with one successful transactionEXPIRED: Order was not PAID and not it has expired. No transaction can be initiated for an EXPIRED order.
TERMINATED: Order terminated
TERMINATION_REQUESTED: Order termination requestedAdditional note for order
When the order was created at cashfree's server
"2022-08-16T14:45:38+05:30"
The customer details that are necessary. Note that you can pass dummy details if your use case does not require the customer details.
{
"customer_id": "7112AAA812234",
"customer_email": "[email protected]",
"customer_phone": "9908734801",
"customer_name": "John Doe",
"customer_bank_account_number": "1518121112",
"customer_bank_ifsc": "XITI0000001",
"customer_bank_code": 3333,
"customer_uid": "54deabb4-ba45-4a60-9e6a-9c016fe7ab10"
}Optional meta details to control how the customer pays and how payment journey completes
Custom Tags in thr form of {"key":"value"} which can be passed for an order. A maximum of 10 tags can be added
{
"product": "Laptop",
"shipping_address": "123 Main St"
}Cart Details in the Order Entity Response