Card Payments

Cards are one of the most popular ways to make payments online with a large global reach. SeerBit supports the most popular card types with a simple implentation.

Before you begin

Ensure you have your public key. You can find this on the SeerBit Merchant dashboard under accounts > api keys. If you don’t have an account with us yet, you can create a test account now

Card Payment Process

  1. Customers enters card details on merchant website.
  2. SeerBit checks that the details provided are valid (e.g the expiry date entered is not in the past)
  3. Authentication : Some cards may prompt the card holder to enter a pin or a one time password sent to the card holder's phone or email to authenticate the transaction.
  4. Authorization : The bank checks for sufficient funds on the card holder's account. if successful the amount is held in the customers account and released to the merchant on capture
  5. Capture : The money moves from the card holder's account (issuing bank) to the merchant account immediately after authorization
Note: By default, all card payments are captured immediately after authorization unless a capture delay or manual capture has been setup by the merchant. Read on how to setup a pre-authorized payment

How it works

  1. Collect the customers details (Fullname, Email and Mobile Number) and Card details.
  2. Make a request to the payment service with the payment/initiates endpoint.
  3. Based on the cardholders card type the seerBit selects an auth method.

Initializing a Card Payment

For the full specification, see our API Reference
Request Sample
The code snippet below shows an example response for creating a subscription
Response Sample
The code snippet below shows an example request for generating a payment link to complete a payment

Scenario 1 (Verve Card Type)

  1. The customers gets prompted to enter card pin.
  2. After the customer enters the card pin, call the payment service again using payment/initiates endpoint.
  3. An OTP (one time password) is sent to the cardholders registered phone number or email to validate the transaction.
  4. To Validate the transaction Call the Validate OTP payments/otp endpoint with the customers OTP and Pass the transactions linking reference in the request body.
Request with PIN
The code snipper below shows the sample request after passing the PIN
Response Sample
The code snippet below shows an example response after entering the OTP

Scenario 2 (Master Card and Visa Card Type)

  1. The occurs for 3D secure card transactions.
  2. After the payment has been initiated, the card holder gets prompted to complete the payment on the card's bank page.
  3. For a successful initial call, code S20 will be returned with a redirect link in the redirectUrl field, merchant is expected to redirect to the link. Because of this merchant is expected to always pass the redirectUrl link that SeerBit should come back to after the payment is completed on 3Ds site.
Response Sample
The code snippet below shows an example request for generating a payment link to complete a payment

Scenario 3

  1. The customers gets prompted to enter card pin.
Response Sample
The code snippet below shows an example request for generating a payment link to complete a payment

Testing your integration

Click on the button below to be redirected to the SeerBit Checkout page and use any of the test cards or test bank account provided below
Card Number
Card Type
Expiry Date
CVC
5123 4500 0000 0008
Mastercard
05/2024
100
6280511000000095
Verve Card
12/2026
123
Need something else?
If you have any questions or need general help, visit our support page
Signup for developer update
You can unsubscribe at any time. Read our privacy policy.