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

# Verify pricing

You will use this API to verify the prices to use based on a person's location. For example: Basic, Premium...

<Danger>Always call this endpoint from the client side so we can determine the user's actual location. If you call it from the server side, the API will return pricing for the server's location instead of the user's actual location.</Danger>

Here is the endpoint you will have to hit:

```method: GET theme={null}
https://api.taag.cc/v1/verify/pricing
```

## Authorization

All you need is to include your **public key** as a value of **authorization** in the header and hit the endpoint above.

```bash theme={null}
Authorization: taag_pk_mode_xxxxxxxxx
```

<ParamField path="Authorization" type="string" required>
  Use the public key that matches the mode you are in TEST or LIVE
</ParamField>

## Response

As a response to your request, you will receieve a json of all your plans and its properties

```bash theme={null}
{
    "mode": "TEST",
	"countryCode": "RW",
	"plans": [
		{
			"planName": "Basic",
			"formatedPrice": "12.99",
			"currency": "USD",
			"interval": "MONTHLY",
			"planId": "5482769083851118"
		}
	]
}
```

<Note> Pay attention to **planId**, this will be used for checkout. [Learn more](../../checkout) </Note>
