diff --git a/docs.html b/docs.html new file mode 100644 index 0000000..8877f58 --- /dev/null +++ b/docs.html @@ -0,0 +1,983 @@ + + + +
+ +To make API calls on SeerBit, you will be required to pass a bearer token. To generate a token simply pass your pubic and secret key to rceive a token to process further API calls.
+| key required | string This consist of the PrivateKey and the publicKey separated with a '.' in the middle(eg:{privateKey.publicKey} + |
{- "key": "SBTESTSECK_9Cb8dbqR5Rc2JwZaa77P5QYHzQaeGUcrkEMD1dEi.SBTESTPUBK_9sN3TuLgW6a9redEfY48cKKkUa09Pz2u"
}{- "status": "SUCCESS",
- "data": {
- "code": "00",
- "EncrytedSecKey": {
- "encryptedKey": "oAX1OeAlwNt9BI5VEwBLlxtWgL2WaLT9kTc4EMaaZgXMfdhHXaqqVgapnQSOO4OZM2oLRPtqjJzwNLEEGqFSvam8MFz06U4fl/5TVwfWLMsRHq4mML9ExIaXRVn3bVm8"
}, - "message": "Successful"
}
}This is used to ensure the request payload has not been altered
+| publicKey required | string This is the merchant public key. + |
| amount required | string This is the amount to be paid. + |
| currency required | string This is the currency the transaction is to be carried out in. + |
| country required | string This is the country from which the transaction is been carried out from + |
| paymentReference required | string This is the unique identifier for a transaction, to be generated by merchant. + |
| email required | string This is the email of the customer. + |
| productId required | string This is the product id entered by the merchant. + |
| productDescription required | string This is the product description supplied by the merchant. + |
| callbackUrl required | string |
{- "publicKey": "SBTESTPUBK_9sN3TuLgW6a9redEfY48cKKkUa09Pz2u",
- "amount": "10.00",
- "currency": "NGN",
- "country": "NG",
- "paymentReference": "3791090233047WZ73QN",
- "email": "mamadou.diouf@intouchgroup.net",
- "productId": "15013",
- "productDescription": "touch badge",
}{- "status": "SUCCESS",
- "data": {
- "code": "00",
- "message": "Successful",
- "hash": {
- "hash": "ae18321b005df1b9f16ca8590425e213366da3ab1d8aa2fa30d78dfa6ab9850a"
}
}
}SeerBit Checkout Standard Initialises a transaction from merchants server to generate a payment link which redirects your customers to a page to make payment and after payment has been made the customer is redirected back to the merchants website.
+| publicKey required | string This is the merchant public key. + |
| amount required | string This is the amount to be paid. + |
| currency required | string This is the currency the transaction is to be carried out in. + |
| country required | string This is the country from which the transaction is been carried out from + |
| paymentReference required | string This is the unique identifier for a transaction, to be generated by merchant. + |
| email required | string This is the email of the customer. + |
| fullName required | string This is the full name of the customer. + |
| tokenize required | boolean This indicates whether the card should be tokenized for future transactions. + |
| callbackUrl required | string This is the callback url supplied by the merchant so that Seerbit can redirect back to it . + |
{- "publicKey": "YOUR_PUBLIC_KEY",
- "amount": "10.00",
- "currency": "NGN",
- "country": "NG",
- "paymentReference": "payment_reference",
- "email": "mamadou.diouf@intouchgroup.net",
- "fullName": "Mamadou Diouf",
- "tokenize": false,
}{- "status": "SUCCESS",
- "data": {
- "code": "00",
- "payments": {
- "paymentStatus": "08"
}, - "message": "Successful"
}
}Create an order before payment
+{- "email": "test@mvaa.com",
- "publicKey": "SBTESTPUBK_9sN3TuLgW6a9redEfY48cKKkUa09Pz2u",
- "paymentReference": "2PPTG108Q13432E29P23R5L6W93I9",
- "fullName": "",
- "orderType": "BULK_BULK",
- "mobileNumber": "",
- "country": "NG",
- "currency": "NGN",
- "amount": "250.00",
- "orders": [
- {
- "orderId": "1235567-113227878-64332q",
- "currency": "NGN",
- "amount": "125.00",
- "productId": "0008162",
- "productDescription": "FRSC PLATE NUMBER"
}, - {
- "orderId": "2211567-2230578-754332",
- "currency": "NGN",
- "amount": "125.00",
- "productId": "4030018",
- "productDescription": "WEIGHING AND ADMIN CHARGES"
}
]
}{- "status": "SUCCESS",
- "data": {
- "code": "00",
- "payments": {
- "amount": 250,
- "paymentReference": "2PPTG108QL13432E29P23R5L6W93I9",
- "paymentStatus": "08",
}, - "message": "Successful"
}
}Create an order after payment
+{- "paymentReference": "0w0eimkizc41602513327447",
- "publicKey": "SBTESTPUBK_9sN3TuLgW6a9redEfY48cKKkUa09Pz2u",
- "orders": [
- {
- "amount": "100.00",
- "productId": 1089162,
- "productDescription": "FODD ITEM",
- "currency": "NGN"
}, - {
- "amount": "300.00",
- "productId": 3081869,
- "productDescription": "SKIN CARE",
- "currency": "NGN"
}
]
}{- "status": "SUCCESS",
- "data": {
- "code": "00",
- "message": "Successful",
- "products": [
- {
- "amount": 100,
- "currency": "NGN",
- "productId": 1089162,
- "productDescription": "FODD ITEM",
- "paymentReference": "0w0eimkizc41602513327447",
- "orderId": "wil61c8cd7",
- "createdAt": "2020-10-16T11:41:05.723Z",
- "updatedAt": "2020-10-16T11:41:05.723Z"
}, - {
- "amount": 300,
- "currency": "NGN",
- "productId": 3081869,
- "productDescription": "SKIN CARE",
- "paymentReference": "0w0eimkizc41602513327447",
- "orderId": "wil9b10fbe",
- "createdAt": "2020-10-16T11:41:07.170Z",
- "updatedAt": "2020-10-16T11:41:07.170Z"
}
]
}
}{- "paymentReference": "0w0eimkizc41602513327447",
- "publicKey": "SBTESTPUBK_9sN3TuLgW6a9redEfY48cKKkUa09Pz2u",
- "orders": [
- {
- "amount": "800.00",
- "productId": 1089162,
- "productDescription": "FODD ITEM UPDATE",
- "currency": "NGN",
- "orderId": "wil0f47b62"
}, - {
- "amount": "400.00",
- "productId": 3081869,
- "productDescription": "SKIN CARE UPDATE TEST",
- "currency": "NGN",
- "orderId": "wil1cc231f"
}
]
}{- "status": "SUCCESS",
- "data": {
- "code": "00",
- "message": "Successful",
- "products": [
- {
- "amount": 800,
- "currency": "NGN",
- "productId": 1089162,
- "productDescription": "FODD ITEM UPDATE",
- "paymentReference": "0w0eimkizc41602513327447",
- "orderId": "wil0f47b62"
}, - {
- "amount": 400,
- "currency": "NGN",
- "productId": 3081869,
- "productDescription": "SKIN CARE UPDATE TEST",
- "paymentReference": "0w0eimkizc41602513327447",
- "orderId": "wil1cc231f"
}
]
}
}{- "status": "SUCCESS",
- "data": {
- "code": "00",
- "message": "Successful",
- "products": [
- {
- "amount": 100,
- "currency": "NGN",
- "productId": 1089162,
- "productDescription": "FODD ITEM UPDATE",
- "paymentReference": "0w0eimkizc41602513327447",
- "orderId": "wil0f47b62",
- "createdAt": "2020-10-12T15:38:28.000Z",
- "updatedAt": "2020-10-17T21:56:54.000Z"
}, - {
- "amount": 300,
- "currency": "NGN",
- "productId": 1089162,
- "productDescription": "FODD ITEM UPDATE",
- "paymentReference": "0w0eimkizc41602513327447",
- "orderId": "wil0f47b62",
- "createdAt": "2020-10-12T15:38:29.000Z",
- "updatedAt": "2020-10-17T21:56:54.000Z"
}
]
}
}Get order details with payment reference
+{- "status": "SUCCESS",
- "data": {
- "code": "00",
- "message": "Successful",
- "products": [
- {
- "amount": 100,
- "currency": "NGN",
- "productId": 1089162,
- "productDescription": "FODD ITEM UPDATE",
- "paymentReference": "0w0eimkizc41602513327447",
- "orderId": "wil0f47b62",
- "createdAt": "2020-10-12T15:38:28.000Z",
- "updatedAt": "2020-10-17T21:56:54.000Z"
}, - {
- "amount": 300,
- "currency": "NGN",
- "productId": 1089162,
- "productDescription": "FODD ITEM UPDATE",
- "paymentReference": "0w0eimkizc41602513327447",
- "orderId": "wil0f47b62",
- "createdAt": "2020-10-12T15:38:29.000Z",
- "updatedAt": "2020-10-17T21:56:54.000Z"
}
]
}
}{- "status": "SUCCESS",
- "data": {
- "code": "00",
- "message": "Successful",
- "products": [
- {
- "amount": 100,
- "currency": "NGN",
- "productId": 1089162,
- "productDescription": "FODD ITEM UPDATE",
- "paymentReference": "0w0eimkizc41602513327447",
- "orderId": "wil0f47b62",
- "createdAt": "2020-10-12T15:38:28.000Z",
- "updatedAt": "2020-10-17T21:56:54.000Z"
}, - {
- "amount": 300,
- "currency": "NGN",
- "productId": 1089162,
- "productDescription": "FODD ITEM UPDATE",
- "paymentReference": "0w0eimkizc41602513327447",
- "orderId": "wil0f47b62",
- "createdAt": "2020-10-12T15:38:29.000Z",
- "updatedAt": "2020-10-17T21:56:54.000Z"
}
]
}
}Accept more payments with our unified payments API. Accept payments from all major cards and the most popular local and alternative payment methods all in a single integration.
+{- "fullName": "john doe",
- "email": "johndoe@gmail.com",
- "mobileNumber": 248360953,
- "publicKey": "SBPUBK_QGOX9NBAHWDYY1PAFSG2PTDOSSZYEWXM",
- "paymentReference": "O456S5077907982QWEuWAT05M",
- "deviceType": "nokia 3310",
- "sourceIP": "1.0.1.0",
- "currency": "GHS",
- "productDescription": "snacks",
- "country": "GH",
- "network": "MTN",
- "voucherCode": "",
- "fee": "0.00",
- "amount": "1.00",
- "productId": "grocery",
- "paymentType": "MOMO"
}{- "status": "SUCCESS",
- "data": {
- "code": "20",
- "payments": {
- "paymentReference": "VERS2FURTHERTESTAc722456784",
- "linkingReference": "F282866521599191373372"
}, - "message": "Transaction is pending"
}
}{- "status": "SUCCESS",
- "data": {
- "code": "00",
- "merchantBanks": [
- {
- "bankName": "Guarantee Trust Bank",
- "bankCode": "058",
- "url": null,
- "logo": null,
- "status": "ACTIVE",
- "minimumAmount": 100,
- "requiredFields": {
- "accountName": "YES",
- "accountNumber": "NO",
- "isBankCode": "YES",
- "bvn": "NO",
- "dateOfBirth": "NO",
- "mobileNumber": "NO"
}
}, - {
- "bankName": "United Bank for Africa",
- "bankCode": 27,
- "url": null,
- "logo": null,
- "status": "ACTIVE",
- "minimumAmount": 100,
- "requiredFields": {
- "accountName": "YES",
- "accountNumber": "YES",
- "isBankCode": "YES",
- "bvn": "YES",
- "dateOfBirth": "YES",
- "mobileNumber": "NO"
}
}, - {
- "bankName": "First Bank of Nigeria",
- "bankCode": 9,
- "url": null,
- "logo": null,
- "status": "ACTIVE",
- "minimumAmount": 100,
- "requiredFields": {
- "accountName": "NO",
- "accountNumber": "NO",
- "isBankCode": "YES",
- "bvn": "NO",
- "dateOfBirth": "NO",
- "mobileNumber": "NO"
}
}, - {
- "bankName": "Sterling Bank",
- "bankCode": 232,
- "url": null,
- "logo": null,
- "status": "ACTIVE",
- "minimumAmount": 100,
- "requiredFields": {
- "accountName": "YES",
- "accountNumber": "YES",
- "isBankCode": "YES",
- "bvn": "NO",
- "dateOfBirth": "NO",
- "mobileNumber": "YES"
}
}, - {
- "bankName": "Wema Bank",
- "bankCode": 29,
- "url": null,
- "logo": null,
- "status": "ACTIVE",
- "minimumAmount": 100,
- "requiredFields": {
- "accountName": "YES",
- "accountNumber": "YES",
- "isBankCode": "YES",
- "bvn": "NO",
- "dateOfBirth": "NO",
- "mobileNumber": "YES"
}
}, - {
- "bankName": "Zenith Bank",
- "bankCode": 47,
- "url": null,
- "logo": null,
- "status": "ACTIVE",
- "minimumAmount": 100,
- "requiredFields": {
- "accountName": "YES",
- "accountNumber": "YES",
- "isBankCode": "YES",
- "bvn": "YES",
- "dateOfBirth": "YES",
- "mobileNumber": "NO"
}
}
], - "message": "Successful"
}
}When making MOMO transfers, and OTP is required to complete the payment
+| linkingReference required | string This is the internal gateway reference + |
| otp required | string This is the TOKEN sent to customer’s phone or email + |
{- "linkingReference": "CF630837081601460887752",
- "otp": "81015"
}nullThis payment option is used to charge non 3d transactions
+{- "publicKey": "SBTESTPUBK_dhrpzbRpR34l6VmqkCFOKA94L5E1jSTu",
- "amount": "10.00",
- "fullName": "Diei Okechukwu Peter",
- "mobileNumber": 8030540611,
- "currency": "NGN",
- "country": "NG",
- "paymentReference": "NGN0000037Q35",
- "email": "okechukwu.diei2@gmail.com",
- "productId": "Foods",
- "productDescription": "RASPBERRY",
- "cardNumber": "5123450000000008",
- "expiryMonth": "05",
- "expiryYear": "21"
}{- "status": "SUCCESS",
- "data": {
- "code": "00",
- "payments": {
- "paymentReference": "NGN0100067Q35",
- "linkingReference": "SEERBIT146140441602959589412",
- "status": "CAPTURED"
}, - "card": {
- "bin": "512345",
- "last4": "0008",
- "token": "tk_edcac221-63e5-4baf-8846-4922af4a10e6"
}, - "message": "APPROVED"
}
}This Operation allows you to check the status of a transaction via the status check api. This is done by making a Get request to the endpoint below with your payment reference.
+{- "status": "SUCCESS",
- "data": {
- "code": "S20",
- "payments": {
- "amount": 100,
- "internationalChargedAmount": 155.2,
- "mobilenumber": 8033456599,
- "publicKey": "SBTESTPUBK_PjQ5dFOi522L383MlsQYUMAe6cZYviTF",
- "paymentType": "CARD",
- "productId": "Foods",
- "productDescription": "RASPBERRY",
- "maskedPan": "5123-45xx-xxxx-0008",
- "gatewayMessage": "Transaction is pending",
- "gatewayCode": "S20",
- "gatewayref": "F002672971602775508582",
- "mode": "test",
- "channelType": "Mastercard",
- "sourceIP": "127.0.0.1:3456",
- "deviceType": "Apple Laptop",
- "cardBin": "512345",
- "lastFourDigits": "0008",
- "type": "3DSECURE",
- "country": "NG",
- "currency": "NGN",
- "paymentReference": "SSQ22POtAQMVC85EQWB8",
- "processorCode": "S20",
- "processorMessage": "Transaction is pending",
- "reason": "Transaction is pending"
}, - "customers": {
- "customerId": "SBTfd3024f89b67e2f8a121",
- "customerName": "Kola Victor",
- "customerMobile": 8033456599,
- "customerEmail": "kolawole@gmail.com"
}, - "message": "Transaction is pending"
}
}This option is used to complete an account transaction, when OTP is required
+| linkingReference required | string This is the internal gateway reference + |
| otp required | string This is the TOKEN sent to customer’s phone or email + |
{- "linkingReference": "F092648971601293723061",
- "otp": "123456"
}{- "status": "SUCCESS",
- "data": {
- "code": "00",
- "payments": {
- "paymentReference": "VERS2FURTHERTESTAc722456784",
- "linkingReference": "F282866521599191373372",
- "authoption": [ ]
}, - "message": "Successful"
}
}In order to store your customers payment details, you need to pass some additional parameter when making the first payment request using the payments/tokenize endpoint, the Cvv field and pin are optional(this could be null). After the first payment is made, the payment details is collected and a token is generated for it which is then stored for future use.
+{- "publicKey": "SBPUBK_OMX6ZNRZPLIHQ9Y0ZG6FCNR0EAYIGIAT",
- "amount": "0.00",
- "fullName": "john doe",
- "mobileNumber": 8033456599,
- "currency": "NGN",
- "country": "NG",
- "paymentReference": "KES0092992991",
- "email": "johndoe@gmail.com",
- "productId": "Foods",
- "productDescription": "RASPBERRY",
- "cardNumber": "5123450000000008",
- "cvv": "100",
- "expiryMonth": "05",
- "expiryYear": "21"
}{- "status": "SUCCESS",
- "data": {
- "code": "S20",
- "payments": {
- "paymentReference": "KES0092992991",
- "linkingReference": "SEERBIT428813491603106540088",
- "status": "TOKENIZED",
- "card": {
- "bin": "512345",
- "last4": "0008",
- "token": "tk_fa12ee73-9807-4a8a-bc91-8e81ca3c47ce"
}
}
}
}In SeerBit API, the term “authorisation” indicates, that payment is authorised but not captured. This allows a merchant to cancel transaction at their discretion, typically based but not limited to fraud-related activities. This authorisation state is valid for a limited period of time, which provides a window to cancel the transaction.
+{- "paymentReference": "PREAUTH124456789798765k3K1CB0",
- "publicKey": "SBTESTPUBK_dhrpzbRpR34l6VmqkCFOKA94L5E1jSTu",
- "cardNumber": "5123450000000008",
- "cvv": "100",
- "expiryMonth": "05",
- "expiryYear": "21",
- "currency": "NGN",
- "country": "NG",
- "productDescription": "preauth test capture",
- "amount": "100.00",
- "email": "johndoe@gmail.com",
- "fullName": "john doe"
}{- "status": "SUCCESS",
- "data": {
- "code": "00",
- "payments": {
- "paymentReference": "PREAUTH1244567890987654321CB0",
- "linkingReference": "F938003831601492624719",
- "status": "AUTHORIZED",
- "card": {
- "bin": "512345",
- "last4": "0008",
- "token": "tk_40a0503d-4586-4220-a69e-c69cc9293016"
}
}, - "message": "APPROVED"
}
}PIN and CVV are not Required to complete Transaction. Authorization is completed on 3DS.
+{- "paymentReference": "30451B789S987643108hgfdsfP6W",
- "publicKey": "SBPUBK_OMX6ZNRZPLIHQ9Y0ZG6FCNR0EAYIGIAT",
- "cardNumber": "5242820813772165",
- "cvv": "865",
- "expiryMonth": "02",
- "expiryYear": "22",
- "currency": "NGN",
- "country": "NG",
- "productDescription": "preauth test capture",
- "amount": "1.00",
- "email": "johndoe@gmail.com",
- "fullName": "john doe",
}{- "status": "SUCCESS",
- "data": {
- "code": "00",
- "payments": {
- "paymentReference": "30451A789S987643128hgfdsfP6W",
- "linkingReference": "F535459411601493328771",
- "status": "AUTHORISATION PENDING"
}, - "message": "Transaction is pending"
}
}To complete this transaction, merchant is expected to redirect to the 3DSecure site via the redirect URL provided with the response below. However if the redirect url is not returned and the code is S20 and the message is transaction is pending, the Validate OTP endpoint should be called as the customer would have received a token either by email or sms on the customers phone. To get the subscription created or the status of a subscription for the customer, the GET Subscription endpoint is called by passing the paymentReference as billingId.
+{- "publicKey": "SBTESTPUBK_9sN3TuLgW6a9redEfY48cKKkUa09Pz2u",
- "paymentReference": "TPR2181t55PKR540RPP1U1W4392WO",
- "planId": "",
- "cardNumber": "5123450000000008",
- "expiryMonth": "05",
- "expiryYear": "21",
- "cvv": "100",
- "amount": "1000.00",
- "currency": "NGN",
- "productDescription": "Pilot Test Subscription",
- "productId": "Terrain",
- "country": "NG",
- "startDate": "2020-02-25 00:00:00",
- "cardName": "Kolade Samuel",
- "billingCycle": "WEEKLY",
- "email": "akintoyekolawole@gmail.com",
- "mobileNumber": "08033456500",
- "customerId": "12345678901234",
- "pin": "0999",
- "type": "3DSECURE",
- "billingPeriod": "1",
- "subscriptionAmount": true
}{- "status": "SUCCESS",
- "data": {
- "code": "S20",
- "payments": {
- "paymentReference": "TPR2181t55PER540RPP1U1W4392WO",
- "linkingReference": "F365652421603189345033",
}, - "message": "Transaction is pending"
}
}{- "status": "SUCCESS",
- "data": {
- "subscriptions": {
- "publicKey": "SBTESTPUBK_9sN3TuLgW6a9redEfY48cKKkUa09Pz2u",
- "amount": 100,
- "country": "NG",
- "customerId": "SBT4d26d47dcb33f9430507",
- "cardName": "Kolade Samuel",
- "cardNumber": "5123-45xx-xxxx-0008",
- "plan": "c6d4096c8244b5e0dbda",
- "status": "INACTIVE",
- "billingId": "TPR2181t55PER542RPP1U1W4391WO",
- "authorizationCode": "5f818a9f1191c423446b",
- "startDate": "2020-02-25T00:00:00.000Z",
- "createdAt": 1601385265000
}, - "code": "00",
- "message": "Successful"
}
}Create a new recurring payment plan.
+| Content-Type required | string Default: application/json |
| productId required | string The name of the plan. + |
| productDescription required | string The description of the plan. + |
| amount required | string The amount for the plan. + |
| billingCycle required | string The billing cycle (e.g., HOURLY). + |
| limit required | integer The maximum number of cycles. + |
| publicKey required | string The merchant public key. + |
| country required | string The country code. + |
| currency required | string The currency code. + |
| allowPartialDebit required | boolean Whether partial debit is allowed. + |
{- "productId": "Plan name",
- "productDescription": "Description of Plan",
- "amount": "100",
- "billingCycle": "HOURLY",
- "limit": 5,
- "publicKey": "SBPUBK_xxxxx",
- "country": "NG",
- "currency": "NGN",
- "allowPartialDebit": false
}{- "payload": {
- "country": "NG",
- "createdAt": 1715607343498,
- "amount": 100,
- "productId": "Plan name",
- "billingCycle": "HOURLY",
- "currency": "NGN",
- "details": {
- "country": "NG",
- "amount": 100,
- "productId": "Plan name",
- "allowPartialDebit": false,
- "publicKey": "SBPUBK_xxxxx",
- "createdAt": 1715607343498,
- "trialDuration": 0,
- "trialPeriod": false,
- "billingCycle": "HOURLY",
- "limit": 5,
- "planId": "db1ea861993689a57dac",
- "currency": "NGN",
- "id": 20031,
- "productDescription": "Description of Plan",
- "updatedAt": null,
- "status": "ACTIVE"
}, - "publicKey": "SBPUBK_xxxxx",
- "plan": "db1ea861993689a57dac",
- "productDescription": "Description of Plan"
}, - "message": "Successful",
- "status": "SUCCESS",
- "responseCode": "00"
}Retrieve all subscriptions for a merchant by their public key.
+| publicKey required | string The merchant public key. + |
{- "status": "SUCCESS",
- "data": {
- "subscriptions": [
- {
- "publicKey": "SBTEST**************************viTF",
- "amount": "20",
- "country": "NG",
- "customerId": "651d33a62ad69c9f37c4",
- "cardName": "Jane Smith",
- "cardNumber": "2223-00xx-xxxx-0007",
- "plan": "ae702f51220000722dca",
- "status": "ACTIVE",
- "billingId": "WQ6676yPOpr12348o",
- "authorizationCode": "2beb0ccdd347e604552a",
- "startDate": "2019-01-11 00:00:00",
- "createdAt": 1578648329000
}, - {
- "publicKey": "SBTEST**************************viTF",
- "amount": "100",
- "country": "NG",
- "customerId": "ba981a0b7ed1c68ad245",
- "cardName": "Jane Smith",
- "cardNumber": "5123-45xx-xxxx-0008",
- "plan": "ead5e697f42c1cd60813",
- "status": "ACTIVE",
- "billingId": "PUBK_PjQ5d1578649732262",
- "authorizationCode": "145a3bb3418824c14d65",
- "startDate": "2020-10-01 10:47:49",
- "createdAt": 1578649752000
}
], - "code": "00",
- "message": "successful"
}
}Charge a recurring subscription using an authorization code.
+| Content-Type required | string Default: application/json |
| amount required | string |
| publicKey required | string |
| email required | string |
| allowPartialDebit required | boolean |
| authorizationCode required | string |
| paymentReference required | string |
| currency required | string |
{- "amount": "200",
- "publicKey": "YOUR_PUBLIC_KEY",
- "email": "js@emaildomain.com",
- "allowPartialDebit": true,
- "authorizationCode": "1234567898765325",
- "paymentReference": "2938765582R37065687631",
- "currency": "NGN"
}{- "status": "SUCCESS",
- "data": {
- "code": "00",
- "payments": {
- "code": "00",
- "message": "Successful",
- "paymentReference": "2938765582R37065687631",
- "publicKey": "SBTEST**************************viTF",
- "amount": "200",
- "currency": "NGN",
- "country": "NG",
- "email": "js@emaildomain.com",
- "productDescription": "Authorised charge"
}, - "message": "Successful"
}
}Retrieve all subscriptions for a customer by their customerId and merchant public key.
+| publicKey required | string The merchant public key. + |
| customerId required | string The customer ID. + |
{- "status": "SUCCESS",
- "data": {
- "subscriptions": [
- {
- "publicKey": "SBTEST**************************viTF",
- "amount": "100",
- "country": "NG",
- "customerId": "ba981a0b7ed1c68ad245",
- "cardName": "Jane Smith",
- "cardNumber": "5123-45xx-xxxx-0008",
- "plan": "ead5e697f42c1cd60813",
- "status": "ACTIVE",
- "billingId": "PUBK_PjQ5d1578649732262",
- "authorizationCode": "145a3bb3418824c14d65",
- "startDate": "2020-10-01 10:47:49",
- "createdAt": 1578649752000
}, - {
- "publicKey": "SBTEST**************************viTF",
- "amount": "20000",
- "country": "NG",
- "customerId": "ba981a0b7ed1c68ad245",
- "cardName": "John Smith",
- "cardNumber": "5123-45xx-xxxx-0008",
- "plan": "80b0854b35a0e279efc3",
- "status": "INACTIVE",
- "billingId": "PUBK_PjQ5d1578650322483",
- "authorizationCode": "ddfce36aa4f3abc7cf72",
- "startDate": "2020-10-01 10:58:25",
- "createdAt": 1578650353000
}
], - "code": "00"
}
}Update a customer's subscription details.
+| Content-Type required | string Default: application/json |
| amount required | string |
| currency required | string |
| country required | string |
| mobileNumber required | string |
| billingId required | string |
| publicKey required | string |
| status required | string |
{- "amount": "20000",
- "currency": "NGN",
- "country": "NG",
- "mobileNumber": "08033456500",
- "billingId": "PUBK_PjQ5d1578650322483",
- "publicKey": "YOUR_PUBLIC_KEY",
- "status": "INACTIVE"
}{- "status": "SUCCESS",
- "data": {
- "subscriptions": {
- "publicKey": "SBTEST**************************viTF",
- "amount": "20000",
- "country": "NG",
- "customerId": "ba981a0b7ed1c68ad245",
- "cardName": "Jane Smith",
- "cardNumber": "5123-45xx-xxxx-0008",
- "plan": "80b0854b35a0e279efc3",
- "status": "INACTIVE",
- "billingId": "PUBK_PjQ5d1578650322483",
- "authorizationCode": "ddfce36aa4f3abc7cf72",
- "startDate": "2020-10-01 10:58:25",
- "createdAt": 1578650353000
}, - "code": "00",
- "message": "Successful"
}
}This endpoint is used to create an invoice for a customer.
+| publicKey required | string This is the merchant public key. + |
| orderNo | string This is the order number. + |
| dueDate | string This is the date the invoice is due. + |
| currency required | string This is the currency the transaction is to be carried out in. + |
| recieversName | string This is the name of the customer. + |
| customerEmail required | string This is the email of the customer. + |
Array of objects This is the list of items in the invoice. + |
{- "publicKey": "SBTESTPUBK_9sN3TuLgW6a9redEfY48cKKkUa09Pz2u",
- "orderNo": 3333332213212,
- "dueDate": "2023-10-31",
- "currency": "NGN",
- "recieversName": "Muyiwa Akintade",
- "customerEmail": "janesmith@emaildomain.com",
- "invoiceItems": [
- {
- "itemName": "Bluetooth Pods",
- "quantity": 1,
- "rate": 2500,
- "tax": 7.5
}, - {
- "itemName": "Quest 10",
- "quantity": 4,
- "rate": 1500,
- "tax": 7.5
}
]
}{- "message": "Invoice created successfully",
- "payload": {
- "InvoiceID": 2039,
- "InvoiceNo": "SBT-INV-002039"
}, - "code": "00"
}This endpoint is used to resend an invoice to a customer.
+| publicKey required | string This is the merchant public key. + |
| invoiceNo required | string This is the invoice number. + |
{- "message": "Invoice has been sent successfully",
- "code": "00"
}Retrieve all invoices for a customer by their email address.
+| publicKey required | string The merchant public key. + |
| customerEmail required | string The customer's email address. + |
{- "payload": [
- {
- "invoiceId": 2037,
- "invoiceNo": "SBT-INV-002037",
- "totalAmount": 9137.5,
- "subTotal": 8500,
- "publicKey": "SBPUBK_V1YL57ICZQSNCADEWE5XEVTNB72TLWZA",
- "testKey": "SBTESTPUBK_wLVXnn6YuGaTlOpUESrR7TzFwaDb2auC",
- "supportEmail": "skylah@mailinator.com",
- "receiversName": "Muyiwa Akintade",
- "customerEmail": "janesmith@emaildomain.com",
- "businessName": "Skylah Integrated Services Limited",
- "tax": 637.5,
- "dueDate": "2025-07-01",
- "currency": "NGN",
- "invoiceItems": [
- {
- "itemName": "Bluetooth Pods",
- "unitPrice": 2500,
- "vat": 187.5,
- "amount": 2500,
- "quantity": 1
}, - {
- "itemName": "Quest 10",
- "unitPrice": 6000,
- "vat": 450,
- "amount": 6000,
- "quantity": 4
}
], - "customer": {
- "externalIdentify": "2784824",
- "businessName": "Muyiwa Akintade",
- "customerEmail": "janesmith@emaildomain.com",
- "businessId": "00019601",
- "id": 1219
}, - "billingCycle": false,
- "payButtonOnInvoices": false,
- "enableAdvancedOptions": false,
- "partialPayment": false,
- "status": "PENDING",
- "createdAt": "2025-06-30T14:48:39.635034",
- "mode": "LIVE"
}, - {
- "invoiceId": 2039,
- "invoiceNo": "SBT-INV-002039",
- "totalAmount": 9137.5,
- "subTotal": 8500,
- "publicKey": "SBPUBK_V1YL57ICZQSNCADEWE5XEVTNB72TLWZA",
- "testKey": "SBTESTPUBK_wLVXnn6YuGaTlOpUESrR7TzFwaDb2auC",
- "supportEmail": "skylah@mailinator.com",
- "receiversName": "Muyiwa Akintade",
- "customerEmail": "janesmith@emaildomain.com",
- "businessName": "Skylah Integrated Services Limited",
- "tax": 637.5,
- "dueDate": "2025-07-09",
- "currency": "NGN",
- "invoiceItems": [
- {
- "itemName": "Bluetooth Pods",
- "unitPrice": 2500,
- "vat": 187.5,
- "amount": 2500,
- "quantity": 1
}, - {
- "itemName": "Quest 10",
- "unitPrice": 6000,
- "vat": 450,
- "amount": 6000,
- "quantity": 4
}
], - "customer": {
- "externalIdentify": "2784824",
- "businessName": "Muyiwa Akintade",
- "customerEmail": "janesmith@emaildomain.com",
- "businessId": "00019601",
- "id": 1219
}, - "billingCycle": false,
- "payButtonOnInvoices": false,
- "enableAdvancedOptions": false,
- "partialPayment": false,
- "status": "PENDING",
- "createdAt": "2025-07-07T12:30:51.227383",
- "mode": "LIVE"
}
], - "code": "00"
}Retrieve an invoice by its invoice number.
+| publicKey required | string The merchant public key. + |
| invoiceNo required | string The invoice number. + |
{- "payload": [
- {
- "invoiceId": 2037,
- "invoiceNo": "SBT-INV-002037",
- "totalAmount": 9137.5,
- "subTotal": 8500,
- "publicKey": "SBPUBK_V1YL57ICZQSNCADEWE5XEVTNB72TLWZA",
- "testKey": "SBTESTPUBK_wLVXnn6YuGaTlOpUESrR7TzFwaDb2auC",
- "supportEmail": "skylah@mailinator.com",
- "receiversName": "Muyiwa Akintade",
- "customerEmail": "janesmith@emaildomain.com",
- "businessName": "Skylah Integrated Services Limited",
- "tax": 637.5,
- "dueDate": "2025-07-01",
- "currency": "NGN",
- "invoiceItems": [
- {
- "itemName": "Bluetooth Pods",
- "unitPrice": 2500,
- "vat": 187.5,
- "amount": 2500,
- "quantity": 1
}, - {
- "itemName": "Quest 10",
- "unitPrice": 6000,
- "vat": 450,
- "amount": 6000,
- "quantity": 4
}
], - "customer": {
- "externalIdentify": "2784824",
- "businessName": "Muyiwa Akintade",
- "customerEmail": "janesmith@emaildomain.com",
- "businessId": "00019601",
- "id": 1219
}, - "billingCycle": false,
- "payButtonOnInvoices": false,
- "enableAdvancedOptions": false,
- "partialPayment": false,
- "status": "PENDING",
- "createdAt": "2025-06-30T14:48:39.635034",
- "mode": "LIVE"
}
], - "code": "00"
}Retrieve an invoice by its order number.
+| publicKey required | string The merchant public key. + |
| orderNo required | string The order number. + |
{- "payload": [
- {
- "invoiceId": 2037,
- "invoiceNo": "SBT-INV-002037",
- "totalAmount": 9137.5,
- "subTotal": 8500,
- "publicKey": "SBPUBK_V1YL57ICZQSNCADEWE5XEVTNB72TLWZA",
- "testKey": "SBTESTPUBK_wLVXnn6YuGaTlOpUESrR7TzFwaDb2auC",
- "supportEmail": "skylah@mailinator.com",
- "receiversName": "Muyiwa Akintade",
- "customerEmail": "janesmith@emaildomain.com",
- "businessName": "Skylah Integrated Services Limited",
- "tax": 637.5,
- "dueDate": "2025-07-01",
- "currency": "NGN",
- "invoiceItems": [
- {
- "itemName": "Bluetooth Pods",
- "unitPrice": 2500,
- "vat": 187.5,
- "amount": 2500,
- "quantity": 1
}, - {
- "itemName": "Quest 10",
- "unitPrice": 6000,
- "vat": 450,
- "amount": 6000,
- "quantity": 4
}
], - "customer": {
- "externalIdentify": "2784824",
- "businessName": "Muyiwa Akintade",
- "customerEmail": "janesmith@emaildomain.com",
- "businessId": "00019601",
- "id": 1219
}, - "billingCycle": false,
- "payButtonOnInvoices": false,
- "enableAdvancedOptions": false,
- "partialPayment": false,
- "status": "PENDING",
- "createdAt": "2025-06-30T14:48:39.635034",
- "mode": "LIVE"
}
], - "code": "00"
}This endpoint is used to authenticate a pocket using the provided key.
+| email required | string <email> |
| password required | string |
{- "email": "your pocket email",
- "password": "your password"
}{- "responseCode": "00",
- "message": "Success",
- "data": {
- "bearerToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.randomtoken",
- "expiryTime": "2025-07-07T20:12:28",
- "requirePasswordChange": true
}
}Create a sub-pocket under a parent pocket.
+| PocketID required | string The parent pocket ID. + |
| public-key required | string The merchant public key. + |
| Content-Type required | string Default: application/json |
| tagGroup | string |
| reference required | string |
| pocketFunction required | string Enum: "BOTH" "CREDIT" "DEBIT" |
| currency required | string |
| tagName | string |
| selfOwned required | boolean |
required | object |
[- {
- "tagGroup": "",
- "reference": "Create_subpo77899ck987et45",
- "pocketFunction": "BOTH",
- "currency": "NGN",
- "tagName": "",
- "selfOwned": false,
- "pocketOwner": {
- "existingPocketOwner": "false",
- "pocketOwnerDetails": {
- "firstName": "Bola",
- "lastName": "Are",
- "emailAddress": "youremail.com",
- "phoneNumber": "08824485749",
- "businessName": "samsn and sons"
}
}
}
]{- "responseCode": "00",
- "message": "Success",
- "data": [
- {
- "pocketId": "SBP0018103",
- "parentId": 3771,
- "bankAccountNumber": "7750209735",
- "bankAccountName": "samsn and sons",
- "bankCode": "WEMA",
- "bankName": "Wema Bank",
- "canRetailPockets": false,
- "subPocketUserResponse": {
- "userName": "youremail.com",
- "password": "$2a$12$VCyQhEK0ULRoxuZXXEEzJ.N56.fE5tiY6u2fxm7KWzEAUnVVDMn5K"
}
}
]
}Retrieve details of a pocket by its ID.
+| PocketID required | string The pocket ID. + |
| public-key required | string The merchant public key. + |
{- "responseCode": "00",
- "message": "Success",
- "data": {
- "pocketId": "SBP0016348",
- "accountNumber": "0010028394",
- "status": "ACTIVE",
- "pocketFunction": "BOTH",
- "availableBalanceAmount": "2873651.75",
- "availableBalanceCurrency": "NGN",
- "ledgerBalanceAmount": "2873651.75",
- "ledgerBalanceCurrency": "NGN",
- "parentId": null,
- "fundingLink": "?ps=JJUGwRt5&po=SBP0016348",
- "accountVerifierScheme": "BVN",
- "accountVerifierNumber": "00000000000",
- "reference": "primary-zbscq5nj",
- "tier": "UNLIMITED",
- "subPockets": null,
- "pocketOwner": {
- "pocketOwnerId": "JJUGwRt5",
- "businessName": "Kings Cafe",
- "firstName": "Kings Cafe",
- "lastName": "Kings Cafe",
- "emailAddress": "tonyadeyeye1@gmail.com",
- "phoneNumber": "08033453733",
- "ownerVerifierScheme": "NIN",
- "ownerVerifierNumber": "00000000000"
}, - "pocketAccounts": [
- {
- "accountId": "ag61lht8d5i0",
- "accountNumber": "4013383325",
- "bankCode": "9PSB",
- "bankName": "9 Payment Service Bank ",
- "reference": "9gyw1pcbfvo74l3ns"
}
], - "pocketFundings": null,
- "pocketLimits": [ ],
- "pocketMomos": [ ]
}
}Retrieve the balance of a pocket by its ID.
+| PocketID required | string The pocket ID. + |
| public-key required | string The merchant public key. + |
{- "responseCode": "00",
- "message": "Success",
- "data": {
- "balanceAt": "2025-07-07T15:44:00",
- "availableBalanceCurrency": "NGN",
- "availableBalanceAmount": "2873651.75",
- "lastTransactionAt": "2025-07-07T08:49:23"
}
}Retrieve the sum of balances for a merchant's pockets.
+| PocketID required | string The pocket ID. + |
| public-key required | string The merchant public key. + |
{- "responseCode": "00",
- "message": "Success",
- "data": {
- "merchantSubPocketsBalanceSummation": "",
- "merchantSubPocketsBalanceSummationCurrency": "NGN",
- "merchantAllPocketsBalanceSummation": "631.75",
- "merchantAllPocketsBalanceSummationCurrency": "NGN"
}
}Retrieve details of a pocket transaction by its reference.
+| reference required | string The transaction reference. + |
| public-key required | string The merchant public key. + |
{- "responseCode": "00",
- "message": "Success",
- "data": {
- "reference": "Charge-000015250618102028000001302219-pr6ndt",
- "pocketId": "SBP0016348",
- "transactionLeg": "DEBIT",
- "transactionAmount": "0.00",
- "transactionCurrency": "NGN",
- "narration": "Reason:Fee:Debited:SBP0016348:Amount:NGN0.00",
- "description": "Fee - Funding by account - Primary pockets",
- "createdAt": "2025-06-18T09:21:07",
- "createdBy": "pockets@seerbit.com",
- "transactionId": "n1a0sl6q29d5",
- "transactionType": "FEE",
- "batchId": null,
- "status": "00",
- "message": "Success",
- "receiverName": "Office",
- "receiverAccountNumber": "0010010001",
- "receiverBankCode": "SEERBIT",
- "receiverBankName": null,
- "sender": "Kings Cafe"
}
}Search for pocket transactions with pagination.
+| pocketId required | string The pocket ID. + |
| page required | integer Default: 0 Page number (zero-based). + |
| size required | integer Default: 10 Number of records per page. + |
| public-key required | string The merchant public key. + |
| Content-Type required | string Default: application/json |
{- "responseCode": "00",
- "message": "Success",
- "data": {
- "content": [
- {
- "createdAt": "2025-07-07T15:58:10",
- "reference": "Charge-F00016450103-x7heaw",
- "pocketId": "SBP0016348",
- "transactionLeg": "DEBIT",
- "transactionCurrency": "NGN",
- "availableBalanceCurrency": "NGN",
- "ledgerBalanceCurrency": "NGN",
- "narration": "Reason:Fee:Debited:SBP0016348:Amount:NGN20.00",
- "transactionId": "hvizyx70bdge",
- "description": "Fee - Pocket to gl transfer - Primary pockets",
- "tagGroup": "GENERIC",
- "tagName": "ALL-PURPOSE",
- "pocketTier": "UNLIMITED",
- "receiverName": "Office",
- "receiverAccountNumber": "0010010001",
- "receiverBankCode": "SEERBIT",
- "transactionType": "FEE",
- "publicKey": "JJUGwRt5",
- "status": "00",
- "message": "Success",
- "batchId": null,
- "transactionSource": "Fee: Pocket-to-Bank",
- "transactionOrigin": null,
- "linkingReference": null,
- "transactionAmount": "20.00",
- "availableBalanceAmount": "2873631.75",
- "ledgerBalanceAmount": "2873631.75",
- "accountNumber": "4013383325"
}, - {
- "createdAt": "2025-07-07T08:49:18",
- "reference": "000015250707094843000001100434-C",
- "pocketId": "SBP0016348",
- "transactionLeg": "CREDIT",
- "transactionCurrency": "NGN",
- "availableBalanceCurrency": "NGN",
- "ledgerBalanceCurrency": "NGN",
- "narration": "Reason:Funding:Debited:SBP0000001:Amount:NGN157213.94",
- "transactionId": "1pg25outak4x",
- "description": "63C2O6XI8K7PMEV KINGS CAFE LTD",
- "tagGroup": "GENERIC",
- "tagName": "ALL-PURPOSE",
- "pocketTier": "UNLIMITED",
- "receiverName": "Kings Cafe",
- "receiverAccountNumber": "0010028394",
- "receiverBankCode": "SEERBIT",
- "transactionType": "FUNDING",
- "publicKey": "Office",
- "status": "00",
- "message": "Success",
- "batchId": null,
- "transactionSource": "Bank-To-Pocket",
- "transactionOrigin": null,
- "linkingReference": "9PSB241126145618012260602",
- "transactionAmount": "157213.94",
- "availableBalanceAmount": "1338300.85",
- "ledgerBalanceAmount": "1338300.85",
- "accountNumber": "4013383325"
}
], - "pageable": {
- "sort": {
- "empty": false,
- "sorted": true,
- "unsorted": false
}, - "offset": 0,
- "pageSize": 10,
- "pageNumber": 0,
- "unpaged": false,
- "paged": true
}, - "totalElements": 590,
- "totalPages": 59,
- "last": false,
- "size": 10,
- "number": 0,
- "sort": {
- "empty": false,
- "sorted": true,
- "unsorted": false
}, - "numberOfElements": 10,
- "first": true,
- "empty": false
}
}Transfer funds from one pocket to another.
+| fromPocketID required | string The source pocket ID. + |
| toPocketID required | string The destination pocket ID. + |
| public-key required | string The merchant public key. + |
| Content-Type required | string Default: application/json |
| amount required | number The amount to transfer. + |
| currency required | string The currency of the transfer. + |
| reference required | string The unique reference for the transfer. + |
| description required | string A description for the transfer. + |
{- "amount": 100,
- "currency": "NGN",
- "reference": "00112827",
- "description": "Transfer from one pocket to another"
}{- "responseCode": "00",
- "message": "Successful",
- "data": { }
}Generate an OTP for a pocket action. The OTP provided in the otp field should be passed as the passKey in the generatesignature and payout request.
+| public-key required | string The merchant public key. + |
| Content-Type required | string Default: application/json |
| actionItem required | string The action for which the OTP is generated. + |
| pocketId required | string The pocket ID. + |
{- "actionItem": "APPROVE_DISBURSEMENT",
- "pocketId": "your_pocket_id_here"
}{- "responseCode": "00",
- "message": "Success",
- "data": {
- "otp": "028087",
- "category": "APPROVE_DISBURSEMENT",
- "expires": "2025-02-25T19:20:12.649104071"
}
}Generate a signature for a payout action. Instead of manually creating a signature, use the Get Signature endpoint.
+| Content-Type required | string Default: application/json |
| reference required | string The transaction reference. + |
| amount required | string The amount for the payout. + |
| currency required | string The currency for the payout. + |
| description required | string The payout description. + |
| accountNumber required | string The account number to credit. + |
| bankCode required | string The bank code of the destination bank. + |
| actionType required | string The action type (e.g., APPROVE_DISBURSEMENT). + |
| passKey required | string The OTP or passKey for the payout. + |
{- "reference": "REF123456",
- "amount": "10",
- "currency": "NGN",
- "description": "test",
- "accountNumber": "1234567890",
- "bankCode": "000013",
- "actionType": "APPROVE_DISBURSEMENT",
- "passKey": "028087"
}{- "responseCode": "00",
- "message": "Success",
- "data": "{signature}"
}Use the Initiate Payout endpoint, passing the generated signature in the request body.
+| pocketId required | string The pocket ID. + |
| public-key required | string The merchant public key. + |
| Content-Type required | string Default: application/json |
| reference required | string The transaction reference. + |
| amount required | string The amount for the payout. + |
| currency required | string The currency for the payout. + |
| description required | string The payout description. + |
| accountNumber required | string The account number to credit. + |
| bankCode required | string The bank code of the destination bank. + |
| passKey required | string The OTP or passKey for the payout. + |
| actionType required | string The action type (e.g., APPROVE_DISBURSEMENT). + |
| signature required | string The generated signature for the payout. + |
{- "reference": "JIN-12345678901101",
- "amount": "10",
- "currency": "NGN",
- "description": "test",
- "accountNumber": "1234567890",
- "bankCode": "000013",
- "passKey": "028087",
- "actionType": "APPROVE_DISBURSEMENT",
- "signature": "signature-value"
}{- "responseCode": "00",
- "message": "Successful",
- "data": {
- "reference": "JIN-12345678901101",
- "linkingreference": "F00230472990"
}
}The Virtual Account API allows you to create reserve accounts for your customers to make payments.
+| Content-Type required | string Default: application/json |
| publicKey required | string The merchant public key. + |
| fullName required | string The full name of the account holder. + |
| bankVerificationNumber required | string The BVN of the account holder. + |
| currency required | string The currency for the account. + |
| country required | string The country code. + |
| reference required | string The unique reference for the account. + |
| email required | string The email address of the account holder. + |
{- "publicKey": "YOUR_PUBLIC_KEY",
- "fullName": "Jane Smith",
- "bankVerificationNumber": "",
- "currency": "NGN",
- "country": "NG",
- "reference": "FIRST_VIRTUAl_17",
- "email": "js@emaildomain.com"
}{- "status": "SUCCESS",
- "data": {
- "code": "S20",
- "payments": {
- "reference": "FIRST_VIRTUAl_7",
- "walletName": "SEERBIT(Business Name)",
- "bankName": "9PAYMENT SERVICE BANK",
- "accountNumber": "Account Number"
}, - "message": "Account created "
}
}Retrieve details of a virtual account by its payment reference.
+| paymentReference required | string The virtual account payment reference. + |
{- "status": "SUCCESS",
- "data": {
- "code": "00",
- "payments": {
- "reference": "VA_1",
- "linkingReference": "9PSB641860391656618499020",
- "walletName": "SEERBIT(Business Name)",
- "wallet": "Account Number",
- "bankName": "_9PAYMENT_SERVICE_BANK",
- "accountNumber": "Account Number"
}, - "message": ""
}
}Delete a virtual account by its reference.
+| reference required | string The virtual account reference. + |
{- "status": "SUCCESS",
- "data": {
- "code": "00",
- "message": "Virtual account has been deleted"
}
}Retrieve payment details for a virtual account using the public key and account number.
+| publicKey required | string The merchant public key. + |
| accountNumber required | string The customer's account number. + |
{- "status": "SUCCESS",
- "data": {
- "code": "00",
- "payload": [
- {
- "id": 14705414,
- "fullName": "Customer Name",
- "publicKey": "YOUR_PUBLIC_KEY",
- "processor": "_9PAYMENT_SERVICE_BANK",
- "paymentType": "TRANSFER",
- "amount": 100,
- "email": "customeremail@gmail.com",
- "gateway": "_9PAYMENT_SERVICE_BANK",
- "gatewayMessage": "Successful",
- "gatewayCode": "00",
- "transactionRef": "GT-01",
- "gatewayRef": "100004230627104826104793084015",
- "businessName": "Business Name",
- "mode": "LIVE",
- "channelType": "transfer",
- "country": "NG",
- "currency": "NGN",
- "internalreference": "_SBT_N7N7EU523C",
- "accountNumber": "customer account number",
- "creditAccountName": "Seerbit(Tola Sambo)",
- "transferType": "RESERVE_ACCOUNT",
- "paymentReference": "GT-01_SBT_N7N7EU523C",
- "creditAccountNumber": "4015310501",
- "settlementCode": "00",
- "settlementMessage": "Push Successful",
- "settlementTime": "2023-06-27 11:49:37",
- "status": "PUSHED",
- "mobileNumber": "404",
- "transferedAmount": 100,
- "isCardInternational": "LOCAL",
- "reason": "Successful",
- "retry": false,
- "createdAt": "2023-06-27T10:49:28.000+0000",
- "updatedAt": "2023-06-27T10:49:28.000+0000",
- "processorCode": "00",
- "processorMessage": "Successful"
}
], - "message": "successful"
}
}Create a new payment link for collecting payments.
+| Content-Type required | string Default: application/json |
| status required | string |
| paymentLinkName required | string |
| description required | string |
| currency required | string |
| successMessage required | string |
| publicKey required | string |
| customizationName required | string |
| paymentFrequency required | string |
| paymentReference | string |
| email required | string |
required | object |
| additionalData | string |
| linkExpirable required | boolean |
| expiryDate | string |
| oneTime required | boolean |
{- "status": "ACTIVE",
- "paymentLinkName": "Donations",
- "description": "Give out donations",
- "currency": "NGN",
- "successMessage": "Thank you for your payment",
- "publicKey": "YOUR_PUBLIC_KEY",
- "customizationName": "testing1",
- "paymentFrequency": "ONE_TIME",
- "paymentReference": "",
- "email": "js@emaildomain.com",
- "requiredFields": {
- "address": true,
- "amount": true,
- "customerName": true,
- "mobileNumber": true,
- "invoiceNumber": false
}, - "additionalData": "Customer Email: js@mailinator.com",
- "linkExpirable": false,
- "expiryDate": "",
- "oneTime": false
}{- "data": {
- "paymentLinks": {
- "publicKey": "SBPUBK_******************PHI",
- "status": "ACTIVE",
- "additionalData": "custom1:null||custom2:null||custom3:null",
- "paymentLinkName": "Donationas",
- "description": "Donation",
- "successMessage": "Payment made successfully!",
- "paymentLinkId": "000000000",
- "currency": "NGN",
- "paymentReference": "",
- "paymentFrequency": "RECURRENT",
- "customizationName": "utbesti22",
- "environment": "LIVE",
- "requiredFields": {
- "address": true,
- "amount": true,
- "customerName": true,
- "mobileNumber": true,
- "invoiceNumber": false
}, - "expiryDuration": 0,
- "linkExpirable": false,
- "createdAt": "2021-09-21T10:49:17.728",
- "updatedAt": "2021-09-21T10:49:17.728",
- "oneTime": false,
- "splitPayment": false
}
}
}Update an existing payment link.
+| Content-Type required | string Default: application/json |
| paymentLinkId required | string |
| status required | string |
| description required | string |
| successMessage required | string |
| businessName required | string |
| publicKey required | string |
| customizationName required | string |
| paymentFrequency required | string |
| email required | string |
required | object |
| linkExpirable required | boolean |
| expiryDate | string |
| oneTime required | boolean |
{- "paymentLinkId": "0000000",
- "status": "INACTIVE",
- "description": "Test paymentLink",
- "successMessage": "Payment made successfully!",
- "businessName": "My Business",
- "publicKey": "publickKey",
- "customizationName": "my_link_3",
- "paymentFrequency": "RECURRENT",
- "email": "customer@seerbit.com",
- "requiredFields": {
- "address": true,
- "amount": true,
- "customerName": true,
- "mobileNumber": true,
- "invoiceNumber": false
}, - "linkExpirable": false,
- "expiryDate": "",
- "oneTime": false
}{- "data": {
- "paymentLinks": {
- "publicKey": "PublicKey",
- "status": "INACTIVE",
- "description": "Test paymentLink",
- "successMessage": "Payment made successfully!",
- "paymentLinkId": "0000000",
- "paymentFrequency": "RECURRENT",
- "paymentLinkUrl": "null/my_link_3",
- "customizationName": "my_link_3",
- "environment": "LIVE",
- "requiredFields": {
- "address": true,
- "amount": true,
- "customerName": true,
- "mobileNumber": true,
- "invoiceNumber": false
}, - "expiryDuration": 0,
- "linkExpirable": false,
- "updatedAt": "2021-09-21T11:12:57.404",
- "oneTime": false,
- "splitPayment": false
}
}
}Retrieve all payment links for a merchant by their public key.
+| publicKey required | string The merchant public key. + |
{- "currentPage": 0,
- "responseCode": "00",
- "payload": [
- {
- "businessId": "00000051",
- "publicKey": "publickey",
- "status": "ACTIVE",
- "amount": 10000,
- "customisationName": "SeerBitPay",
- "additionalData": "",
- "paymentLinkName": "SeerBit Payment Link",
- "description": "Buy Items",
- "paymentLinkId": "00000000",
- "paymentFrequency": "ONE_TIME",
- "pocketReference": "",
- "environment": "LIVE",
- "requiredFields": {
- "address": true,
- "amount": false,
- "customerName": true,
- "mobileNumber": false,
- "invoiceNumber": false
}, - "expiryDuration": 0,
- "linkExpirable": false,
- "customTime": "",
- "createdAt": "2021-07-17T12:05:55",
- "updatedAt": "2021-07-17T12:05:55",
- "oneTime": false,
- "splitPayment": false
}
], - "responseMessage": "successful"
}Create a card token for future payments.
+| Content-Type required | string Default: application/json |
| publicKey required | string |
| amount required | string |
| fullName required | string |
| mobileNumber required | string |
| redirectUrl required | string |
| currency required | string |
| country required | string |
| paymentReference required | string |
| email required | string |
| paymentType required | string |
| cardNumber required | string |
| expiryMonth required | string |
| expiryYear required | string |
| cvv required | string |
| pin required | string |
{- "publicKey": "YOUR_PUBLIC_KEY",
- "amount": "50",
- "fullName": "Jane Smith",
- "mobileNumber": "03447522256",
- "currency": "NGN",
- "country": "NG",
- "paymentReference": "204g4de74a7ib0j18dg6bi521aiaejf4",
- "email": "janesmith@seerbit.com",
- "paymentType": "CARD",
- "cardNumber": "512348984984988883",
- "expiryMonth": "01",
- "expiryYear": "25",
- "cvv": "000",
- "pin": "2222"
}{- "status": "SUCCESS",
- "data": {
- "code": "S20",
- "message": "Transaction is pending",
- "payments": {
- "paymentReference": "204g4de74a7ib0j18dg6bi521aiaejf4",
- "linkingReference": "SEERBIT60416746746373661414266005",
}
}
}After the first successful transaction, you can query the transaction with the payment reference endpoint to confirm the status of transaction. The queried payment reference returns the authorizationCode that will be used for subsequent charges.
+| paymentReference required | string The payment reference for the transaction. + |
{- "status": "SUCCESS",
- "data": {
- "code": "00",
- "message": "Successful",
- "payments": {
- "amount": 50,
- "mobilenumber": "08387522256",
- "publicKey": "{{publicKey}}",
- "paymentType": "CARD",
- "maskedPan": "5123-40xx-xxxx-0008",
- "gatewayMessage": "Successful",
- "gatewayCode": "00",
- "gatewayref": "SEERBIT674774783883",
- "businessName": "Green Technological Concepts",
- "mode": "live",
- "channelType": "MASTERCARD",
- "cardBin": "5123",
- "lastFourDigits": "0008",
- "country": "NG",
- "currency": "NGN",
- "paymentReference": "{{paymentReference}}",
- "transactionProcessTime": "2022-08-25 08:57:45.634",
- "reason": "Successful",
- "authorizationCode": "6636373737222"
}, - "customers": {
- "customerId": "SBT56736733yye663737",
- "customerName": "Jane Smith",
- "customerMobile": "08387522256",
- "customerEmail": "seerbit@emaildomain.com"
}
}
}Charge a card using a previously obtained authorisation code (token).
+| Content-Type required | string Default: application/json |
| publicKey required | string |
| amount required | string |
| paymentReference required | string |
| authorizationCode required | string |
{- "publicKey": "YOUR_PUBLIC_KEY",
- "amount": "110",
- "paymentReference": "charge_test_3451",
- "authorizationCode": "ye773838jje8837abe"
}{- "status": "SUCCESS",
- "data": {
- "code": "00",
- "message": "APPROVED",
- "payments": {
- "paymentReference": "9288383999393",
- "linkingReference": "SEERBIT43376378378377720196"
}
}
}Charge multiple cards using authorization tokens in a single request.
+| Content-Type required | string Default: application/json |
| publicKey required | string |
| amount required | string |
| paymentReference required | string |
| authorizationCode required | string |
[- {
- "publicKey": "publickKey",
- "amount": "11",
- "paymentReference": "reference",
- "authorizationCode": "authorizationCode"
}, - {
- "publicKey": "publickKey",
- "amount": "11",
- "paymentReference": "reference",
- "authorizationCode": "authorizationCode"
}
]{- "code": "00",
- "message": "Successful",
- "payload": {
- "batchId": "d4wnvzc"
}
}Query the status and results of a bulk charge operation using the batchId.
+| batchId required | string The batch ID of the bulk charge operation. + |
{- "code": "00",
- "message": "Successful",
- "payload": {
- "content": [
- {
- "id": 7,
- "authorizationCode": "authocode",
- "statusCode": "00",
- "message": "Successful",
- "createdAt": "2022-10-12T09:58:40.102",
- "updatedAt": "2022-10-12T09:58:40.102",
- "batchId": "k2auyutyr",
- "currency": "NGN",
- "cardBin": "5123400",
- "cardLastFourDigits": "0739",
- "cardType": "VISA",
- "amount": "10.00"
}, - {
- "id": 8,
- "authorizationCode": "authocode",
- "statusCode": "00",
- "message": "Successful",
- "createdAt": "2022-10-12T09:58:46.443",
- "updatedAt": "2022-10-12T09:58:46.443",
- "batchId": "kuiuyu",
- "currency": "NGN",
- "cardBin": "5123400",
- "cardLastFourDigits": "0008",
- "cardType": "VISA",
- "amount": "15.00"
}
], - "pageable": {
- "sort": {
- "sorted": true,
- "unsorted": false,
- "empty": false
}, - "pageNumber": 0,
- "pageSize": 10,
- "offset": 0,
- "paged": true,
- "unpaged": false
}, - "last": true,
- "totalElements": 2,
- "totalPages": 1,
- "sort": {
- "sorted": true,
- "unsorted": false,
- "empty": false
}, - "first": true,
- "numberOfElements": 2,
- "size": 10,
- "number": 0,
- "empty": false
}
}To make API calls on SeerBit, you will be required to pass a bearer token. To generate a token simply pass your pubic and secret key to rceive a token to process further API calls.
+| key required | string This consist of the PrivateKey and the publicKey separated with a '.' in the middle(eg:{privateKey.publicKey} + |
{- "key": "SBTESTSECK_9Cb8dbqR5Rc2JwZaa77P5QYHzQaeGUcrkEMD1dEi.SBTESTPUBK_9sN3TuLgW6a9redEfY48cKKkUa09Pz2u"
}{- "status": "SUCCESS",
- "data": {
- "code": "00",
- "EncrytedSecKey": {
- "encryptedKey": "oAX1OeAlwNt9BI5VEwBLlxtWgL2WaLT9kTc4EMaaZgXMfdhHXaqqVgapnQSOO4OZM2oLRPtqjJzwNLEEGqFSvam8MFz06U4fl/5TVwfWLMsRHq4mML9ExIaXRVn3bVm8"
}, - "message": "Successful"
}
}This is used to ensure the request payload has not been altered
+| publicKey required | string This is the merchant public key. + |
| amount required | string This is the amount to be paid. + |
| currency required | string This is the currency the transaction is to be carried out in. + |
| country required | string This is the country from which the transaction is been carried out from + |
| paymentReference required | string This is the unique identifier for a transaction, to be generated by merchant. + |
| email required | string This is the email of the customer. + |
| productId required | string This is the product id entered by the merchant. + |
| productDescription required | string This is the product description supplied by the merchant. + |
| callbackUrl required | string |
{- "publicKey": "SBTESTPUBK_9sN3TuLgW6a9redEfY48cKKkUa09Pz2u",
- "amount": "10.00",
- "currency": "NGN",
- "country": "NG",
- "paymentReference": "3791090233047WZ73QN",
- "email": "mamadou.diouf@intouchgroup.net",
- "productId": "15013",
- "productDescription": "touch badge",
}{- "status": "SUCCESS",
- "data": {
- "code": "00",
- "message": "Successful",
- "hash": {
- "hash": "ae18321b005df1b9f16ca8590425e213366da3ab1d8aa2fa30d78dfa6ab9850a"
}
}
}SeerBit Checkout Standard Initialises a transaction from merchants server to generate a payment link which redirects your customers to a page to make payment and after payment has been made the customer is redirected back to the merchants website.
+| publicKey required | string This is the merchant public key. + |
| amount required | string This is the amount to be paid. + |
| currency required | string This is the currency the transaction is to be carried out in. + |
| country required | string This is the country from which the transaction is been carried out from + |
| paymentReference required | string This is the unique identifier for a transaction, to be generated by merchant. + |
| email required | string This is the email of the customer. + |
| fullName required | string This is the full name of the customer. + |
| tokenize required | boolean This indicates whether the card should be tokenized for future transactions. + |
| callbackUrl required | string This is the callback url supplied by the merchant so that Seerbit can redirect back to it . + |
{- "publicKey": "YOUR_PUBLIC_KEY",
- "amount": "10.00",
- "currency": "NGN",
- "country": "NG",
- "paymentReference": "payment_reference",
- "email": "mamadou.diouf@intouchgroup.net",
- "fullName": "Mamadou Diouf",
- "tokenize": false,
}{- "status": "SUCCESS",
- "data": {
- "code": "00",
- "payments": {
- "paymentStatus": "08"
}, - "message": "Successful"
}
}Create an order before payment
+{- "email": "test@mvaa.com",
- "publicKey": "SBTESTPUBK_9sN3TuLgW6a9redEfY48cKKkUa09Pz2u",
- "paymentReference": "2PPTG108Q13432E29P23R5L6W93I9",
- "fullName": "",
- "orderType": "BULK_BULK",
- "mobileNumber": "",
- "country": "NG",
- "currency": "NGN",
- "amount": "250.00",
- "orders": [
- {
- "orderId": "1235567-113227878-64332q",
- "currency": "NGN",
- "amount": "125.00",
- "productId": "0008162",
- "productDescription": "FRSC PLATE NUMBER"
}, - {
- "orderId": "2211567-2230578-754332",
- "currency": "NGN",
- "amount": "125.00",
- "productId": "4030018",
- "productDescription": "WEIGHING AND ADMIN CHARGES"
}
]
}{- "status": "SUCCESS",
- "data": {
- "code": "00",
- "payments": {
- "amount": 250,
- "paymentReference": "2PPTG108QL13432E29P23R5L6W93I9",
- "paymentStatus": "08",
}, - "message": "Successful"
}
}Create an order after payment
+{- "paymentReference": "0w0eimkizc41602513327447",
- "publicKey": "SBTESTPUBK_9sN3TuLgW6a9redEfY48cKKkUa09Pz2u",
- "orders": [
- {
- "amount": "100.00",
- "productId": 1089162,
- "productDescription": "FODD ITEM",
- "currency": "NGN"
}, - {
- "amount": "300.00",
- "productId": 3081869,
- "productDescription": "SKIN CARE",
- "currency": "NGN"
}
]
}{- "status": "SUCCESS",
- "data": {
- "code": "00",
- "message": "Successful",
- "products": [
- {
- "amount": 100,
- "currency": "NGN",
- "productId": 1089162,
- "productDescription": "FODD ITEM",
- "paymentReference": "0w0eimkizc41602513327447",
- "orderId": "wil61c8cd7",
- "createdAt": "2020-10-16T11:41:05.723Z",
- "updatedAt": "2020-10-16T11:41:05.723Z"
}, - {
- "amount": 300,
- "currency": "NGN",
- "productId": 3081869,
- "productDescription": "SKIN CARE",
- "paymentReference": "0w0eimkizc41602513327447",
- "orderId": "wil9b10fbe",
- "createdAt": "2020-10-16T11:41:07.170Z",
- "updatedAt": "2020-10-16T11:41:07.170Z"
}
]
}
}{- "paymentReference": "0w0eimkizc41602513327447",
- "publicKey": "SBTESTPUBK_9sN3TuLgW6a9redEfY48cKKkUa09Pz2u",
- "orders": [
- {
- "amount": "800.00",
- "productId": 1089162,
- "productDescription": "FODD ITEM UPDATE",
- "currency": "NGN",
- "orderId": "wil0f47b62"
}, - {
- "amount": "400.00",
- "productId": 3081869,
- "productDescription": "SKIN CARE UPDATE TEST",
- "currency": "NGN",
- "orderId": "wil1cc231f"
}
]
}{- "status": "SUCCESS",
- "data": {
- "code": "00",
- "message": "Successful",
- "products": [
- {
- "amount": 800,
- "currency": "NGN",
- "productId": 1089162,
- "productDescription": "FODD ITEM UPDATE",
- "paymentReference": "0w0eimkizc41602513327447",
- "orderId": "wil0f47b62"
}, - {
- "amount": 400,
- "currency": "NGN",
- "productId": 3081869,
- "productDescription": "SKIN CARE UPDATE TEST",
- "paymentReference": "0w0eimkizc41602513327447",
- "orderId": "wil1cc231f"
}
]
}
}{- "status": "SUCCESS",
- "data": {
- "code": "00",
- "message": "Successful",
- "products": [
- {
- "amount": 100,
- "currency": "NGN",
- "productId": 1089162,
- "productDescription": "FODD ITEM UPDATE",
- "paymentReference": "0w0eimkizc41602513327447",
- "orderId": "wil0f47b62",
- "createdAt": "2020-10-12T15:38:28.000Z",
- "updatedAt": "2020-10-17T21:56:54.000Z"
}, - {
- "amount": 300,
- "currency": "NGN",
- "productId": 1089162,
- "productDescription": "FODD ITEM UPDATE",
- "paymentReference": "0w0eimkizc41602513327447",
- "orderId": "wil0f47b62",
- "createdAt": "2020-10-12T15:38:29.000Z",
- "updatedAt": "2020-10-17T21:56:54.000Z"
}
]
}
}Get order details with payment reference
+{- "status": "SUCCESS",
- "data": {
- "code": "00",
- "message": "Successful",
- "products": [
- {
- "amount": 100,
- "currency": "NGN",
- "productId": 1089162,
- "productDescription": "FODD ITEM UPDATE",
- "paymentReference": "0w0eimkizc41602513327447",
- "orderId": "wil0f47b62",
- "createdAt": "2020-10-12T15:38:28.000Z",
- "updatedAt": "2020-10-17T21:56:54.000Z"
}, - {
- "amount": 300,
- "currency": "NGN",
- "productId": 1089162,
- "productDescription": "FODD ITEM UPDATE",
- "paymentReference": "0w0eimkizc41602513327447",
- "orderId": "wil0f47b62",
- "createdAt": "2020-10-12T15:38:29.000Z",
- "updatedAt": "2020-10-17T21:56:54.000Z"
}
]
}
}{- "status": "SUCCESS",
- "data": {
- "code": "00",
- "message": "Successful",
- "products": [
- {
- "amount": 100,
- "currency": "NGN",
- "productId": 1089162,
- "productDescription": "FODD ITEM UPDATE",
- "paymentReference": "0w0eimkizc41602513327447",
- "orderId": "wil0f47b62",
- "createdAt": "2020-10-12T15:38:28.000Z",
- "updatedAt": "2020-10-17T21:56:54.000Z"
}, - {
- "amount": 300,
- "currency": "NGN",
- "productId": 1089162,
- "productDescription": "FODD ITEM UPDATE",
- "paymentReference": "0w0eimkizc41602513327447",
- "orderId": "wil0f47b62",
- "createdAt": "2020-10-12T15:38:29.000Z",
- "updatedAt": "2020-10-17T21:56:54.000Z"
}
]
}
}Accept more payments with our unified payments API. Accept payments from all major cards and the most popular local and alternative payment methods all in a single integration.
+{- "fullName": "john doe",
- "email": "johndoe@gmail.com",
- "mobileNumber": 248360953,
- "publicKey": "SBPUBK_QGOX9NBAHWDYY1PAFSG2PTDOSSZYEWXM",
- "paymentReference": "O456S5077907982QWEuWAT05M",
- "deviceType": "nokia 3310",
- "sourceIP": "1.0.1.0",
- "currency": "GHS",
- "productDescription": "snacks",
- "country": "GH",
- "network": "MTN",
- "voucherCode": "",
- "fee": "0.00",
- "amount": "1.00",
- "productId": "grocery",
- "paymentType": "MOMO"
}{- "status": "SUCCESS",
- "data": {
- "code": "20",
- "payments": {
- "paymentReference": "VERS2FURTHERTESTAc722456784",
- "linkingReference": "F282866521599191373372"
}, - "message": "Transaction is pending"
}
}{- "status": "SUCCESS",
- "data": {
- "code": "00",
- "merchantBanks": [
- {
- "bankName": "Guarantee Trust Bank",
- "bankCode": "058",
- "url": null,
- "logo": null,
- "status": "ACTIVE",
- "minimumAmount": 100,
- "requiredFields": {
- "accountName": "YES",
- "accountNumber": "NO",
- "isBankCode": "YES",
- "bvn": "NO",
- "dateOfBirth": "NO",
- "mobileNumber": "NO"
}
}, - {
- "bankName": "United Bank for Africa",
- "bankCode": 27,
- "url": null,
- "logo": null,
- "status": "ACTIVE",
- "minimumAmount": 100,
- "requiredFields": {
- "accountName": "YES",
- "accountNumber": "YES",
- "isBankCode": "YES",
- "bvn": "YES",
- "dateOfBirth": "YES",
- "mobileNumber": "NO"
}
}, - {
- "bankName": "First Bank of Nigeria",
- "bankCode": 9,
- "url": null,
- "logo": null,
- "status": "ACTIVE",
- "minimumAmount": 100,
- "requiredFields": {
- "accountName": "NO",
- "accountNumber": "NO",
- "isBankCode": "YES",
- "bvn": "NO",
- "dateOfBirth": "NO",
- "mobileNumber": "NO"
}
}, - {
- "bankName": "Sterling Bank",
- "bankCode": 232,
- "url": null,
- "logo": null,
- "status": "ACTIVE",
- "minimumAmount": 100,
- "requiredFields": {
- "accountName": "YES",
- "accountNumber": "YES",
- "isBankCode": "YES",
- "bvn": "NO",
- "dateOfBirth": "NO",
- "mobileNumber": "YES"
}
}, - {
- "bankName": "Wema Bank",
- "bankCode": 29,
- "url": null,
- "logo": null,
- "status": "ACTIVE",
- "minimumAmount": 100,
- "requiredFields": {
- "accountName": "YES",
- "accountNumber": "YES",
- "isBankCode": "YES",
- "bvn": "NO",
- "dateOfBirth": "NO",
- "mobileNumber": "YES"
}
}, - {
- "bankName": "Zenith Bank",
- "bankCode": 47,
- "url": null,
- "logo": null,
- "status": "ACTIVE",
- "minimumAmount": 100,
- "requiredFields": {
- "accountName": "YES",
- "accountNumber": "YES",
- "isBankCode": "YES",
- "bvn": "YES",
- "dateOfBirth": "YES",
- "mobileNumber": "NO"
}
}
], - "message": "Successful"
}
}When making MOMO transfers, and OTP is required to complete the payment
+| linkingReference required | string This is the internal gateway reference + |
| otp required | string This is the TOKEN sent to customer’s phone or email + |
{- "linkingReference": "CF630837081601460887752",
- "otp": "81015"
}nullThis payment option is used to charge non 3d transactions
+{- "publicKey": "SBTESTPUBK_dhrpzbRpR34l6VmqkCFOKA94L5E1jSTu",
- "amount": "10.00",
- "fullName": "Diei Okechukwu Peter",
- "mobileNumber": 8030540611,
- "currency": "NGN",
- "country": "NG",
- "paymentReference": "NGN0000037Q35",
- "email": "okechukwu.diei2@gmail.com",
- "productId": "Foods",
- "productDescription": "RASPBERRY",
- "cardNumber": "5123450000000008",
- "expiryMonth": "05",
- "expiryYear": "21"
}{- "status": "SUCCESS",
- "data": {
- "code": "00",
- "payments": {
- "paymentReference": "NGN0100067Q35",
- "linkingReference": "SEERBIT146140441602959589412",
- "status": "CAPTURED"
}, - "card": {
- "bin": "512345",
- "last4": "0008",
- "token": "tk_edcac221-63e5-4baf-8846-4922af4a10e6"
}, - "message": "APPROVED"
}
}This Operation allows you to check the status of a transaction via the status check api. This is done by making a Get request to the endpoint below with your payment reference.
+{- "status": "SUCCESS",
- "data": {
- "code": "S20",
- "payments": {
- "amount": 100,
- "internationalChargedAmount": 155.2,
- "mobilenumber": 8033456599,
- "publicKey": "SBTESTPUBK_PjQ5dFOi522L383MlsQYUMAe6cZYviTF",
- "paymentType": "CARD",
- "productId": "Foods",
- "productDescription": "RASPBERRY",
- "maskedPan": "5123-45xx-xxxx-0008",
- "gatewayMessage": "Transaction is pending",
- "gatewayCode": "S20",
- "gatewayref": "F002672971602775508582",
- "mode": "test",
- "channelType": "Mastercard",
- "sourceIP": "127.0.0.1:3456",
- "deviceType": "Apple Laptop",
- "cardBin": "512345",
- "lastFourDigits": "0008",
- "type": "3DSECURE",
- "country": "NG",
- "currency": "NGN",
- "paymentReference": "SSQ22POtAQMVC85EQWB8",
- "processorCode": "S20",
- "processorMessage": "Transaction is pending",
- "reason": "Transaction is pending"
}, - "customers": {
- "customerId": "SBTfd3024f89b67e2f8a121",
- "customerName": "Kola Victor",
- "customerMobile": 8033456599,
- "customerEmail": "kolawole@gmail.com"
}, - "message": "Transaction is pending"
}
}This option is used to complete an account transaction, when OTP is required
+| linkingReference required | string This is the internal gateway reference + |
| otp required | string This is the TOKEN sent to customer’s phone or email + |
{- "linkingReference": "F092648971601293723061",
- "otp": "123456"
}{- "status": "SUCCESS",
- "data": {
- "code": "00",
- "payments": {
- "paymentReference": "VERS2FURTHERTESTAc722456784",
- "linkingReference": "F282866521599191373372",
- "authoption": [ ]
}, - "message": "Successful"
}
}In order to store your customers payment details, you need to pass some additional parameter when making the first payment request using the payments/tokenize endpoint, the Cvv field and pin are optional(this could be null). After the first payment is made, the payment details is collected and a token is generated for it which is then stored for future use.
+{- "publicKey": "SBPUBK_OMX6ZNRZPLIHQ9Y0ZG6FCNR0EAYIGIAT",
- "amount": "0.00",
- "fullName": "john doe",
- "mobileNumber": 8033456599,
- "currency": "NGN",
- "country": "NG",
- "paymentReference": "KES0092992991",
- "email": "johndoe@gmail.com",
- "productId": "Foods",
- "productDescription": "RASPBERRY",
- "cardNumber": "5123450000000008",
- "cvv": "100",
- "expiryMonth": "05",
- "expiryYear": "21"
}{- "status": "SUCCESS",
- "data": {
- "code": "S20",
- "payments": {
- "paymentReference": "KES0092992991",
- "linkingReference": "SEERBIT428813491603106540088",
- "status": "TOKENIZED",
- "card": {
- "bin": "512345",
- "last4": "0008",
- "token": "tk_fa12ee73-9807-4a8a-bc91-8e81ca3c47ce"
}
}
}
}In SeerBit API, the term “authorisation” indicates, that payment is authorised but not captured. This allows a merchant to cancel transaction at their discretion, typically based but not limited to fraud-related activities. This authorisation state is valid for a limited period of time, which provides a window to cancel the transaction.
+{- "paymentReference": "PREAUTH124456789798765k3K1CB0",
- "publicKey": "SBTESTPUBK_dhrpzbRpR34l6VmqkCFOKA94L5E1jSTu",
- "cardNumber": "5123450000000008",
- "cvv": "100",
- "expiryMonth": "05",
- "expiryYear": "21",
- "currency": "NGN",
- "country": "NG",
- "productDescription": "preauth test capture",
- "amount": "100.00",
- "email": "johndoe@gmail.com",
- "fullName": "john doe"
}{- "status": "SUCCESS",
- "data": {
- "code": "00",
- "payments": {
- "paymentReference": "PREAUTH1244567890987654321CB0",
- "linkingReference": "F938003831601492624719",
- "status": "AUTHORIZED",
- "card": {
- "bin": "512345",
- "last4": "0008",
- "token": "tk_40a0503d-4586-4220-a69e-c69cc9293016"
}
}, - "message": "APPROVED"
}
}PIN and CVV are not Required to complete Transaction. Authorization is completed on 3DS.
+{- "paymentReference": "30451B789S987643108hgfdsfP6W",
- "publicKey": "SBPUBK_OMX6ZNRZPLIHQ9Y0ZG6FCNR0EAYIGIAT",
- "cardNumber": "5242820813772165",
- "cvv": "865",
- "expiryMonth": "02",
- "expiryYear": "22",
- "currency": "NGN",
- "country": "NG",
- "productDescription": "preauth test capture",
- "amount": "1.00",
- "email": "johndoe@gmail.com",
- "fullName": "john doe",
}{- "status": "SUCCESS",
- "data": {
- "code": "00",
- "payments": {
- "paymentReference": "30451A789S987643128hgfdsfP6W",
- "linkingReference": "F535459411601493328771",
- "status": "AUTHORISATION PENDING"
}, - "message": "Transaction is pending"
}
}To complete this transaction, merchant is expected to redirect to the 3DSecure site via the redirect URL provided with the response below. However if the redirect url is not returned and the code is S20 and the message is transaction is pending, the Validate OTP endpoint should be called as the customer would have received a token either by email or sms on the customers phone. To get the subscription created or the status of a subscription for the customer, the GET Subscription endpoint is called by passing the paymentReference as billingId.
+{- "publicKey": "SBTESTPUBK_9sN3TuLgW6a9redEfY48cKKkUa09Pz2u",
- "paymentReference": "TPR2181t55PKR540RPP1U1W4392WO",
- "planId": "",
- "cardNumber": "5123450000000008",
- "expiryMonth": "05",
- "expiryYear": "21",
- "cvv": "100",
- "amount": "1000.00",
- "currency": "NGN",
- "productDescription": "Pilot Test Subscription",
- "productId": "Terrain",
- "country": "NG",
- "startDate": "2020-02-25 00:00:00",
- "cardName": "Kolade Samuel",
- "billingCycle": "WEEKLY",
- "email": "akintoyekolawole@gmail.com",
- "mobileNumber": "08033456500",
- "customerId": "12345678901234",
- "pin": "0999",
- "type": "3DSECURE",
- "billingPeriod": "1",
- "subscriptionAmount": true
}{- "status": "SUCCESS",
- "data": {
- "code": "S20",
- "payments": {
- "paymentReference": "TPR2181t55PER540RPP1U1W4392WO",
- "linkingReference": "F365652421603189345033",
}, - "message": "Transaction is pending"
}
}{- "status": "SUCCESS",
- "data": {
- "subscriptions": {
- "publicKey": "SBTESTPUBK_9sN3TuLgW6a9redEfY48cKKkUa09Pz2u",
- "amount": 100,
- "country": "NG",
- "customerId": "SBT4d26d47dcb33f9430507",
- "cardName": "Kolade Samuel",
- "cardNumber": "5123-45xx-xxxx-0008",
- "plan": "c6d4096c8244b5e0dbda",
- "status": "INACTIVE",
- "billingId": "TPR2181t55PER542RPP1U1W4391WO",
- "authorizationCode": "5f818a9f1191c423446b",
- "startDate": "2020-02-25T00:00:00.000Z",
- "createdAt": 1601385265000
}, - "code": "00",
- "message": "Successful"
}
}Create a new recurring payment plan.
+| Content-Type required | string Default: application/json |
| productId required | string The name of the plan. + |
| productDescription required | string The description of the plan. + |
| amount required | string The amount for the plan. + |
| billingCycle required | string The billing cycle (e.g., HOURLY). + |
| limit required | integer The maximum number of cycles. + |
| publicKey required | string The merchant public key. + |
| country required | string The country code. + |
| currency required | string The currency code. + |
| allowPartialDebit required | boolean Whether partial debit is allowed. + |
{- "productId": "Plan name",
- "productDescription": "Description of Plan",
- "amount": "100",
- "billingCycle": "HOURLY",
- "limit": 5,
- "publicKey": "SBPUBK_xxxxx",
- "country": "NG",
- "currency": "NGN",
- "allowPartialDebit": false
}{- "payload": {
- "country": "NG",
- "createdAt": 1715607343498,
- "amount": 100,
- "productId": "Plan name",
- "billingCycle": "HOURLY",
- "currency": "NGN",
- "details": {
- "country": "NG",
- "amount": 100,
- "productId": "Plan name",
- "allowPartialDebit": false,
- "publicKey": "SBPUBK_xxxxx",
- "createdAt": 1715607343498,
- "trialDuration": 0,
- "trialPeriod": false,
- "billingCycle": "HOURLY",
- "limit": 5,
- "planId": "db1ea861993689a57dac",
- "currency": "NGN",
- "id": 20031,
- "productDescription": "Description of Plan",
- "updatedAt": null,
- "status": "ACTIVE"
}, - "publicKey": "SBPUBK_xxxxx",
- "plan": "db1ea861993689a57dac",
- "productDescription": "Description of Plan"
}, - "message": "Successful",
- "status": "SUCCESS",
- "responseCode": "00"
}Retrieve all subscriptions for a merchant by their public key.
+| publicKey required | string The merchant public key. + |
{- "status": "SUCCESS",
- "data": {
- "subscriptions": [
- {
- "publicKey": "SBTEST**************************viTF",
- "amount": "20",
- "country": "NG",
- "customerId": "651d33a62ad69c9f37c4",
- "cardName": "Jane Smith",
- "cardNumber": "2223-00xx-xxxx-0007",
- "plan": "ae702f51220000722dca",
- "status": "ACTIVE",
- "billingId": "WQ6676yPOpr12348o",
- "authorizationCode": "2beb0ccdd347e604552a",
- "startDate": "2019-01-11 00:00:00",
- "createdAt": 1578648329000
}, - {
- "publicKey": "SBTEST**************************viTF",
- "amount": "100",
- "country": "NG",
- "customerId": "ba981a0b7ed1c68ad245",
- "cardName": "Jane Smith",
- "cardNumber": "5123-45xx-xxxx-0008",
- "plan": "ead5e697f42c1cd60813",
- "status": "ACTIVE",
- "billingId": "PUBK_PjQ5d1578649732262",
- "authorizationCode": "145a3bb3418824c14d65",
- "startDate": "2020-10-01 10:47:49",
- "createdAt": 1578649752000
}
], - "code": "00",
- "message": "successful"
}
}Charge a recurring subscription using an authorization code.
+| Content-Type required | string Default: application/json |
| amount required | string |
| publicKey required | string |
| email required | string |
| allowPartialDebit required | boolean |
| authorizationCode required | string |
| paymentReference required | string |
| currency required | string |
{- "amount": "200",
- "publicKey": "YOUR_PUBLIC_KEY",
- "email": "js@emaildomain.com",
- "allowPartialDebit": true,
- "authorizationCode": "1234567898765325",
- "paymentReference": "2938765582R37065687631",
- "currency": "NGN"
}{- "status": "SUCCESS",
- "data": {
- "code": "00",
- "payments": {
- "code": "00",
- "message": "Successful",
- "paymentReference": "2938765582R37065687631",
- "publicKey": "SBTEST**************************viTF",
- "amount": "200",
- "currency": "NGN",
- "country": "NG",
- "email": "js@emaildomain.com",
- "productDescription": "Authorised charge"
}, - "message": "Successful"
}
}Retrieve all subscriptions for a customer by their customerId and merchant public key.
+| publicKey required | string The merchant public key. + |
| customerId required | string The customer ID. + |
{- "status": "SUCCESS",
- "data": {
- "subscriptions": [
- {
- "publicKey": "SBTEST**************************viTF",
- "amount": "100",
- "country": "NG",
- "customerId": "ba981a0b7ed1c68ad245",
- "cardName": "Jane Smith",
- "cardNumber": "5123-45xx-xxxx-0008",
- "plan": "ead5e697f42c1cd60813",
- "status": "ACTIVE",
- "billingId": "PUBK_PjQ5d1578649732262",
- "authorizationCode": "145a3bb3418824c14d65",
- "startDate": "2020-10-01 10:47:49",
- "createdAt": 1578649752000
}, - {
- "publicKey": "SBTEST**************************viTF",
- "amount": "20000",
- "country": "NG",
- "customerId": "ba981a0b7ed1c68ad245",
- "cardName": "John Smith",
- "cardNumber": "5123-45xx-xxxx-0008",
- "plan": "80b0854b35a0e279efc3",
- "status": "INACTIVE",
- "billingId": "PUBK_PjQ5d1578650322483",
- "authorizationCode": "ddfce36aa4f3abc7cf72",
- "startDate": "2020-10-01 10:58:25",
- "createdAt": 1578650353000
}
], - "code": "00"
}
}Update a customer's subscription details.
+| Content-Type required | string Default: application/json |
| amount required | string |
| currency required | string |
| country required | string |
| mobileNumber required | string |
| billingId required | string |
| publicKey required | string |
| status required | string |
{- "amount": "20000",
- "currency": "NGN",
- "country": "NG",
- "mobileNumber": "08033456500",
- "billingId": "PUBK_PjQ5d1578650322483",
- "publicKey": "YOUR_PUBLIC_KEY",
- "status": "INACTIVE"
}{- "status": "SUCCESS",
- "data": {
- "subscriptions": {
- "publicKey": "SBTEST**************************viTF",
- "amount": "20000",
- "country": "NG",
- "customerId": "ba981a0b7ed1c68ad245",
- "cardName": "Jane Smith",
- "cardNumber": "5123-45xx-xxxx-0008",
- "plan": "80b0854b35a0e279efc3",
- "status": "INACTIVE",
- "billingId": "PUBK_PjQ5d1578650322483",
- "authorizationCode": "ddfce36aa4f3abc7cf72",
- "startDate": "2020-10-01 10:58:25",
- "createdAt": 1578650353000
}, - "code": "00",
- "message": "Successful"
}
}This endpoint is used to create an invoice for a customer.
+| publicKey required | string This is the merchant public key. + |
| orderNo | string This is the order number. + |
| dueDate | string This is the date the invoice is due. + |
| currency required | string This is the currency the transaction is to be carried out in. + |
| recieversName | string This is the name of the customer. + |
| customerEmail required | string This is the email of the customer. + |
Array of objects This is the list of items in the invoice. + |
{- "publicKey": "SBTESTPUBK_9sN3TuLgW6a9redEfY48cKKkUa09Pz2u",
- "orderNo": 3333332213212,
- "dueDate": "2023-10-31",
- "currency": "NGN",
- "recieversName": "Muyiwa Akintade",
- "customerEmail": "janesmith@emaildomain.com",
- "invoiceItems": [
- {
- "itemName": "Bluetooth Pods",
- "quantity": 1,
- "rate": 2500,
- "tax": 7.5
}, - {
- "itemName": "Quest 10",
- "quantity": 4,
- "rate": 1500,
- "tax": 7.5
}
]
}{- "message": "Invoice created successfully",
- "payload": {
- "InvoiceID": 2039,
- "InvoiceNo": "SBT-INV-002039"
}, - "code": "00"
}This endpoint is used to resend an invoice to a customer.
+| publicKey required | string This is the merchant public key. + |
| invoiceNo required | string This is the invoice number. + |
{- "message": "Invoice has been sent successfully",
- "code": "00"
}Retrieve all invoices for a customer by their email address.
+| publicKey required | string The merchant public key. + |
| customerEmail required | string The customer's email address. + |
{- "payload": [
- {
- "invoiceId": 2037,
- "invoiceNo": "SBT-INV-002037",
- "totalAmount": 9137.5,
- "subTotal": 8500,
- "publicKey": "SBPUBK_V1YL57ICZQSNCADEWE5XEVTNB72TLWZA",
- "testKey": "SBTESTPUBK_wLVXnn6YuGaTlOpUESrR7TzFwaDb2auC",
- "supportEmail": "skylah@mailinator.com",
- "receiversName": "Muyiwa Akintade",
- "customerEmail": "janesmith@emaildomain.com",
- "businessName": "Skylah Integrated Services Limited",
- "tax": 637.5,
- "dueDate": "2025-07-01",
- "currency": "NGN",
- "invoiceItems": [
- {
- "itemName": "Bluetooth Pods",
- "unitPrice": 2500,
- "vat": 187.5,
- "amount": 2500,
- "quantity": 1
}, - {
- "itemName": "Quest 10",
- "unitPrice": 6000,
- "vat": 450,
- "amount": 6000,
- "quantity": 4
}
], - "customer": {
- "externalIdentify": "2784824",
- "businessName": "Muyiwa Akintade",
- "customerEmail": "janesmith@emaildomain.com",
- "businessId": "00019601",
- "id": 1219
}, - "billingCycle": false,
- "payButtonOnInvoices": false,
- "enableAdvancedOptions": false,
- "partialPayment": false,
- "status": "PENDING",
- "createdAt": "2025-06-30T14:48:39.635034",
- "mode": "LIVE"
}, - {
- "invoiceId": 2039,
- "invoiceNo": "SBT-INV-002039",
- "totalAmount": 9137.5,
- "subTotal": 8500,
- "publicKey": "SBPUBK_V1YL57ICZQSNCADEWE5XEVTNB72TLWZA",
- "testKey": "SBTESTPUBK_wLVXnn6YuGaTlOpUESrR7TzFwaDb2auC",
- "supportEmail": "skylah@mailinator.com",
- "receiversName": "Muyiwa Akintade",
- "customerEmail": "janesmith@emaildomain.com",
- "businessName": "Skylah Integrated Services Limited",
- "tax": 637.5,
- "dueDate": "2025-07-09",
- "currency": "NGN",
- "invoiceItems": [
- {
- "itemName": "Bluetooth Pods",
- "unitPrice": 2500,
- "vat": 187.5,
- "amount": 2500,
- "quantity": 1
}, - {
- "itemName": "Quest 10",
- "unitPrice": 6000,
- "vat": 450,
- "amount": 6000,
- "quantity": 4
}
], - "customer": {
- "externalIdentify": "2784824",
- "businessName": "Muyiwa Akintade",
- "customerEmail": "janesmith@emaildomain.com",
- "businessId": "00019601",
- "id": 1219
}, - "billingCycle": false,
- "payButtonOnInvoices": false,
- "enableAdvancedOptions": false,
- "partialPayment": false,
- "status": "PENDING",
- "createdAt": "2025-07-07T12:30:51.227383",
- "mode": "LIVE"
}
], - "code": "00"
}Retrieve an invoice by its invoice number.
+| publicKey required | string The merchant public key. + |
| invoiceNo required | string The invoice number. + |
{- "payload": [
- {
- "invoiceId": 2037,
- "invoiceNo": "SBT-INV-002037",
- "totalAmount": 9137.5,
- "subTotal": 8500,
- "publicKey": "SBPUBK_V1YL57ICZQSNCADEWE5XEVTNB72TLWZA",
- "testKey": "SBTESTPUBK_wLVXnn6YuGaTlOpUESrR7TzFwaDb2auC",
- "supportEmail": "skylah@mailinator.com",
- "receiversName": "Muyiwa Akintade",
- "customerEmail": "janesmith@emaildomain.com",
- "businessName": "Skylah Integrated Services Limited",
- "tax": 637.5,
- "dueDate": "2025-07-01",
- "currency": "NGN",
- "invoiceItems": [
- {
- "itemName": "Bluetooth Pods",
- "unitPrice": 2500,
- "vat": 187.5,
- "amount": 2500,
- "quantity": 1
}, - {
- "itemName": "Quest 10",
- "unitPrice": 6000,
- "vat": 450,
- "amount": 6000,
- "quantity": 4
}
], - "customer": {
- "externalIdentify": "2784824",
- "businessName": "Muyiwa Akintade",
- "customerEmail": "janesmith@emaildomain.com",
- "businessId": "00019601",
- "id": 1219
}, - "billingCycle": false,
- "payButtonOnInvoices": false,
- "enableAdvancedOptions": false,
- "partialPayment": false,
- "status": "PENDING",
- "createdAt": "2025-06-30T14:48:39.635034",
- "mode": "LIVE"
}
], - "code": "00"
}Retrieve an invoice by its order number.
+| publicKey required | string The merchant public key. + |
| orderNo required | string The order number. + |
{- "payload": [
- {
- "invoiceId": 2037,
- "invoiceNo": "SBT-INV-002037",
- "totalAmount": 9137.5,
- "subTotal": 8500,
- "publicKey": "SBPUBK_V1YL57ICZQSNCADEWE5XEVTNB72TLWZA",
- "testKey": "SBTESTPUBK_wLVXnn6YuGaTlOpUESrR7TzFwaDb2auC",
- "supportEmail": "skylah@mailinator.com",
- "receiversName": "Muyiwa Akintade",
- "customerEmail": "janesmith@emaildomain.com",
- "businessName": "Skylah Integrated Services Limited",
- "tax": 637.5,
- "dueDate": "2025-07-01",
- "currency": "NGN",
- "invoiceItems": [
- {
- "itemName": "Bluetooth Pods",
- "unitPrice": 2500,
- "vat": 187.5,
- "amount": 2500,
- "quantity": 1
}, - {
- "itemName": "Quest 10",
- "unitPrice": 6000,
- "vat": 450,
- "amount": 6000,
- "quantity": 4
}
], - "customer": {
- "externalIdentify": "2784824",
- "businessName": "Muyiwa Akintade",
- "customerEmail": "janesmith@emaildomain.com",
- "businessId": "00019601",
- "id": 1219
}, - "billingCycle": false,
- "payButtonOnInvoices": false,
- "enableAdvancedOptions": false,
- "partialPayment": false,
- "status": "PENDING",
- "createdAt": "2025-06-30T14:48:39.635034",
- "mode": "LIVE"
}
], - "code": "00"
}This endpoint is used to authenticate a pocket using the provided key.
+| email required | string <email> |
| password required | string |
{- "email": "your pocket email",
- "password": "your password"
}{- "responseCode": "00",
- "message": "Success",
- "data": {
- "bearerToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.randomtoken",
- "expiryTime": "2025-07-07T20:12:28",
- "requirePasswordChange": true
}
}Create a sub-pocket under a parent pocket.
+| PocketID required | string The parent pocket ID. + |
| public-key required | string The merchant public key. + |
| Content-Type required | string Default: application/json |
| tagGroup | string |
| reference required | string |
| pocketFunction required | string Enum: "BOTH" "CREDIT" "DEBIT" |
| currency required | string |
| tagName | string |
| selfOwned required | boolean |
required | object |
[- {
- "tagGroup": "",
- "reference": "Create_subpo77899ck987et45",
- "pocketFunction": "BOTH",
- "currency": "NGN",
- "tagName": "",
- "selfOwned": false,
- "pocketOwner": {
- "existingPocketOwner": "false",
- "pocketOwnerDetails": {
- "firstName": "Bola",
- "lastName": "Are",
- "emailAddress": "youremail.com",
- "phoneNumber": "08824485749",
- "businessName": "samsn and sons"
}
}
}
]{- "responseCode": "00",
- "message": "Success",
- "data": [
- {
- "pocketId": "SBP0018103",
- "parentId": 3771,
- "bankAccountNumber": "7750209735",
- "bankAccountName": "samsn and sons",
- "bankCode": "WEMA",
- "bankName": "Wema Bank",
- "canRetailPockets": false,
- "subPocketUserResponse": {
- "userName": "youremail.com",
- "password": "$2a$12$VCyQhEK0ULRoxuZXXEEzJ.N56.fE5tiY6u2fxm7KWzEAUnVVDMn5K"
}
}
]
}Retrieve details of a pocket by its ID.
+| PocketID required | string The pocket ID. + |
| public-key required | string The merchant public key. + |
{- "responseCode": "00",
- "message": "Success",
- "data": {
- "pocketId": "SBP0016348",
- "accountNumber": "0010028394",
- "status": "ACTIVE",
- "pocketFunction": "BOTH",
- "availableBalanceAmount": "2873651.75",
- "availableBalanceCurrency": "NGN",
- "ledgerBalanceAmount": "2873651.75",
- "ledgerBalanceCurrency": "NGN",
- "parentId": null,
- "fundingLink": "?ps=JJUGwRt5&po=SBP0016348",
- "accountVerifierScheme": "BVN",
- "accountVerifierNumber": "00000000000",
- "reference": "primary-zbscq5nj",
- "tier": "UNLIMITED",
- "subPockets": null,
- "pocketOwner": {
- "pocketOwnerId": "JJUGwRt5",
- "businessName": "Kings Cafe",
- "firstName": "Kings Cafe",
- "lastName": "Kings Cafe",
- "emailAddress": "tonyadeyeye1@gmail.com",
- "phoneNumber": "08033453733",
- "ownerVerifierScheme": "NIN",
- "ownerVerifierNumber": "00000000000"
}, - "pocketAccounts": [
- {
- "accountId": "ag61lht8d5i0",
- "accountNumber": "4013383325",
- "bankCode": "9PSB",
- "bankName": "9 Payment Service Bank ",
- "reference": "9gyw1pcbfvo74l3ns"
}
], - "pocketFundings": null,
- "pocketLimits": [ ],
- "pocketMomos": [ ]
}
}Retrieve the balance of a pocket by its ID.
+| PocketID required | string The pocket ID. + |
| public-key required | string The merchant public key. + |
{- "responseCode": "00",
- "message": "Success",
- "data": {
- "balanceAt": "2025-07-07T15:44:00",
- "availableBalanceCurrency": "NGN",
- "availableBalanceAmount": "2873651.75",
- "lastTransactionAt": "2025-07-07T08:49:23"
}
}Retrieve the sum of balances for a merchant's pockets.
+| PocketID required | string The pocket ID. + |
| public-key required | string The merchant public key. + |
{- "responseCode": "00",
- "message": "Success",
- "data": {
- "merchantSubPocketsBalanceSummation": "",
- "merchantSubPocketsBalanceSummationCurrency": "NGN",
- "merchantAllPocketsBalanceSummation": "631.75",
- "merchantAllPocketsBalanceSummationCurrency": "NGN"
}
}Retrieve details of a pocket transaction by its reference.
+| reference required | string The transaction reference. + |
| public-key required | string The merchant public key. + |
{- "responseCode": "00",
- "message": "Success",
- "data": {
- "reference": "Charge-000015250618102028000001302219-pr6ndt",
- "pocketId": "SBP0016348",
- "transactionLeg": "DEBIT",
- "transactionAmount": "0.00",
- "transactionCurrency": "NGN",
- "narration": "Reason:Fee:Debited:SBP0016348:Amount:NGN0.00",
- "description": "Fee - Funding by account - Primary pockets",
- "createdAt": "2025-06-18T09:21:07",
- "createdBy": "pockets@seerbit.com",
- "transactionId": "n1a0sl6q29d5",
- "transactionType": "FEE",
- "batchId": null,
- "status": "00",
- "message": "Success",
- "receiverName": "Office",
- "receiverAccountNumber": "0010010001",
- "receiverBankCode": "SEERBIT",
- "receiverBankName": null,
- "sender": "Kings Cafe"
}
}Search for pocket transactions with pagination.
+| pocketId required | string The pocket ID. + |
| page required | integer Default: 0 Page number (zero-based). + |
| size required | integer Default: 10 Number of records per page. + |
| public-key required | string The merchant public key. + |
| Content-Type required | string Default: application/json |
{- "responseCode": "00",
- "message": "Success",
- "data": {
- "content": [
- {
- "createdAt": "2025-07-07T15:58:10",
- "reference": "Charge-F00016450103-x7heaw",
- "pocketId": "SBP0016348",
- "transactionLeg": "DEBIT",
- "transactionCurrency": "NGN",
- "availableBalanceCurrency": "NGN",
- "ledgerBalanceCurrency": "NGN",
- "narration": "Reason:Fee:Debited:SBP0016348:Amount:NGN20.00",
- "transactionId": "hvizyx70bdge",
- "description": "Fee - Pocket to gl transfer - Primary pockets",
- "tagGroup": "GENERIC",
- "tagName": "ALL-PURPOSE",
- "pocketTier": "UNLIMITED",
- "receiverName": "Office",
- "receiverAccountNumber": "0010010001",
- "receiverBankCode": "SEERBIT",
- "transactionType": "FEE",
- "publicKey": "JJUGwRt5",
- "status": "00",
- "message": "Success",
- "batchId": null,
- "transactionSource": "Fee: Pocket-to-Bank",
- "transactionOrigin": null,
- "linkingReference": null,
- "transactionAmount": "20.00",
- "availableBalanceAmount": "2873631.75",
- "ledgerBalanceAmount": "2873631.75",
- "accountNumber": "4013383325"
}, - {
- "createdAt": "2025-07-07T08:49:18",
- "reference": "000015250707094843000001100434-C",
- "pocketId": "SBP0016348",
- "transactionLeg": "CREDIT",
- "transactionCurrency": "NGN",
- "availableBalanceCurrency": "NGN",
- "ledgerBalanceCurrency": "NGN",
- "narration": "Reason:Funding:Debited:SBP0000001:Amount:NGN157213.94",
- "transactionId": "1pg25outak4x",
- "description": "63C2O6XI8K7PMEV KINGS CAFE LTD",
- "tagGroup": "GENERIC",
- "tagName": "ALL-PURPOSE",
- "pocketTier": "UNLIMITED",
- "receiverName": "Kings Cafe",
- "receiverAccountNumber": "0010028394",
- "receiverBankCode": "SEERBIT",
- "transactionType": "FUNDING",
- "publicKey": "Office",
- "status": "00",
- "message": "Success",
- "batchId": null,
- "transactionSource": "Bank-To-Pocket",
- "transactionOrigin": null,
- "linkingReference": "9PSB241126145618012260602",
- "transactionAmount": "157213.94",
- "availableBalanceAmount": "1338300.85",
- "ledgerBalanceAmount": "1338300.85",
- "accountNumber": "4013383325"
}
], - "pageable": {
- "sort": {
- "empty": false,
- "sorted": true,
- "unsorted": false
}, - "offset": 0,
- "pageSize": 10,
- "pageNumber": 0,
- "unpaged": false,
- "paged": true
}, - "totalElements": 590,
- "totalPages": 59,
- "last": false,
- "size": 10,
- "number": 0,
- "sort": {
- "empty": false,
- "sorted": true,
- "unsorted": false
}, - "numberOfElements": 10,
- "first": true,
- "empty": false
}
}Transfer funds from one pocket to another.
+| fromPocketID required | string The source pocket ID. + |
| toPocketID required | string The destination pocket ID. + |
| public-key required | string The merchant public key. + |
| Content-Type required | string Default: application/json |
| amount required | number The amount to transfer. + |
| currency required | string The currency of the transfer. + |
| reference required | string The unique reference for the transfer. + |
| description required | string A description for the transfer. + |
{- "amount": 100,
- "currency": "NGN",
- "reference": "00112827",
- "description": "Transfer from one pocket to another"
}{- "responseCode": "00",
- "message": "Successful",
- "data": { }
}Generate an OTP for a pocket action. The OTP provided in the otp field should be passed as the passKey in the generatesignature and payout request.
+| public-key required | string The merchant public key. + |
| Content-Type required | string Default: application/json |
| actionItem required | string The action for which the OTP is generated. + |
| pocketId required | string The pocket ID. + |
{- "actionItem": "APPROVE_DISBURSEMENT",
- "pocketId": "your_pocket_id_here"
}{- "responseCode": "00",
- "message": "Success",
- "data": {
- "otp": "028087",
- "category": "APPROVE_DISBURSEMENT",
- "expires": "2025-02-25T19:20:12.649104071"
}
}Generate a signature for a payout action. Instead of manually creating a signature, use the Get Signature endpoint.
+| Content-Type required | string Default: application/json |
| reference required | string The transaction reference. + |
| amount required | string The amount for the payout. + |
| currency required | string The currency for the payout. + |
| description required | string The payout description. + |
| accountNumber required | string The account number to credit. + |
| bankCode required | string The bank code of the destination bank. + |
| actionType required | string The action type (e.g., APPROVE_DISBURSEMENT). + |
| passKey required | string The OTP or passKey for the payout. + |
{- "reference": "REF123456",
- "amount": "10",
- "currency": "NGN",
- "description": "test",
- "accountNumber": "1234567890",
- "bankCode": "000013",
- "actionType": "APPROVE_DISBURSEMENT",
- "passKey": "028087"
}{- "responseCode": "00",
- "message": "Success",
- "data": "{signature}"
}Use the Initiate Payout endpoint, passing the generated signature in the request body.
+| pocketId required | string The pocket ID. + |
| public-key required | string The merchant public key. + |
| Content-Type required | string Default: application/json |
| reference required | string The transaction reference. + |
| amount required | string The amount for the payout. + |
| currency required | string The currency for the payout. + |
| description required | string The payout description. + |
| accountNumber required | string The account number to credit. + |
| bankCode required | string The bank code of the destination bank. + |
| passKey required | string The OTP or passKey for the payout. + |
| actionType required | string The action type (e.g., APPROVE_DISBURSEMENT). + |
| signature required | string The generated signature for the payout. + |
{- "reference": "JIN-12345678901101",
- "amount": "10",
- "currency": "NGN",
- "description": "test",
- "accountNumber": "1234567890",
- "bankCode": "000013",
- "passKey": "028087",
- "actionType": "APPROVE_DISBURSEMENT",
- "signature": "signature-value"
}{- "responseCode": "00",
- "message": "Successful",
- "data": {
- "reference": "JIN-12345678901101",
- "linkingreference": "F00230472990"
}
}The Virtual Account API allows you to create reserve accounts for your customers to make payments.
+| Content-Type required | string Default: application/json |
| publicKey required | string The merchant public key. + |
| fullName required | string The full name of the account holder. + |
| bankVerificationNumber required | string The BVN of the account holder. + |
| currency required | string The currency for the account. + |
| country required | string The country code. + |
| reference required | string The unique reference for the account. + |
| email required | string The email address of the account holder. + |
{- "publicKey": "YOUR_PUBLIC_KEY",
- "fullName": "Jane Smith",
- "bankVerificationNumber": "",
- "currency": "NGN",
- "country": "NG",
- "reference": "FIRST_VIRTUAl_17",
- "email": "js@emaildomain.com"
}{- "status": "SUCCESS",
- "data": {
- "code": "S20",
- "payments": {
- "reference": "FIRST_VIRTUAl_7",
- "walletName": "SEERBIT(Business Name)",
- "bankName": "9PAYMENT SERVICE BANK",
- "accountNumber": "Account Number"
}, - "message": "Account created "
}
}Retrieve details of a virtual account by its payment reference.
+| paymentReference required | string The virtual account payment reference. + |
{- "status": "SUCCESS",
- "data": {
- "code": "00",
- "payments": {
- "reference": "VA_1",
- "linkingReference": "9PSB641860391656618499020",
- "walletName": "SEERBIT(Business Name)",
- "wallet": "Account Number",
- "bankName": "_9PAYMENT_SERVICE_BANK",
- "accountNumber": "Account Number"
}, - "message": ""
}
}Delete a virtual account by its reference.
+| reference required | string The virtual account reference. + |
{- "status": "SUCCESS",
- "data": {
- "code": "00",
- "message": "Virtual account has been deleted"
}
}Retrieve payment details for a virtual account using the public key and account number.
+| publicKey required | string The merchant public key. + |
| accountNumber required | string The customer's account number. + |
{- "status": "SUCCESS",
- "data": {
- "code": "00",
- "payload": [
- {
- "id": 14705414,
- "fullName": "Customer Name",
- "publicKey": "YOUR_PUBLIC_KEY",
- "processor": "_9PAYMENT_SERVICE_BANK",
- "paymentType": "TRANSFER",
- "amount": 100,
- "email": "customeremail@gmail.com",
- "gateway": "_9PAYMENT_SERVICE_BANK",
- "gatewayMessage": "Successful",
- "gatewayCode": "00",
- "transactionRef": "GT-01",
- "gatewayRef": "100004230627104826104793084015",
- "businessName": "Business Name",
- "mode": "LIVE",
- "channelType": "transfer",
- "country": "NG",
- "currency": "NGN",
- "internalreference": "_SBT_N7N7EU523C",
- "accountNumber": "customer account number",
- "creditAccountName": "Seerbit(Tola Sambo)",
- "transferType": "RESERVE_ACCOUNT",
- "paymentReference": "GT-01_SBT_N7N7EU523C",
- "creditAccountNumber": "4015310501",
- "settlementCode": "00",
- "settlementMessage": "Push Successful",
- "settlementTime": "2023-06-27 11:49:37",
- "status": "PUSHED",
- "mobileNumber": "404",
- "transferedAmount": 100,
- "isCardInternational": "LOCAL",
- "reason": "Successful",
- "retry": false,
- "createdAt": "2023-06-27T10:49:28.000+0000",
- "updatedAt": "2023-06-27T10:49:28.000+0000",
- "processorCode": "00",
- "processorMessage": "Successful"
}
], - "message": "successful"
}
}Create a new payment link for collecting payments.
+| Content-Type required | string Default: application/json |
| status required | string |
| paymentLinkName required | string |
| description required | string |
| currency required | string |
| successMessage required | string |
| publicKey required | string |
| customizationName required | string |
| paymentFrequency required | string |
| paymentReference | string |
| email required | string |
required | object |
| additionalData | string |
| linkExpirable required | boolean |
| expiryDate | string |
| oneTime required | boolean |
{- "status": "ACTIVE",
- "paymentLinkName": "Donations",
- "description": "Give out donations",
- "currency": "NGN",
- "successMessage": "Thank you for your payment",
- "publicKey": "YOUR_PUBLIC_KEY",
- "customizationName": "testing1",
- "paymentFrequency": "ONE_TIME",
- "paymentReference": "",
- "email": "js@emaildomain.com",
- "requiredFields": {
- "address": true,
- "amount": true,
- "customerName": true,
- "mobileNumber": true,
- "invoiceNumber": false
}, - "additionalData": "Customer Email: js@mailinator.com",
- "linkExpirable": false,
- "expiryDate": "",
- "oneTime": false
}{- "data": {
- "paymentLinks": {
- "publicKey": "SBPUBK_******************PHI",
- "status": "ACTIVE",
- "additionalData": "custom1:null||custom2:null||custom3:null",
- "paymentLinkName": "Donationas",
- "description": "Donation",
- "successMessage": "Payment made successfully!",
- "paymentLinkId": "000000000",
- "currency": "NGN",
- "paymentReference": "",
- "paymentFrequency": "RECURRENT",
- "customizationName": "utbesti22",
- "environment": "LIVE",
- "requiredFields": {
- "address": true,
- "amount": true,
- "customerName": true,
- "mobileNumber": true,
- "invoiceNumber": false
}, - "expiryDuration": 0,
- "linkExpirable": false,
- "createdAt": "2021-09-21T10:49:17.728",
- "updatedAt": "2021-09-21T10:49:17.728",
- "oneTime": false,
- "splitPayment": false
}
}
}Update an existing payment link.
+| Content-Type required | string Default: application/json |
| paymentLinkId required | string |
| status required | string |
| description required | string |
| successMessage required | string |
| businessName required | string |
| publicKey required | string |
| customizationName required | string |
| paymentFrequency required | string |
| email required | string |
required | object |
| linkExpirable required | boolean |
| expiryDate | string |
| oneTime required | boolean |
{- "paymentLinkId": "0000000",
- "status": "INACTIVE",
- "description": "Test paymentLink",
- "successMessage": "Payment made successfully!",
- "businessName": "My Business",
- "publicKey": "publickKey",
- "customizationName": "my_link_3",
- "paymentFrequency": "RECURRENT",
- "email": "customer@seerbit.com",
- "requiredFields": {
- "address": true,
- "amount": true,
- "customerName": true,
- "mobileNumber": true,
- "invoiceNumber": false
}, - "linkExpirable": false,
- "expiryDate": "",
- "oneTime": false
}{- "data": {
- "paymentLinks": {
- "publicKey": "PublicKey",
- "status": "INACTIVE",
- "description": "Test paymentLink",
- "successMessage": "Payment made successfully!",
- "paymentLinkId": "0000000",
- "paymentFrequency": "RECURRENT",
- "paymentLinkUrl": "null/my_link_3",
- "customizationName": "my_link_3",
- "environment": "LIVE",
- "requiredFields": {
- "address": true,
- "amount": true,
- "customerName": true,
- "mobileNumber": true,
- "invoiceNumber": false
}, - "expiryDuration": 0,
- "linkExpirable": false,
- "updatedAt": "2021-09-21T11:12:57.404",
- "oneTime": false,
- "splitPayment": false
}
}
}Retrieve all payment links for a merchant by their public key.
+| publicKey required | string The merchant public key. + |
{- "currentPage": 0,
- "responseCode": "00",
- "payload": [
- {
- "businessId": "00000051",
- "publicKey": "publickey",
- "status": "ACTIVE",
- "amount": 10000,
- "customisationName": "SeerBitPay",
- "additionalData": "",
- "paymentLinkName": "SeerBit Payment Link",
- "description": "Buy Items",
- "paymentLinkId": "00000000",
- "paymentFrequency": "ONE_TIME",
- "pocketReference": "",
- "environment": "LIVE",
- "requiredFields": {
- "address": true,
- "amount": false,
- "customerName": true,
- "mobileNumber": false,
- "invoiceNumber": false
}, - "expiryDuration": 0,
- "linkExpirable": false,
- "customTime": "",
- "createdAt": "2021-07-17T12:05:55",
- "updatedAt": "2021-07-17T12:05:55",
- "oneTime": false,
- "splitPayment": false
}
], - "responseMessage": "successful"
}Create a card token for future payments.
+| Content-Type required | string Default: application/json |
| publicKey required | string |
| amount required | string |
| fullName required | string |
| mobileNumber required | string |
| redirectUrl required | string |
| currency required | string |
| country required | string |
| paymentReference required | string |
| email required | string |
| paymentType required | string |
| cardNumber required | string |
| expiryMonth required | string |
| expiryYear required | string |
| cvv required | string |
| pin required | string |
{- "publicKey": "YOUR_PUBLIC_KEY",
- "amount": "50",
- "fullName": "Jane Smith",
- "mobileNumber": "03447522256",
- "currency": "NGN",
- "country": "NG",
- "paymentReference": "204g4de74a7ib0j18dg6bi521aiaejf4",
- "email": "janesmith@seerbit.com",
- "paymentType": "CARD",
- "cardNumber": "512348984984988883",
- "expiryMonth": "01",
- "expiryYear": "25",
- "cvv": "000",
- "pin": "2222"
}{- "status": "SUCCESS",
- "data": {
- "code": "S20",
- "message": "Transaction is pending",
- "payments": {
- "paymentReference": "204g4de74a7ib0j18dg6bi521aiaejf4",
- "linkingReference": "SEERBIT60416746746373661414266005",
}
}
}After the first successful transaction, you can query the transaction with the payment reference endpoint to confirm the status of transaction. The queried payment reference returns the authorizationCode that will be used for subsequent charges.
+| paymentReference required | string The payment reference for the transaction. + |
{- "status": "SUCCESS",
- "data": {
- "code": "00",
- "message": "Successful",
- "payments": {
- "amount": 50,
- "mobilenumber": "08387522256",
- "publicKey": "{{publicKey}}",
- "paymentType": "CARD",
- "maskedPan": "5123-40xx-xxxx-0008",
- "gatewayMessage": "Successful",
- "gatewayCode": "00",
- "gatewayref": "SEERBIT674774783883",
- "businessName": "Green Technological Concepts",
- "mode": "live",
- "channelType": "MASTERCARD",
- "cardBin": "5123",
- "lastFourDigits": "0008",
- "country": "NG",
- "currency": "NGN",
- "paymentReference": "{{paymentReference}}",
- "transactionProcessTime": "2022-08-25 08:57:45.634",
- "reason": "Successful",
- "authorizationCode": "6636373737222"
}, - "customers": {
- "customerId": "SBT56736733yye663737",
- "customerName": "Jane Smith",
- "customerMobile": "08387522256",
- "customerEmail": "seerbit@emaildomain.com"
}
}
}Charge a card using a previously obtained authorisation code (token).
+| Content-Type required | string Default: application/json |
| publicKey required | string |
| amount required | string |
| paymentReference required | string |
| authorizationCode required | string |
{- "publicKey": "YOUR_PUBLIC_KEY",
- "amount": "110",
- "paymentReference": "charge_test_3451",
- "authorizationCode": "ye773838jje8837abe"
}{- "status": "SUCCESS",
- "data": {
- "code": "00",
- "message": "APPROVED",
- "payments": {
- "paymentReference": "9288383999393",
- "linkingReference": "SEERBIT43376378378377720196"
}
}
}Charge multiple cards using authorization tokens in a single request.
+| Content-Type required | string Default: application/json |
| publicKey required | string |
| amount required | string |
| paymentReference required | string |
| authorizationCode required | string |
[- {
- "publicKey": "publickKey",
- "amount": "11",
- "paymentReference": "reference",
- "authorizationCode": "authorizationCode"
}, - {
- "publicKey": "publickKey",
- "amount": "11",
- "paymentReference": "reference",
- "authorizationCode": "authorizationCode"
}
]{- "code": "00",
- "message": "Successful",
- "payload": {
- "batchId": "d4wnvzc"
}
}Query the status and results of a bulk charge operation using the batchId.
+| batchId required | string The batch ID of the bulk charge operation. + |
{- "code": "00",
- "message": "Successful",
- "payload": {
- "content": [
- {
- "id": 7,
- "authorizationCode": "authocode",
- "statusCode": "00",
- "message": "Successful",
- "createdAt": "2022-10-12T09:58:40.102",
- "updatedAt": "2022-10-12T09:58:40.102",
- "batchId": "k2auyutyr",
- "currency": "NGN",
- "cardBin": "5123400",
- "cardLastFourDigits": "0739",
- "cardType": "VISA",
- "amount": "10.00"
}, - {
- "id": 8,
- "authorizationCode": "authocode",
- "statusCode": "00",
- "message": "Successful",
- "createdAt": "2022-10-12T09:58:46.443",
- "updatedAt": "2022-10-12T09:58:46.443",
- "batchId": "kuiuyu",
- "currency": "NGN",
- "cardBin": "5123400",
- "cardLastFourDigits": "0008",
- "cardType": "VISA",
- "amount": "15.00"
}
], - "pageable": {
- "sort": {
- "sorted": true,
- "unsorted": false,
- "empty": false
}, - "pageNumber": 0,
- "pageSize": 10,
- "offset": 0,
- "paged": true,
- "unpaged": false
}, - "last": true,
- "totalElements": 2,
- "totalPages": 1,
- "sort": {
- "sorted": true,
- "unsorted": false,
- "empty": false
}, - "first": true,
- "numberOfElements": 2,
- "size": 10,
- "number": 0,
- "empty": false
}
}To make API calls on SeerBit, you will be required to pass a bearer token. To generate a token simply pass your pubic and secret key to rceive a token to process further API calls.
+| key required | string This consist of the PrivateKey and the publicKey separated with a '.' in the middle(eg:{privateKey.publicKey} + |
{- "key": "SBTESTSECK_9Cb8dbqR5Rc2JwZaa77P5QYHzQaeGUcrkEMD1dEi.SBTESTPUBK_9sN3TuLgW6a9redEfY48cKKkUa09Pz2u"
}{- "status": "SUCCESS",
- "data": {
- "code": "00",
- "EncrytedSecKey": {
- "encryptedKey": "oAX1OeAlwNt9BI5VEwBLlxtWgL2WaLT9kTc4EMaaZgXMfdhHXaqqVgapnQSOO4OZM2oLRPtqjJzwNLEEGqFSvam8MFz06U4fl/5TVwfWLMsRHq4mML9ExIaXRVn3bVm8"
}, - "message": "Successful"
}
}This is used to ensure the request payload has not been altered
+| publicKey required | string This is the merchant public key. + |
| amount required | string This is the amount to be paid. + |
| currency required | string This is the currency the transaction is to be carried out in. + |
| country required | string This is the country from which the transaction is been carried out from + |
| paymentReference required | string This is the unique identifier for a transaction, to be generated by merchant. + |
| email required | string This is the email of the customer. + |
| productId required | string This is the product id entered by the merchant. + |
| productDescription required | string This is the product description supplied by the merchant. + |
| callbackUrl required | string |
{- "publicKey": "SBTESTPUBK_9sN3TuLgW6a9redEfY48cKKkUa09Pz2u",
- "amount": "10.00",
- "currency": "NGN",
- "country": "NG",
- "paymentReference": "3791090233047WZ73QN",
- "email": "mamadou.diouf@intouchgroup.net",
- "productId": "15013",
- "productDescription": "touch badge",
}{- "status": "SUCCESS",
- "data": {
- "code": "00",
- "message": "Successful",
- "hash": {
- "hash": "ae18321b005df1b9f16ca8590425e213366da3ab1d8aa2fa30d78dfa6ab9850a"
}
}
}SeerBit Checkout Standard Initialises a transaction from merchants server to generate a payment link which redirects your customers to a page to make payment and after payment has been made the customer is redirected back to the merchants website.
+| publicKey required | string This is the merchant public key. + |
| amount required | string This is the amount to be paid. + |
| currency required | string This is the currency the transaction is to be carried out in. + |
| country required | string This is the country from which the transaction is been carried out from + |
| paymentReference required | string This is the unique identifier for a transaction, to be generated by merchant. + |
| email required | string This is the email of the customer. + |
| productId required | string This is the product id entered by the merchant. + |
| productDescription required | string This is the product description supplied by the merchant. + |
| callbackUrl required | string This is the callback url supplied by the merchant so that Seerbit can redirect back to it . + |
| hash required | string This is the hash of the concatenated string for payment. Check hash module for more clarification. + |
| hashType required | string This refers to the hash type used in generating the hash + |
{- "publicKey": "SBTESTPUBK_9sN3TuLgW6a9redEfY48cKKkUa09Pz2u",
- "amount": "10.00",
- "currency": "NGN",
- "country": "NG",
- "paymentReference": "P791090233047WZ73QN",
- "email": "mamadou.diouf@intouchgroup.net",
- "productId": "15013",
- "productDescription": "touch badge",
- "hash": "cfb5464ea21cce315ea72fb28f7ea45c4b61c443783eeff82dea98e57d445e15",
- "hashType": "sha256"
}{- "status": "SUCCESS",
- "data": {
- "code": "00",
- "payments": {
- "paymentStatus": "08"
}, - "message": "Successful"
}
}Create an order before payment
+{- "email": "test@mvaa.com",
- "publicKey": "SBTESTPUBK_9sN3TuLgW6a9redEfY48cKKkUa09Pz2u",
- "paymentReference": "2PPTG108Q13432E29P23R5L6W93I9",
- "fullName": "",
- "orderType": "BULK_BULK",
- "mobileNumber": "",
- "country": "NG",
- "currency": "NGN",
- "amount": "250.00",
- "orders": [
- {
- "orderId": "1235567-113227878-64332q",
- "currency": "NGN",
- "amount": "125.00",
- "productId": "0008162",
- "productDescription": "FRSC PLATE NUMBER"
}, - {
- "orderId": "2211567-2230578-754332",
- "currency": "NGN",
- "amount": "125.00",
- "productId": "4030018",
- "productDescription": "WEIGHING AND ADMIN CHARGES"
}
]
}{- "status": "SUCCESS",
- "data": {
- "code": "00",
- "payments": {
- "amount": 250,
- "paymentReference": "2PPTG108QL13432E29P23R5L6W93I9",
- "paymentStatus": "08",
}, - "message": "Successful"
}
}Create an order after payment
+{- "paymentReference": "0w0eimkizc41602513327447",
- "publicKey": "SBTESTPUBK_9sN3TuLgW6a9redEfY48cKKkUa09Pz2u",
- "orders": [
- {
- "amount": "100.00",
- "productId": 1089162,
- "productDescription": "FODD ITEM",
- "currency": "NGN"
}, - {
- "amount": "300.00",
- "productId": 3081869,
- "productDescription": "SKIN CARE",
- "currency": "NGN"
}
]
}{- "status": "SUCCESS",
- "data": {
- "code": "00",
- "message": "Successful",
- "products": [
- {
- "amount": 100,
- "currency": "NGN",
- "productId": 1089162,
- "productDescription": "FODD ITEM",
- "paymentReference": "0w0eimkizc41602513327447",
- "orderId": "wil61c8cd7",
- "createdAt": "2020-10-16T11:41:05.723Z",
- "updatedAt": "2020-10-16T11:41:05.723Z"
}, - {
- "amount": 300,
- "currency": "NGN",
- "productId": 3081869,
- "productDescription": "SKIN CARE",
- "paymentReference": "0w0eimkizc41602513327447",
- "orderId": "wil9b10fbe",
- "createdAt": "2020-10-16T11:41:07.170Z",
- "updatedAt": "2020-10-16T11:41:07.170Z"
}
]
}
}{- "paymentReference": "0w0eimkizc41602513327447",
- "publicKey": "SBTESTPUBK_9sN3TuLgW6a9redEfY48cKKkUa09Pz2u",
- "orders": [
- {
- "amount": "800.00",
- "productId": 1089162,
- "productDescription": "FODD ITEM UPDATE",
- "currency": "NGN",
- "orderId": "wil0f47b62"
}, - {
- "amount": "400.00",
- "productId": 3081869,
- "productDescription": "SKIN CARE UPDATE TEST",
- "currency": "NGN",
- "orderId": "wil1cc231f"
}
]
}{- "status": "SUCCESS",
- "data": {
- "code": "00",
- "message": "Successful",
- "products": [
- {
- "amount": 800,
- "currency": "NGN",
- "productId": 1089162,
- "productDescription": "FODD ITEM UPDATE",
- "paymentReference": "0w0eimkizc41602513327447",
- "orderId": "wil0f47b62"
}, - {
- "amount": 400,
- "currency": "NGN",
- "productId": 3081869,
- "productDescription": "SKIN CARE UPDATE TEST",
- "paymentReference": "0w0eimkizc41602513327447",
- "orderId": "wil1cc231f"
}
]
}
}{- "status": "SUCCESS",
- "data": {
- "code": "00",
- "message": "Successful",
- "products": [
- {
- "amount": 100,
- "currency": "NGN",
- "productId": 1089162,
- "productDescription": "FODD ITEM UPDATE",
- "paymentReference": "0w0eimkizc41602513327447",
- "orderId": "wil0f47b62",
- "createdAt": "2020-10-12T15:38:28.000Z",
- "updatedAt": "2020-10-17T21:56:54.000Z"
}, - {
- "amount": 300,
- "currency": "NGN",
- "productId": 1089162,
- "productDescription": "FODD ITEM UPDATE",
- "paymentReference": "0w0eimkizc41602513327447",
- "orderId": "wil0f47b62",
- "createdAt": "2020-10-12T15:38:29.000Z",
- "updatedAt": "2020-10-17T21:56:54.000Z"
}
]
}
}Get order details with payment reference
+{- "status": "SUCCESS",
- "data": {
- "code": "00",
- "message": "Successful",
- "products": [
- {
- "amount": 100,
- "currency": "NGN",
- "productId": 1089162,
- "productDescription": "FODD ITEM UPDATE",
- "paymentReference": "0w0eimkizc41602513327447",
- "orderId": "wil0f47b62",
- "createdAt": "2020-10-12T15:38:28.000Z",
- "updatedAt": "2020-10-17T21:56:54.000Z"
}, - {
- "amount": 300,
- "currency": "NGN",
- "productId": 1089162,
- "productDescription": "FODD ITEM UPDATE",
- "paymentReference": "0w0eimkizc41602513327447",
- "orderId": "wil0f47b62",
- "createdAt": "2020-10-12T15:38:29.000Z",
- "updatedAt": "2020-10-17T21:56:54.000Z"
}
]
}
}{- "status": "SUCCESS",
- "data": {
- "code": "00",
- "message": "Successful",
- "products": [
- {
- "amount": 100,
- "currency": "NGN",
- "productId": 1089162,
- "productDescription": "FODD ITEM UPDATE",
- "paymentReference": "0w0eimkizc41602513327447",
- "orderId": "wil0f47b62",
- "createdAt": "2020-10-12T15:38:28.000Z",
- "updatedAt": "2020-10-17T21:56:54.000Z"
}, - {
- "amount": 300,
- "currency": "NGN",
- "productId": 1089162,
- "productDescription": "FODD ITEM UPDATE",
- "paymentReference": "0w0eimkizc41602513327447",
- "orderId": "wil0f47b62",
- "createdAt": "2020-10-12T15:38:29.000Z",
- "updatedAt": "2020-10-17T21:56:54.000Z"
}
]
}
}Accept more payments with our unified payments API. Accept payments from all major cards and the most popular local and alternative payment methods all in a single integration.
+{- "fullName": "john doe",
- "email": "johndoe@gmail.com",
- "mobileNumber": 248360953,
- "publicKey": "SBPUBK_QGOX9NBAHWDYY1PAFSG2PTDOSSZYEWXM",
- "paymentReference": "O456S5077907982QWEuWAT05M",
- "deviceType": "nokia 3310",
- "sourceIP": "1.0.1.0",
- "currency": "GHS",
- "productDescription": "snacks",
- "country": "GH",
- "network": "MTN",
- "voucherCode": "",
- "fee": "0.00",
- "amount": "1.00",
- "productId": "grocery",
- "paymentType": "MOMO"
}{- "status": "SUCCESS",
- "data": {
- "code": "20",
- "payments": {
- "paymentReference": "VERS2FURTHERTESTAc722456784",
- "linkingReference": "F282866521599191373372"
}, - "message": "Transaction is pending"
}
}{- "status": "SUCCESS",
- "data": {
- "code": "00",
- "merchantBanks": [
- {
- "bankName": "Guarantee Trust Bank",
- "bankCode": "058",
- "url": null,
- "logo": null,
- "status": "ACTIVE",
- "minimumAmount": 100,
- "requiredFields": {
- "accountName": "YES",
- "accountNumber": "NO",
- "isBankCode": "YES",
- "bvn": "NO",
- "dateOfBirth": "NO",
- "mobileNumber": "NO"
}
}, - {
- "bankName": "United Bank for Africa",
- "bankCode": 27,
- "url": null,
- "logo": null,
- "status": "ACTIVE",
- "minimumAmount": 100,
- "requiredFields": {
- "accountName": "YES",
- "accountNumber": "YES",
- "isBankCode": "YES",
- "bvn": "YES",
- "dateOfBirth": "YES",
- "mobileNumber": "NO"
}
}, - {
- "bankName": "First Bank of Nigeria",
- "bankCode": 9,
- "url": null,
- "logo": null,
- "status": "ACTIVE",
- "minimumAmount": 100,
- "requiredFields": {
- "accountName": "NO",
- "accountNumber": "NO",
- "isBankCode": "YES",
- "bvn": "NO",
- "dateOfBirth": "NO",
- "mobileNumber": "NO"
}
}, - {
- "bankName": "Sterling Bank",
- "bankCode": 232,
- "url": null,
- "logo": null,
- "status": "ACTIVE",
- "minimumAmount": 100,
- "requiredFields": {
- "accountName": "YES",
- "accountNumber": "YES",
- "isBankCode": "YES",
- "bvn": "NO",
- "dateOfBirth": "NO",
- "mobileNumber": "YES"
}
}, - {
- "bankName": "Wema Bank",
- "bankCode": 29,
- "url": null,
- "logo": null,
- "status": "ACTIVE",
- "minimumAmount": 100,
- "requiredFields": {
- "accountName": "YES",
- "accountNumber": "YES",
- "isBankCode": "YES",
- "bvn": "NO",
- "dateOfBirth": "NO",
- "mobileNumber": "YES"
}
}, - {
- "bankName": "Zenith Bank",
- "bankCode": 47,
- "url": null,
- "logo": null,
- "status": "ACTIVE",
- "minimumAmount": 100,
- "requiredFields": {
- "accountName": "YES",
- "accountNumber": "YES",
- "isBankCode": "YES",
- "bvn": "YES",
- "dateOfBirth": "YES",
- "mobileNumber": "NO"
}
}
], - "message": "Successful"
}
}When making MOMO transfers, and OTP is required to complete the payment
+| linkingReference required | string This is the internal gateway reference + |
| otp required | string This is the TOKEN sent to customer’s phone or email + |
{- "linkingReference": "CF630837081601460887752",
- "otp": "81015"
}nullThis payment option is used to charge non 3d transactions
+{- "publicKey": "SBTESTPUBK_dhrpzbRpR34l6VmqkCFOKA94L5E1jSTu",
- "amount": "10.00",
- "fullName": "Diei Okechukwu Peter",
- "mobileNumber": 8030540611,
- "currency": "NGN",
- "country": "NG",
- "paymentReference": "NGN0000037Q35",
- "email": "okechukwu.diei2@gmail.com",
- "productId": "Foods",
- "productDescription": "RASPBERRY",
- "cardNumber": "5123450000000008",
- "expiryMonth": "05",
- "expiryYear": "21"
}{- "status": "SUCCESS",
- "data": {
- "code": "00",
- "payments": {
- "paymentReference": "NGN0100067Q35",
- "linkingReference": "SEERBIT146140441602959589412",
- "status": "CAPTURED"
}, - "card": {
- "bin": "512345",
- "last4": "0008",
- "token": "tk_edcac221-63e5-4baf-8846-4922af4a10e6"
}, - "message": "APPROVED"
}
}This Operation allows you to check the status of a transaction via the status check api. This is done by making a Get request to the endpoint below with your payment reference.
+{- "status": "SUCCESS",
- "data": {
- "code": "S20",
- "payments": {
- "amount": 100,
- "internationalChargedAmount": 155.2,
- "mobilenumber": 8033456599,
- "publicKey": "SBTESTPUBK_PjQ5dFOi522L383MlsQYUMAe6cZYviTF",
- "paymentType": "CARD",
- "productId": "Foods",
- "productDescription": "RASPBERRY",
- "maskedPan": "5123-45xx-xxxx-0008",
- "gatewayMessage": "Transaction is pending",
- "gatewayCode": "S20",
- "gatewayref": "F002672971602775508582",
- "mode": "test",
- "channelType": "Mastercard",
- "sourceIP": "127.0.0.1:3456",
- "deviceType": "Apple Laptop",
- "cardBin": "512345",
- "lastFourDigits": "0008",
- "type": "3DSECURE",
- "country": "NG",
- "currency": "NGN",
- "paymentReference": "SSQ22POtAQMVC85EQWB8",
- "processorCode": "S20",
- "processorMessage": "Transaction is pending",
- "reason": "Transaction is pending"
}, - "customers": {
- "customerId": "SBTfd3024f89b67e2f8a121",
- "customerName": "Kola Victor",
- "customerMobile": 8033456599,
- "customerEmail": "kolawole@gmail.com"
}, - "message": "Transaction is pending"
}
}This option is used to complete an account transaction, when OTP is required
+| linkingReference required | string This is the internal gateway reference + |
| otp required | string This is the TOKEN sent to customer’s phone or email + |
{- "linkingReference": "F092648971601293723061",
- "otp": "123456"
}{- "status": "SUCCESS",
- "data": {
- "code": "00",
- "payments": {
- "paymentReference": "VERS2FURTHERTESTAc722456784",
- "linkingReference": "F282866521599191373372",
- "authoption": [ ]
}, - "message": "Successful"
}
}In order to store your customers payment details, you need to pass some additional parameter when making the first payment request using the payments/tokenize endpoint, the Cvv field and pin are optional(this could be null). After the first payment is made, the payment details is collected and a token is generated for it which is then stored for future use.
+{- "publicKey": "SBPUBK_OMX6ZNRZPLIHQ9Y0ZG6FCNR0EAYIGIAT",
- "amount": "0.00",
- "fullName": "john doe",
- "mobileNumber": 8033456599,
- "currency": "NGN",
- "country": "NG",
- "paymentReference": "KES0092992991",
- "email": "johndoe@gmail.com",
- "productId": "Foods",
- "productDescription": "RASPBERRY",
- "cardNumber": "5123450000000008",
- "cvv": "100",
- "expiryMonth": "05",
- "expiryYear": "21"
}{- "status": "SUCCESS",
- "data": {
- "code": "S20",
- "payments": {
- "paymentReference": "KES0092992991",
- "linkingReference": "SEERBIT428813491603106540088",
- "status": "TOKENIZED",
- "card": {
- "bin": "512345",
- "last4": "0008",
- "token": "tk_fa12ee73-9807-4a8a-bc91-8e81ca3c47ce"
}
}
}
}In SeerBit API, the term “authorisation” indicates, that payment is authorised but not captured. This allows a merchant to cancel transaction at their discretion, typically based but not limited to fraud-related activities. This authorisation state is valid for a limited period of time, which provides a window to cancel the transaction.
+{- "paymentReference": "PREAUTH124456789798765k3K1CB0",
- "publicKey": "SBTESTPUBK_dhrpzbRpR34l6VmqkCFOKA94L5E1jSTu",
- "cardNumber": "5123450000000008",
- "cvv": "100",
- "expiryMonth": "05",
- "expiryYear": "21",
- "currency": "NGN",
- "country": "NG",
- "productDescription": "preauth test capture",
- "amount": "100.00",
- "email": "johndoe@gmail.com",
- "fullName": "john doe"
}{- "status": "SUCCESS",
- "data": {
- "code": "00",
- "payments": {
- "paymentReference": "PREAUTH1244567890987654321CB0",
- "linkingReference": "F938003831601492624719",
- "status": "AUTHORIZED",
- "card": {
- "bin": "512345",
- "last4": "0008",
- "token": "tk_40a0503d-4586-4220-a69e-c69cc9293016"
}
}, - "message": "APPROVED"
}
}PIN and CVV are not Required to complete Transaction. Authorization is completed on 3DS.
+{- "paymentReference": "30451B789S987643108hgfdsfP6W",
- "publicKey": "SBPUBK_OMX6ZNRZPLIHQ9Y0ZG6FCNR0EAYIGIAT",
- "cardNumber": "5242820813772165",
- "cvv": "865",
- "expiryMonth": "02",
- "expiryYear": "22",
- "currency": "NGN",
- "country": "NG",
- "productDescription": "preauth test capture",
- "amount": "1.00",
- "email": "johndoe@gmail.com",
- "fullName": "john doe",
}{- "status": "SUCCESS",
- "data": {
- "code": "00",
- "payments": {
- "paymentReference": "30451A789S987643128hgfdsfP6W",
- "linkingReference": "F535459411601493328771",
- "status": "AUTHORISATION PENDING"
}, - "message": "Transaction is pending"
}
}Captures a payment if supported by the payment method.
+| paymentReference required | string This is the unique identifier for a transaction, to be generated by merchant. + |
| currency required | string This is the currency the transaction is to be carried out in. + |
| country required | string This is the country the customer is doing the transaction from + |
| productDescription required | string This is the product description supplied by the merchant. + |
| amount required | string This is the amount to be paid. + |
| publicKey required | string This is the merchant public key. + |
{- "paymentReference": "PREAUTH124456789798765k321CB0",
- "currency": "NGN",
- "country": "NG",
- "productDescription": "preauth test capture",
- "amount": "5.10",
- "publicKey": "SBTESTPUBK_dhrpzbRpR34l6VmqkCFOKA94L5E1jSTu"
}{- "status": "SUCCESS",
- "data": {
- "code": "00",
- "payments": {
- "paymentReference": "PREAUTH1244567890987654321CB0",
- "status": "PARTIALLY_CAPTURED",
- "card": {
- "bin": "512345",
- "last4": "0008",
- "token": "tk_40a0503d-4586-4220-a69e-c69cc9293016"
}
}, - "message": "APPROVED"
}
}Refunds a payment if supported by the payment method.
+| paymentReference required | string This is the unique identifier for a transaction, to be generated by merchant. + |
| currency required | string This is the currency the transaction is to be carried out in. + |
| country required | string This is the country the customer is doing the transaction from + |
| productDescription required | string This is the product description supplied by the merchant. + |
| amount required | string This is the amount to be paid. + |
| publicKey required | string This is the merchant public key. + |
{- "paymentReference": "PREAUTH124456789798765432CB0",
- "currency": "NGN",
- "country": "NG",
- "productDescription": "preauth test capture",
- "amount": "5.10",
- "publicKey": "SBTESTPUBK_dhrpzbRpR34l6VmqkCFOKA94L5E1jSTu"
}{- "status": "SUCCESS",
- "data": {
- "code": "00",
- "payments": {
- "paymentReference": "PREAUTH1244567890987654321CB0",
- "status": "REFUNDED",
- "card": {
- "bin": "512345",
- "last4": "0008",
- "token": "tk_40a0503d-4586-4220-a69e-c69cc9293016"
}
}, - "message": "APPROVED"
}
}Cancel a payment if supported by the payment method.
+| paymentReference required | string This is the unique identifier for a transaction, to be generated by merchant. + |
| publicKey required | string This is the merchant public key. + |
| country required | string This is the country the customer is doing the transaction from + |
| productDescription required | string This is the product description supplied by the merchant. + |
{- "paymentReference": "PREAUTH124456789798765k3L1CB0",
- "publicKey": "SBTESTPUBK_dhrpzbRpR34l6VmqkCFOKA94L5E1jSTu",
- "country": "NG",
- "productDescription": "test void"
}{- "status": "SUCCESS",
- "data": {
- "code": "00",
- "payments": {
- "paymentReference": "PREAUTH1244567890987654321CB0",
- "status": "CANCELLED",
- "card": {
- "bin": "512345",
- "last4": "0008"
}
}, - "message": "APPROVED"
}
}To complete this transaction, merchant is expected to redirect to the 3DSecure site via the redirect URL provided with the response below. However if the redirect url is not returned and the code is S20 and the message is transaction is pending, the Validate OTP endpoint should be called as the customer would have received a token either by email or sms on the customers phone. To get the subscription created or the status of a subscription for the customer, the GET Subscription endpoint is called by passing the paymentReference as billingId.
+{- "publicKey": "SBTESTPUBK_9sN3TuLgW6a9redEfY48cKKkUa09Pz2u",
- "paymentReference": "TPR2181t55PKR540RPP1U1W4392WO",
- "planId": "",
- "cardNumber": "5123450000000008",
- "expiryMonth": "05",
- "expiryYear": "21",
- "cvv": "100",
- "amount": "1000.00",
- "currency": "NGN",
- "productDescription": "Pilot Test Subscription",
- "productId": "Terrain",
- "country": "NG",
- "startDate": "2020-02-25 00:00:00",
- "cardName": "Kolade Samuel",
- "billingCycle": "WEEKLY",
- "email": "akintoyekolawole@gmail.com",
- "mobileNumber": "08033456500",
- "customerId": "12345678901234",
- "pin": "0999",
- "type": "3DSECURE",
- "billingPeriod": "1",
- "subscriptionAmount": true
}{- "status": "SUCCESS",
- "data": {
- "code": "S20",
- "payments": {
- "paymentReference": "TPR2181t55PER540RPP1U1W4392WO",
- "linkingReference": "F365652421603189345033",
}, - "message": "Transaction is pending"
}
}{- "status": "SUCCESS",
- "data": {
- "subscriptions": {
- "publicKey": "SBTESTPUBK_9sN3TuLgW6a9redEfY48cKKkUa09Pz2u",
- "amount": 100,
- "country": "NG",
- "customerId": "SBT4d26d47dcb33f9430507",
- "cardName": "Kolade Samuel",
- "cardNumber": "5123-45xx-xxxx-0008",
- "plan": "c6d4096c8244b5e0dbda",
- "status": "INACTIVE",
- "billingId": "TPR2181t55PER542RPP1U1W4391WO",
- "authorizationCode": "5f818a9f1191c423446b",
- "startDate": "2020-02-25T00:00:00.000Z",
- "createdAt": 1601385265000
}, - "code": "00",
- "message": "Successful"
}
}