Sandbox & Testing

Every API merchant starts in test mode. While in test mode, all salary-network interactions your transactions trigger — eligibility checks, loan initiation, consent OTP — run against GP's test salary environment, completely separate from the production salary-deduction rails. Test transactions are tagged is_test: true and never touch live deductions or your live ledger.

Your sandbox checklist

  1. Sign up as a merchant at guarantorpay.ng/register-m (tap Register as Merchant), then ask the GuarantorPay admin to approve your account and issue your API credentials (client_id + client_secret).
  2. The account starts in TEST mode — the test_mode flag in your token response confirms it.
  3. Integrate against the same base URL as production: https://guarantorpay.ng/api/v1. There is no separate sandbox host — the mode follows your account.
  4. Use the payroll numbers of civil servants you want to test with (ask GP for suitable test subjects). Eligibility figures in test mode come from the test salary environment and may differ from production — that is intentional and proves the isolation.
  5. Log into guarantorpay.ng with your merchant account any time to watch your transactions on the dashboard, including pending ones (a per-merchant visibility switch GP enables for API merchants).
  6. When your integration passes, the GP admin flips your account to production. Same credentials, same serial, same statement — production simply begins. Test rows are cleaned at go-live.

What differs in test mode

TEST modeProduction mode
Salary-network callsGP test environmentGP production
Transactions taggedis_test: trueis_test: false
Salary deductionsNever postedPosted monthly from salary
Buyer SMS (consent link)Real SMS is sent (use your own test buyer)Real SMS
WebhooksFire normallyFire normally

Suggested test cases