---
updatedAt: 2025-03-25T09:58:12.000Z
agentTools:
  projectIndex: https://developers.dtone.com/llms.txt
---

# Callbacks

Real-time transaction status updates are sent to a provided callback URL during processing

<Cards columns={3}>
  <Card title="Callback Triggers" icon="fa-solid fa-bell">
    * Status changes to `COMPLETED` or `DECLINED` trigger a callback.
    * Rare manual reversals by the DT One team trigger a `REVERSED` status callback.
  </Card>

  <Card title="Callback Endpoint Implementation" icon="fa-solid fa-code">
    * The sending partner must implement a publicly accessible callback endpoint.
    * Expect an HTTP `POST` request with a JSON transaction object.
    * Use tools like ngrok during development to expose local servers.
  </Card>

  <Card title="Callback Response and Retries" icon="fa-solid fa-sync">
    * Respond with an HTTP `2XX` status upon successful data receipt.
    * Unsuccessful responses trigger retry attempts.
    * After retries, query the API for transaction status.
  </Card>
</Cards>