> For the complete documentation index, see [llms.txt](https://developer.browpay.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.browpay.com/payments/transaction-codes/verify-token.md).

# Verify Token

This endpoint gives you the access to redeem your token and credit your wallet for fund access per transaction. On the other hand, see the QuickStart guide Step 3 and Step 4 to learn how we handle and automate token redemption to ensure you are credited.

<mark style="color:green;">`POST`</mark> `{{base_url}}/token/verify`

{% hint style="info" %}
Fields with <mark style="color:red;">\*</mark> are required
{% endhint %}

#### Headers

| Name                                            | Type   | Description                  |
| ----------------------------------------------- | ------ | ---------------------------- |
| Authorization<mark style="color:red;">\*</mark> | String | Bearer {{your\_secret\_key}} |

#### Request Body

| Name                                    | Type   | Description                 |
| --------------------------------------- | ------ | --------------------------- |
| token<mark style="color:red;">\*</mark> | String | 8-length alphanumeric token |

{% tabs %}
{% tab title="404: Not Found Token Unavailable" %}

```json
{
    "success": false,
    "error": "Error in request",
    "message": "That token is currently unavailable; ensure you are providing the correct token."
}
```

{% endtab %}

{% tab title="200: OK " %}

```json
{
    "success": true,
    "message": "The payment token has been successfully redeemed.",
    "data": {
        "credit_amount": 27875,
        "currency": "NGN",
        "customer": "Ciroma Alade",
        "payment_date": "2024-01-20T22:57:10.000000Z",
        "updated_at": "2024-01-27T16:10:51.000000Z"
    }
}
```

{% endtab %}
{% endtabs %}
