Cashfree Payment Gateway
Yellow.ai Integration with Cashfree Payment Gateway allows you to generateTransaction ID and view payment status with the yellow.ai platform.
1. Use cases
Following are the use cases that are currently accommodated in the Integration:
Generate Transaction ID
Using the action nodes, you can generate transaction IDs according to your use cases. The Transaction ID extracted can be used to initiate payments from WhatsApp pay.
Node Input Params
Field Name | Description | Sample Input |
---|---|---|
Order ID | The unique identification for the order to be created | Order1234 |
Order Amount | The amount for the request. The minimum amount is 1 | 200 |
Order Currency* | The currency in which the order with the amount specified has to be created | INR |
Customer ID | The unique Identification for the Payer | 9999999999 |
Customer Email | Email of the payer | [email protected] |
Order Tags | Tags that are to be attached with the order | {‘comment’: ‘note to be appended’}’ |
Notify Url | Copy Webhook URL from cashfree card at integration page | https://alpha6.yellowmessenger.com/integrations/genericIntegration/cashfree/x1645073590274?id=C1f1Z1htZNZ%2BFYF6cojD9oge%2FLw3HjORG5z76riwNWY%3D |
Sample Success Response
{
"cf_order_id": 2678043,
"order_id": "order_1742302CCpwK00k2bp00fwIwblCVtyPqV",
"entity": "order",
"order_currency": "INR",
"order_amount": 1.00,
"order_expiry_time": "2022-08-19T17:00:57+05:30",
"customer_details": {
"customer_id": "123e344",
"customer_name": null,
"customer_email": "[email protected]",
"customer_phone": "1234567890"
},
"order_meta": {
"return_url": null,
"notify_url": null,
"payment_methods": null
},
"settlements": {
"url": "https://sandbox.cashfree.com/pg/orders/order_1742302CCpwK00k2bp00fwIwblCVtyPqV/settlements"
},
"payments": {
"url": "https://sandbox.cashfree.com/pg/orders/order_1742302CCpwK00k2bp00fwIwblCVtyPqV/payments"
},
"refunds": {
"url": "https://sandbox.cashfree.com/pg/orders/order_1742302CCpwK00k2bp00fwIwblCVtyPqV/refunds"
},
"order_status": "ACTIVE",
"order_token": "WKQXlA9jzfUIytw6adbA",
"order_note": null,
"payment_link": "https://payments-test.cashfree.com/order/#WKQXlA9jzfUIytw6adbA",
"order_tags": null,
"order_splits": []
}
Event for receiving payment confirmation on bot
Following are the events that are currently accommodated in the Integration:
Event | Description |
---|---|
Cashfree payment status | In case of successful payments the status can be checked with these details. |
Activate the Cashfree Payment Status after configuring cashfree credentials at the integration page.
2. Configuration
Configuring the integration with Cashfree is straightforward. Follow the steps defined below to start integrating:
- Sign up on Cashfree dashboard.
- Copy the App ID and Secret.
- Go to the integration page of cloud.yellow.ai and search for cashfree then Paste the app Id and Secret in the form.
- Choose the API base URL according to the type of cashfree account that has been configured.
Reference
For more information about action nodes to use in this integration, click here.