OPay Documentation
Welcome to the OPay developer documentation where you’ll learn how to build amazing payment experiences with the OPay APIs. OPay provides generic, low-level, secure, and PCI-compliant RESTful APIs which allow you accept and make payments. This hub also contains the documentation and tools required to use the APIs in solving your payment use cases.
Getting Started
Accept your first payment
From customers either from their cards, OPay wallets or bank accounts directly from your website or mobile app
Transfer
Funds via your ERP system to OPay wallets or other bank accounts directly from your OPay merchant wallet.
OPay Inquiry
Enables you to verify details of your beneficiaries/recipients before completing a transfer transaction.
OPay API SDKs
Check out our SDK libraries and Sandbox APK to enable you get up and running with our APIs as quickly as possible.
Accept Payments
Here is how to accept payment using the OPay Checkout API.
Authenticate
Authenticate the request call with your public key.
curl --location --request POST 'https://cashierapi.opayweb.com/api/v3/cashier/initialize'
--header 'MerchantId: merchant_id'
--header 'Authorization: Bearer public_key'
--header 'Content-Type: application/json'
Transfer to Bank Account
Here is how to initiate a transfer to a bank account using the OPay Transfer to Banks API.
Authenticate
Authenticate all API request calls with the required keys/HMAC signature and merchant ID specified in your headers.
curl --location --request POST 'https://cashierapi.opayweb.com/api/v3/countries'
--header 'MerchantId: merchant_id'
--header 'Authorization: Bearer public_key'
--header 'Content-Type: application/json'
Transfer to OPay Wallet
Here is how to initiate a transfer to an OPay user or merchant wallet using the OPay Transfer to Wallets API.
Authenticate
Authenticate all API request calls with the required keys / HMAC signature and merchant ID specified in your headers.
curl --location --request POST 'https://cashierapi.opayweb.com/api/v3/countries'
--header 'MerchantId: merchant_id'
--header 'Authorization: Bearer public_key'
--header 'Content-Type: application/json'