Skip to main content

Transaction Status

We have an API and Webhook support for getting transaction status.

API#

GET web.bharatx.tech/api/transaction/status?id=txnId01
Headers:Content-Type: application/jsonX-Partner-Id: partnerId

Webhook#

We also send a Webhook to let you know when a Transaction Succeeds or Fails. Your server should respond with a successful status code 200 - 299, and if it doesn't, our server will retry a few more times and stop sending webhooks for that transaction.

POST <Your Server Webhook URL>
Headers:Content-Type: application/json
Body:{    transactionId: "txnId01",    status: "SUCCESS|FAILURE|CANCELLED",    // you can use this signature to check if the status    // update has indeed come from BharatX    signature: "string",}