API Reference

Payout Transaction Callback

This callback is triggered by Toshani to a custom end-point of the platform for each outgoing transaction initiated through Toshani .

Description - Your organization will provide us a Call-back URL with the following configurations:

  • The Call-back URL should be of Method Type POST
  • Content-type should be of Type application/JSON.
  • The Call-back URL should have the below request format. The Response also has been provided for your reference.

Sample Request Body 

Payout Transaction Success

{
    "event": "PAYOUT",
    "txn_id": "TA16052024PT17158756826280",
    "order_id": "044514544645330789004",
    "beneName": "TOSHANI",
    "beneIfscCode": "PYTM0123456",
    "beneAccNum": "1564514545456",
    "status": "Success",
    "txnAmount": "100.00",
    "utr": "413721810545",
    "txnPaymode": "IMPS",
    "txn_date": "2024-05-16 21:39:35"
}

Payout Transaction Failure 

 

{
    "event": "PAYOUT",
    "txn_id": "TA16052024PT17158758463007",
    "order_id": "044514544645330789005",
    "beneName": "TOSHANI",
    "beneIfscCode": "PYTM0123456",
    "beneAccNum": "561561456456",
    "status": "Failure",
    "txnAmount": "100.00",
    "utr": "",
    "txnPaymode": "IMPS",
    "txn_date": "2024-05-16 21:50:09"
}