PesaBridge
Ìwé/Ìbẹ̀rẹ̀/Testing in the sandbox

Ìbẹ̀rẹ̀

Testing in the sandbox

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

Ìṣẹ́jú 3 láti kà

A kọ àwọn ìtọ́sọ́nà olùgbéṣẹ́ ní èdè Gẹ̀ẹ́sì kí kóòdù, orúkọ àwọn pápá àti àwọn ìfiránṣẹ́ àṣìṣe lè bá API mu gẹ́lẹ́.

Lórí ojú-ìwé yìí
  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.

Àwọn onímọ̀-ẹ̀rọ wa ń dáhùn ìbéèrè nípa ìsopọ̀. Fi nọ́mbà ìtọ́kasí ìbéèrè náà ránṣẹ́ sí wa, a ó sì rí ìpè náà gẹ́lẹ́.

Kàn sí ìrànlọ́wọ́