Cashfree Inbound Webhook
This API receives the webhook from Cashfree and updates the payment transactions.
Request Body required
- credit_card
- debit_card
- prepaid_card
- net_banking
- wallet
- upi
data object required
order object required
The unique identifier for the order
The amount of the order
The currency of the order
Any additional tags for the order
payment object required
The payment identifier from Cashfree
Possible values: [SUCCESS
, FAILED
]
The status of the payment
The amount of the payment
The currency of the payment
The payment message
The timestamp of the payment
The bank reference for the payment
The authentication identifier (used for cards)
The payment group
payment_method object required
card object required
The payment channel
The masked card number
The card network
The card type
The card sub-type
The issuing country of the card
The name of the card-issuing bank
payment_method object required
card object required
The payment channel
The masked card number
The card network
The card type
The card sub-type
The issuing country of the card
The name of the card-issuing bank
payment_method object required
card object required
The payment channel
The masked card number
The card network
The card type
The card sub-type
The issuing country of the card
The name of the card-issuing bank
payment_method object required
netbanking object required
The payment channel
The bank code for netbanking
The name of the netbanking bank
payment_method object required
app object required
The payment channel
The UPI ID
The provider of the payment method
payment_method object required
upi object required
The payment channel
The UPI I`D
customer_details object required
The name of the customer
The unique identifier for the customer
The email address of the customer
The phone number of the customer
error_details object nullable
The error code
The error description
The reason for the error
The source of the error
The raw error code
The raw error description
payment_gateway_details object required
The name of the payment gateway
The order ID from the payment gateway
The payment ID from the payment gateway
The status code from the payment gateway
The settlement information from the payment gateway
The timestamp when the event occurred
Possible values: [PAYMENT_SUCCESS_WEBHOOK
, PAYMENT_FAILED_WEBHOOK
]
The type of webhook event
- 200
- 4XX
- 5XX
Cashfree webhook received and processed successfully
Cashfree webhook received and not processed successfully, 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"
}