API
  • Introduction
  • Authentication
  • Error Handling
  • API ENDPOINTS
    • Payment
    • Invoices
      • Create Invoice
      • Re-send Invoice
      • Get Invoice - customerEmail
      • Get Invoice - invoiceNo
      • Get Invoice - orderNo
    • Payment Link
      • Create Link
      • Get Link
      • Update Link
      • Delete Link
    • Charge Token
      • Create Token
      • Get Token
      • Charge Token
      • Bulk Charge
      • Query Bulk Charge with BacthId
    • Subscriptions
      • Create Subscription
      • Charge Subscription
      • Get Customer Subscription
      • Update Customer Subscription
      • Get Merchant Subscription
    • Virtual Account
      • Create Virtual Account
      • Get Virtual Account
      • Delete Virtual Account
      • Get Payment
    • Pay with Transfer
    • Pay with USSD
    • Mobile Money Payments
    • Bank Account Payments
    • Card Payment
      • Initializing a Card Payment
      • Scenario 1 (Verve Card Type)
      • Scenario 2 (Master Card and Visa Card Type)
      • Scenario 3
Powered by GitBook
On this page
  1. API ENDPOINTS

Pay with Transfer

Accepts payments from your customers through transfer. This method is available for Nigerian customers only

POST https://seerbitapi.com/api/v2/payments/initiates

How it works

  1. To initiate a pay with transfer, make a request to the transfer payments service with the payments/initiates endpoint.

  2. When the request is made you are expected to get a response with a bank account number for transfer to be made.

  3. Customer completes the transaction using by transferring to the generated account number.

  4. Verify the payment

curl --location 'https://seerbitapi.com/api/v2/payments/initiates' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_ENCRYPTION_KEY' \
--data-raw '{
    "publicKey":"YOUR_PUBLIC KEY",
    "amount":"100",
    "fullName": "Jane Doe",
    "mobileNumber": "0887522256",
    "email":"youremail@domain.com",
    "currency": "NGN",
    "country": "NG",
    "paymentReference": "dsffererer",
    "callbackUrl": "http://checkout-seerbit.surge.sh",
    "redirectUrl": "http://checkout-seerbit.surge.sh",
    "paymentType": "TRANSFER"
}'
{
    "publicKey":"public key",
    "amount":"100",
    "fullName": "Rasaq Agbalaya",
    "mobileNumber": "08087522256",
    "email":"rasaq@gmail.com",
    "currency": "NGN",
    "country": "NG",
    "paymentReference": "dsffererer",
    "callbackUrl": "http://checkout-seerbit.surge.sh",
    "redirectUrl": "http://checkout-seerbit.surge.sh",
    "paymentType": "TRANSFER"
}
{
    "status": "SUCCESS",
    "data": {
        "code": "00",
        "payments": {
            "paymentReference": "dsfr55266tyt5554y166",
            "walletName": "SEERBIT(Merchant Name)",
            "wallet": "9979878249",
            "bankName": "Providus Bank",
            "accountNumber": "9979878249"
        },
        "message": "ACCOUNT OPENED SUCCESSFULLY"
    }
}

PreviousGet PaymentNextPay with USSD

Last updated 9 months ago