DGS-Pay API v2
Dashboard
Configuration

Environments & Testing

DGS-Pay operates two isolated environments. The sandbox mimics production exactly but uses simulated money — no real funds move. When you are ready to go live, simply swap the base URL. Credentials are environment-specific and must not be mixed.

Sandbox / Test
https://test.pay.digitalservicescenter.rw/generation/v2
Production / Live
https://pay.digitalservicescenter.rw/generation/v2
Merchant Portal Access your dashboard at https://pay.digitalservicescenter.rw/smart-merchant/ — the same portal serves both environments via environment tabs.

Simulating Scenarios with scenario_key

In sandbox, you can force specific outcomes by including a scenario_key field in your request body. This saves you from needing real cards, phones, or network responses to test your integration logic.

Scenario TypeAllowed ValuesWhat it simulates
Card Authorization scenario:auth_pin
scenario:auth_pin_3ds
scenario:auth_3ds
scenario:auth_avs
Forces the charge response to require PIN, 3DS, AVS, or combined auth.
Issuer Responses issuer:approved
issuer:insufficient_funds
issuer:incorrect_pin
issuer:expired_card
issuer:invalid_cvv
issuer:do_not_honor
issuer:system_error
Simulates the card bank's response after you authorize.
Mobile Money scenario:auth_pin
scenario:auth_redirect
auth_pin = payment auto-approved. auth_redirect = redirect flow triggered.
Transfers / Disbursements scenario:successful
scenario:insufficient_balance
scenario:invalid_currency
Simulates outcomes of wallet disbursements.

Example — Approved Card in Sandbox

JSON — Request Body (append to normal card payload)
{
  "scenario_key": "scenario:auth_pin&issuer:approved",
}

Need Help?

Our technical team is ready to assist with integration questions, testing, and go-live checks.

Contact Support