> ## Documentation Index
> Fetch the complete documentation index at: https://developers.sendazi.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Verify Payment

> Verify a payment transaction

<ParamField path="reference" type="string" required>
  The payment transaction reference
</ParamField>

<Note>
  Call this endpoint after a successful payment to verify and credit your account.
</Note>

<RequestExample>
  ```bash cURL theme={null}
  curl "https://sendazi.com/api/v1/sms-campaigns/quick?to=233241234567&message=Hello%20from%20Sendazi!&sender_id=MYCOMPANY&api_key=YOUR_API_KEY"
  ```
</RequestExample>

<ResponseExample>
  ```json 200 - Success theme={null}
  {
    "success": true,
    "data": {
      "status": "success",
      "amount": 500.00,
      "credits_added": 2500,
      "reference": "TXN_1767234120056_zetjslzfe",
      "verified_at": "2026-01-15T16:00:00.000000Z"
    },
    "message": "Payment verified successfully. Credits have been added to your account."
  }
  ```

  ```json 400 - Failed Verification theme={null}
  {
    "success": false,
    "message": "Payment verification failed. Please contact support if you believe this is an error."
  }
  ```

  ```json 400 - Already Verified theme={null}
  {
    "success": false,
    "message": "This payment has already been verified."
  }
  ```
</ResponseExample>

<Warning>
  **Coming Soon:** We are working on implementing credit purchases and top-ups directly via the API. Stay tuned for updates!
</Warning>
