Skip to main content

Opay

To enable the Opay payment method, you need to use direct integration. When creating a payment, send a request with the following parameters:

ParameterTypeRequiredDescription
pos_idUUIDMerchant's identifier (POS_ID)
modeMODEdirect
methodMETHODPayment method (purchase)
amountNumberTransaction amount. Must be a positive number
currencyCURRENCYTransaction currency (ISO_4217)
order_3ds_bypassString3-D Secure flow option
order_idStringUnique identifier of order
descriptionStringPayment description
paywayStringwallet
customer_fnameStringCustomer's first name
customer_lnameStringCustomer's last name
customer_emailStringCustomer's email
customer_phoneStringCustomer's phone
customer_countryStringCustomer's country (ISO 3166-1 alpha-2)
customer_cityStringCustomer's city
customer_ipStringCustomer's IP address
properties.instrument_typeStringInstrument type (wallet)
properties.instrument_methodStringInstrument method (WALLET_OPAY)
server_urlURLWebhook notification will be sent to this URL
result_urlURLCustomer will be redirected to this URL after payment
info

Additional data collection on the payment system side

If one or more of the following parameters are not passed in the request, the payer will see an additional page to enter the missing data:

  • customer_email — customer's personal email
  • customer_fname — customer's first name
  • customer_lname — customer's last name
  • customer_phone — customer's phone number

Request example:

{
"pos_id": "00000000-0000-0000-0000-000000000000",
"mode": "direct",
"amount": 1,
"method": "purchase",
"currency": "NGN",
"payway": "wallet",
"properties": {
"instrument_type": "wallet",
"instrument_method": "WALLET_OPAY"
},
"order_3ds_bypass": "supported",
"description": "Description",
"order_id": "1234567890",
"server_url": "http://callback-stub:9000/consume",
"result_url": "https://google.com"
}