end2endPay API Integration
    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

    v1 - Hosted session redirect

    This guide helps you integrate our JavaScript SDK into your website or web application to initiate customer payments. After the payment is completed, the user will be redirected to your specified return URL with transaction details.

    Installation / SDK Script Inclusion#

    Include the SDK script on your payment page (usually placed before the closing </body> tag):

    Initialize the Payment#

    Call the End2EndPay.init() function with your transaction details.
    Example
    Previous
    Inline Popup
    Next
    Payload details
    Built with