Testing and Environments
Where to build, what is available today, and what is not yet ready.
Environments
| Environment | Purpose | Base URL |
|---|---|---|
| Sandbox | Build and test freely. No real money, no real cards | https://sandcaas.undostres.com.mx |
| QA | Integration testing before production | Issued to you directly |
| Production | Live cardholders | Issued to you directly |
Only the Sandbox URL is published. QA and production base URLs are issued to your team directly.
Authentication
Every tokenization endpoint requires both OAuth tokens:
| Header | Token |
|---|---|
Authorization-ecommerce | Your e-commerce token, from Get ecommerce connection token |
Authorization-customer | The customer token, from Get customer connection token |
One is not enough. A request with only one will be rejected. See Security Notes.
Your callback endpoint
Administrative messages are pushed to you, so you need an endpoint that:
- accepts XML-RPC
POST - verifies the
checksum, an HMAC-SHA256 of the method name concatenated with all argument values, keyed with your terminal password - responds with
resultCode - responds quickly, and does its real work asynchronously
Verify the checksum on every message. It is the only thing proving a message came from us. An endpoint that acts on unverified administrative messages will act on anything that reaches it.
Give us the callback URL for each environment separately. They are configured per terminal, not globally.
Build order
You do not have to wait for everything to be ready. Recommended sequence:
Build now
- Your administrative message endpoint, with checksum verification.
- Handlers for all eight
digitization.*messages, even as stubs that log and returnresultCode: 1. - Your token store, populated from the callbacks.
- Your card status to token status mapping. See Token Lifecycle Management.
- The cardholder notification on
digitization.complete.
Build next
/token/stop,/token/unstop,/token/delete,/token/activatefrom your operations tooling.ListActiveTokensandListAllTokensin your support views.- The
digitization.activationmethodsresponder, returning masked contact details. - Your OTP delivery path for
digitization.activation.
Build when the dependencies land
- Push provisioning in your mobile app, once the SDK and key material are issued.
Steps 1 to 5 are the ones that must exist before anything can be tested end to end, and none of them is blocked.
Current status
| Capability | Status |
|---|---|
| Endpoint contracts and administrative message formats | Documented and stable. Build against them now |
| Sandbox endpoints enabled | Pending. Being enabled |
| QA environment | Exists. Endpoints land here when sandbox does |
| Test cards and test tokens in sandbox | Pending. This is the gating item for end-to-end testing |
| Push provisioning SDK | Pending. Not yet issued |
| Time-based secret key material | Pending. Will be issued through a secure channel |
| Confirmed wallet ID list | Pending confirmation. Do not branch on wallet_id yet |
We will tell you when each item changes rather than waiting to be asked. If anything on this page is out of date when you read it, that is our error and worth raising.
Certification
Apple and Google each run their own launch process on top of the technical integration, with their own review gates and criteria. Those sit with UnDosTres as Token Issuer of record, not with you, but they do constrain the launch date. Your programme contact will share the timeline.
Getting help
Raise integration questions through your usual UnDosTres channel. When reporting a problem it saves a round trip if you include:
- the environment
- the
card_id - the
token_referenceif you have one - the
transactionIDandtransactionDatefrom the administrative message - what you expected and what happened
Related
- Use Cases and Runbook — including a failure triage table
- Tokenization Overview
Updated about 2 hours ago

