Skip to content

Testing in staging

The staging environment is a full copy of the e-Próspera portal where you can test your integration for free. All API endpoints, OAuth flows, and payment steps work identically to production.

Base URLs

EnvironmentBase URL
Productionhttps://portal.eprospera.com
Staginghttps://staging-portal.eprospera.com

Getting access

Email gmembreno@prospera.hn with a brief description of what you're building. We'll provision:

  • A staging account with an API key
  • An OAuth client (if you need OAuth / OIDC)

Making requests

Everything works the same as production. With the CLI, set EPROSPERA_ENV=staging:

bash
export EPROSPERA_API_KEY="<your-staging-api-key>"
EPROSPERA_ENV=staging eprospera --json entity verify 80000000000012

For direct HTTP, use the staging base URL:

bash
curl -X POST https://staging-portal.eprospera.com/api/v1/verify_rpn \
  -H "Authorization: Bearer <your-staging-api-key>" \
  -H "Content-Type: application/json" \
  -d '{"rpn": "80000000000012"}'

See the quickstart for more details.

OAuth in staging

OAuth endpoints work identically to production at the staging base URL. See the OAuth overview for the full flow.

Voucher codes for entity applications

Entity applications require payment via voucher. In production you purchase voucher codes from Próspera; on staging, use this code to incorporate as many entities as you need:

text
API1234