> For the complete documentation index, see [llms.txt](https://central-bank-of-libya.gitbook.io/devportal/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://central-bank-of-libya.gitbook.io/devportal/lypay/api-documentation/api-v1/authentication/token.md).

# Token

Token-generation capability for authenticated LYPay API v1 integrations.

The token operation is used to obtain the authentication token required for protected LYPay API v1 requests.

## Purpose

The issued token establishes the authenticated API context for the participating institution.

## When to use it

Use this operation before calling protected LYPay API v1 capabilities when a valid token is not already available.

## Integration role

1. Authenticate using the approved institutional credentials.
2. Request an API token.
3. Store and use the token securely for protected requests.
4. Renew or revoke the token according to the approved credential lifecycle.

## Detailed API reference

[Open LYPay API v1 on Postman →](https://documenter.getpostman.com/view/30951400/2sA3JGfjN7)
