Developer Docs
English
English
Unified REST API for PagaFactu and ZertiPay. Two environments (sandbox and production) and OAuth2 Client Credentials authentication.
Same endpoints, contracts and data model in both environments. Start in sandbox at no cost and move to production once everything is validated.
| Environment | Base URL |
|---|---|
| Sandbox | https://api-sandbox.zertiban.com |
| Production | https://api.zertiban.com |
Limits, capacity and migration details in Environments.
There is no self-service signup or interactive login: credentials (clientId / clientSecret) are handed out after onboarding and every call is server-to-server using OAuth2 Client Credentials over Basic Auth.
access_token from POST/idp/oauth2/token with grant_type=client_credentials.Authorization: Bearer {access_token} on every subsequent call.curl -i -X POST 'https://api-sandbox.zertiban.com/idp/oauth2/token' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-u '{clientId}:{clientSecret}' \
--data-urlencode 'grant_type=client_credentials' \
--data-urlencode 'scope=openid profile api'Full walkthrough with Python and axios examples: Authentication.
The API is grouped by service (Flow, PagaFactu, Payment, IdP), each with its own URL prefix (/flow/..., /pagafactu/..., etc.). The left-hand menu lists every operation grouped by tag; each operation has its own page with request/response examples, parameters and error codes.
Start with Registration & Onboarding.