Skip to main content
The core concept of customer payments with our system revolves around the SDK.
  • For each customer payment, a new Checkout Session will be automatically created.
    • First Time User: During the payment session, the user will automatically be redirected to AcountPay’s user dashboard to create an account and link their bank account to save their IBAN for future use. Once account linking is complete they will be redirected to their bank’s page to authorize payment.
    • Returning User: The user will be redirected to AcountPay’s user dahsboard for login and then directly to their bank’s page to authorize payment
  • This session includes a redirectUrl parameter, which allows our SDK to direct the customer to our hosted payment page.

Integration Flow:

1

Install SDK

Easily integrate our payment system into your application by installing the SDK. The SDK provides a streamlined way to interact with our API, handling authentication, session management, and payment processing efficiently.

Steps to Install:

  1. Choose your preferred programming language.
  2. Install the SDK using the package manager for your environment: npm i @acountpay/pis-sdk
  3. Configure the SDK with your API credentials.
Once installed, you can start creating checkout sessions, handling payments, and managing transactions seamlessly.
2

Initialize Account in the SDK

To start using the SDK, you need to initialize your account. This involves:
  1. Importing the SDK into your project: import AcountPay from '@acountpay/pis-sdk'
  2. Providing your API credentials for authentication.
  3. Setting up the SDK instance to connect with our payment system.
Once initialized, you can create checkout sessions, process payments, and manage transactions seamlessly.
3

Payment Process Overview

The payment process starts with the initiateUserPaymentByEmail method, which securely creates a payment request and begins the transaction. This ensures that the payment details are processed safely and efficiently. Once the payment is completed successfully, a confirmation callback is triggered to send the user to the success callback URL.To use this method, your account must be properly set up with a valid client ID. This ensures that transactions are securely linked to your business and processed without interruptions.The entire payment process is seamlessly managed within our Checkout Page which the SDK will automatically redirect you to.
The entire payment journey is handled within the Checkout Page.