Card issuing
Issue virtual Naira and Dollar cards to your own users, pay for them from a prepaid card balance, and hear about every payment by webhook.
#Calling it
curl https://api.paymonetra.com/v1/cards/pricing \
-H "Authorization: Bearer sk_test_..."- Base URL:
https://api.paymonetra.com/v1 - Auth: your normal secret key, as
Authorization: Bearer sk_test_...(test) orsk_live_...(live). Find it on the dashboard under Developers.
- Bodies are JSON. Amounts are numbers in the currency named: naira for NGN, dollars for USD.
referenceis your own id on every create. Send the same one again and you get the first result back; nothing happens twice.- Lists take
limit(up to 100) andoffset.
#Two balances, never converted
You hold two prepaid balances with us: NGN for naira cards and USD for dollar cards. Every card fee, load and naira payment comes out of the matching balance, so card money never crosses an exchange rate.
How to fund each one, and the statement behind them: card balances.
#What you can do
Run it in test modeTest money, a cardholder, a card, a simulated payment and the webhook that follows.Verify a cardholderOne of your users, checked against their BVN or NIN before any card is issued.Issue and control a cardCreate, freeze, switch channels off, load, withdraw and close.See every paymentApprovals, declines and the reason, reversals and refunds.Hear about itSigned events to your server, including a low balance warning.Know what you payWhat can carry a fee, and the call that returns your own prices.
#Every card route
GET /card_balance | Card balances |
GET /card_balance/entries | Card balances |
GET /cards/pricing | Card prices |
POST /cardholders | Cardholders |
GET /cardholders/{cardholder_ref} | Cardholders |
GET /cardholders | Cardholders |
POST /cards | Issuing cards |
GET /cards/{card_ref} | Issuing cards |
GET /cards | Issuing cards |
POST /cards/{card_ref}/freeze | Issuing cards |
POST /cards/{card_ref}/unfreeze | Issuing cards |
POST /cards/{card_ref}/controls | Issuing cards |
POST /cards/{card_ref}/terminate | Issuing cards |
POST /cards/{card_ref}/fund | Issuing cards |
POST /cards/{card_ref}/withdraw | Issuing cards |
POST /cards/{card_ref}/details_link | Issuing cards |
GET /cards/{card_ref}/transactions | Card payments |
GET /card_transactions | Card payments |
GET /card_transactions/{id} | Card payments |
POST /sandbox/card_funding | Card test mode |
POST /cards/{card_ref}/simulate | Card test mode |
Same host and same key as the rest of the API. There is no separate card key: see authentication.