Docs/Primeiros passos/Testing in the sandbox

Primeiros passos

Testing in the sandbox

Build end to end with test keys: simulated payments, a hosted webhook receiver and live logs.

3 min de leitura

Os guias para programadores estão em inglês para que o código, os nomes dos campos e as mensagens de erro correspondam exatamente à API.

Nesta página
  1. Test mode
  2. Tools

Test mode

Authenticate with pk_test_… / sk_test_… and every call runs in the sandbox (the token response says "sandbox": true). Test traffic never touches real money. Nothing else in your code changes between test and live.

Tools

ToolUse it to
POST /partner/c2b/simulateSimulate a customer paying your till or pay bill.
Echo receiver (GET /partner/echo/url)Capture webhook deliveries without deploying a server.
POST /partner/webhooks/testFire a test event at your own endpoint.
POST /security/credentialProduce a test SecurityCredential.
GET /partner/logsSee your recent charges and webhook deliveries.

The developer console has the same tools with a UI: API explorer, logs, webhooks and team.

Os nossos engenheiros respondem a dúvidas de integração. Envie-nos a referência do pedido e encontramos a chamada exata.

Contactar o suporte