Para inicializar Pay-me Flex es necesario consumir primero el API de Seguridad y, con el token de acceso, solicitar el API Nonce. Este servicio tiene como función generar un código único Nonce que luego será usado para invocar Pay-me Flex.Documentation Index
Fetch the complete documentation index at: https://docs.pay-me.com/llms.txt
Use this file to discover all available pages before exploring further.
Solicita el Nonce
Usa ese token para llamar al endpoint
/nonce y obtener el código temporal de inicialización.Endpoints
Pre-Producción
Producción
- Request
- Response
Headers
| Field | Accepted Value | Type | Obligatorio |
|---|---|---|---|
ALG-API-VERSION | 1709847567 | String | SI |
Authorization | Bearer ACCESS_TOKEN | String | SI |
Body
| Field | Description | Accepted Value | Type | Obligatorio |
|---|---|---|---|---|
action | Acción a ejecutar | create.nonce | String | SI |
audience | URL base del API | Pre-producción: https://api.preprod.alignet.io/ / Producción: https://api.alignet.io/ | String | SI |
client_id | Identificación del cliente | Cadena alfanumérica | String | SI |
scope | Permisos a solicitar | post:charges | String | SI |
Siguiente paso
Incluir librería y estilos básicos
Continúa con la inclusión del CSS y JS del ambiente antes de inicializar el formulario.

