Initialize-with-paymentId

This is a variant to the initialize endpoint. Instead of amount, you pass in the paymentId (already created on webpay)

Process Flow

  1. Make call to Initialize passing merchantCode, payableCode, paymentId, transactionReference as parameters.
  2. View response (as described below)

Sample Request

curl --location 'https://qa.interswitchng.com/collections/api/v1/opay/initialize' \
--header 'Content-Type: application/json' \
--data '{
    "merchantCode": "MX51426",
    "payableCode": "WALLETMX514261638217654204",
    "paymentId": 474566589,
    "transactionReference": "my-very-own-unique-reference"
}'
-XPOST

Sample Response

{
    "redirectUrl": "https://sandboxcashier.opaycheckout.com/apiCashier/redirect/payment/cashier-list?orderToken=TOKEN.dd3713d5ab334c0cb042e280757d0818",
    "transactionReference": "my-very-own-unique-reference",
    "responseCode": "09"
}

EXTRA STEPS SAME AS Initialize


What’s Next

Move on to Status Confirmation