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

Payment

curl --location 'https://seerbitapi.com/api/v2/payments' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_ENCRYPTED_KEY' \
--data-raw '{
    "publicKey": "YOUR_PUBLIC_KEY",
    "amount": "500",
    "currency": "NGN",
    "country": "NG",
    "paymentReference": "payment_reference",
    "email": "ts@emaildomain.com",
    "fullName": "Halil TS",
     "tokenize": "false",
    "callbackUrl": "https://seerbit.com"
}'

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

Request Body

Name
Type
Description

publicKey*

String

This is the merchant public key.

amount*

String

This is the amount to be paid.

email*

String

This is the email of the customer.

country*

String

This is the country from which the transaction is been carried out from

paymentReference*

String

This is the unique identifier for a transaction, to be generated by merchant.

{
 "status": "SUCCESS",
 "data": {
          "code": "00",
          "payments": {
                       "redirectLink": "http://checkout.seerbitapi.com/#/?mid=merchantpublickey&paymentReference=643108207792124616573324",
                       "paymentStatus": "08"
          },
        "message": "Successful"
    }
}
{
    "message": "Transaction Exists",
    "error": "PROCESSING"
}
PreviousError HandlingNextInvoices

Last updated 10 months ago