PesaBridge
文档/入门/Testing in the sandbox

入门

Testing in the sandbox

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

阅读约 3 分钟

开发者指南以英文撰写,以确保代码、字段名和错误信息与 API 完全一致。

本页内容
  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.

我们的工程师解答集成问题。把请求参考号发给我们,我们会找到那次调用。

联系支持