Before you start
Everything on this page works in test mode. No real money moves until you
go live.
Accept your first payment
1
Create your account
Register on the Modem Pay dashboard. This short video walks you through it:
2
Copy your API keys
You get two kinds of keys from the dashboard:
3
Create a payment
From your server, create a payment intent with the amount to charge. Modem Pay returns a Amounts are in GMD, and the minimum is 10 GMD.
payment_link.4
Send your customer to pay
Redirect the customer to the
payment_link. They choose how to pay and complete the payment on Modem Pay’s checkout.When they finish, they come back to your return_url. If they cancel, they go to your cancel_url.5
Confirm the payment with webhooks
Add your webhook URL in the dashboard. Modem Pay notifies your server when a payment changes, for example
charge.succeeded or charge.cancelled.Choose how to integrate
The steps above use an SDK. If you’d rather not write server code, use HTML Checkout.HTML Checkout
Add a form to your page that posts the payment details to Modem Pay. When the customer clicks Pay Now, they’re taken to checkout. Try it here:
The form posts to
https://test.checkout.modempay.com/api/pay with these fields:
Example of what Modem Pay receives:
Go live
When your test payments work:1
Complete KYC
Submit your business verification from the dashboard. This is required
before you can accept real payments.
2
Switch to live mode
Once KYC is approved, switch to live mode in the dashboard and replace
your
test keys with your live keys.3
Run one real payment
Make a small real payment and check that your webhook marks the order as
paid.
Test and live are kept separate. Payments and sub-accounts created in test
mode don’t exist in live mode, and the reverse.
What’s next
Split payments
Share each payment with partners automatically.
Webhooks
React to payments, refunds and transfers on your server.
Transfers
Send money to mobile wallets and bank accounts.
Refunds
Return money to a customer, in full or in part.
