PaymonetraDocs

Card test mode

Your sk_test_ key, the same routes, no real cards and no real money.

POSThttps://api.paymonetra.com/v1/cards/{card_ref}/simulateTest secret key only
curl
curl https://api.paymonetra.com/v1/cards/crd_8a31f0c2d9b4e7/simulate \
  -H "Authorization: Bearer sk_test_..." \
  -H "Content-Type: application/json" \
  -d '{ "amount": 12500, "channel": "pos", "outcome": "approve" }'

#The three outcomes

POST /cards/{card_ref}/simulate with amount, and optionally merchant, channel (web, pos, atm) and outcome:

  • approve (default): runs the real approval and sends the webhooks;
  • decline_after_approval: approved, then reversed with the money back (naira cards);
  • refund: approved, then refunded by the shop.

#Test money

POSThttps://api.paymonetra.com/v1/sandbox/card_fundingTest secret key only

POST /sandbox/card_funding with currency and amount. NGN arrives at your test funding account and USD at your test USDT address, like real deposits.

#Identity numbers

NumberTypeResult
22222222222BVNPasses with any name
11111111111NINPasses with any name
22222222200 / 11111111100BVN / NINName doesn't match
22222222404 / 11111111404BVN / NINNot found
22222222503 / 11111111503BVN / NINCheck unavailable (nothing charged)

#Forcing a pending or failed card

  • Card creation: a reference starting test_pending answers 202 and the card turns active a minute later. One starting test_fail answers 502.

Card details links show a test card marked TEST.

What a test key separates on the rest of the API: test mode.