end2endPay API Integration
  1. Server-to-server
end2endPay API Integration
  • end2endPay API Specification
  • Inline Popup
  • v1 - Hosted session redirect
  • Server-to-server
    • Payload details
    • 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
  • Plugins
  • Flutter SDK
    • End2EndPay Flutter SDK
  • Android SDK
    • End2EndPay Android SDK
  1. Server-to-server

Pay With Card

POST
/payment/card
To make payment with card, the request must follow initiate encryption model. Card details will depend on the type of card.

Request

Header Params

Body Params application/json

Examples

Responses

🟢200Success
application/json
Body

🟠403Forbidden
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://end2endpay.com/wallet_service/api/v1/e2e-ipg/payment/card' \
--header 'x-api-key;' \
--header 'access-token;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "cardNumber": "Hatchback",
    "expiryMonth": "May",
    "expiryYear": "2026",
    "amount": "806.60",
    "currency": "NAD",
    "cvv": "627",
    "javaEnabled": false,
    "language": "dolor",
    "screenHeight": 3140011.0375416875,
    "screenWidth": 43505540.10738495,
    "timeZone": "Pacific/Kanton",
    "colorDepth": 68346497.86499113,
    "userAgent": "Mozilla/5.0 (Macintosh; PPC Mac OS X 10_10_2 rv:4.0; LT) AppleWebKit/532.2.0 (KHTML, like Gecko) Version/5.1.3 Safari/532.2.0",
    "payerEmail": "Alison4@gmail.com",
    "client_ref": "aliquip ullamco pariatur",
    "card_pin": "Coupe",
    "authNotifyUrl": "https://bossy-depot.us/",
    "nameOnCard": "Hatchback",
    "firstName": "Felix",
    "lastName": "Borer",
    "payerPhone": "(209) 617-5799",
    "billingCity": "Wisozkville",
    "billingCountry": "MQT",
    "billingPostCode": "14936-9195",
    "billingStateProvince": "Wisconsin",
    "billingStreet": "7859 W Grand Avenue"
}'
Response Response Example
200 - Example 1
{}
Previous
Payload details
Next
Validate OTP
Built with