> ## 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.

# Redirect URL

Whenever there is an event after payment initialization, Taag needs an endpoint to redirect the user on the frontend:

<img src="https://mintcdn.com/nocompany-b0be50e2/OuTMmZDyZq0rSZBH/imgs/redirectUrl.png?fit=max&auto=format&n=OuTMmZDyZq0rSZBH&q=85&s=8741c725424e7374e4d69f8069afd339" alt="Redirect URL" width="1322" height="245" data-path="imgs/redirectUrl.png" />

<Note> If there is no redirect URL they will be redirected to:`https://billing.taag.cc/callback` </Note>

***

## Statuses

This redirect URL you provided will receive status parameters, these are the ones you should pay attention to.

Here are some examples of the possible statuses:

<AccordionGroup>
  <Accordion title="Success">
    When the payment is successfully paid, this is what will be sent to the url you set:

    ```bash theme={null}
    https://example.com/callback?status=successful
    ```
  </Accordion>

  <Accordion title="Cancelled">
    When the payment is cancelled, this will be passed in the url:

    ```bash theme={null}
    https://example.com/callback?status=cancelled
    ```
  </Accordion>
</AccordionGroup>
