end2endPay API Integration
  1. Opay Payment
end2endPay API Integration
  • end2endPay API Specification
  • Inline Popup
  • v1 - Hosted session redirect
  • Server-to-server
    • Payload details
    • Transaction Notification
    • Pay With Card
      POST
    • Validate OTP
      POST
    • Initiate Pay with Transfer
      POST
    • Status check (PWT/USSD)
      POST
    • Get banks list - USSD
      GET
    • Generate USSD Code
      POST
    • Transaction Status Query
      GET
    • Completion
      POST
    • Void
      POST
  • Plugins
    • end2endPay for Woocommerce
  • Flutter SDK
    • End2EndPay Flutter SDK
  • Android SDK
    • End2EndPay Android SDK
  • Opay Payment
    • Pay with Opay
    • Init Pay with Opay
      POST
  1. Opay Payment

Init Pay with Opay

POST
/init-opay

Request

Body Params application/json

Examples

Responses

🟢200Success
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://end2endpay.com/wallet_service/api/v1/e2e-ipg/init-opay' \
--header 'Content-Type: application/json' \
--data-raw '{
    "client_ref": "092829898938983",
    "txnType": "OPAY_PAY",
    "payerEmail": "user@mail.com",
    "amount": "500",
    "currency": "NGN"
}'
Response Response Example
{
    "status": "success",
    "message": "Successfully initiated payment with Opay",
    "data": {
        "code": "00000",
        "message": "SUCCESSFUL",
        "data": {
            "reference": "092829898938983",
            "orderNo": "260217145666938326975",
            "cashierUrl": "https://express.opaycheckout.com/apiCashier/redirect/payment/checkoutHome?orderToken=TOKEN.5a96a19ea8f34a67acdc3dcdb1894334",
            "status": "INITIAL",
            "amount": {
                "total": 50000,
                "currency": "NGN"
            },
            "vat": {
                "total": 0,
                "currency": "NGN"
            }
        }
    }
}
Previous
Pay with Opay
Built with