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

Authentication

Each API request that you make to SeerBit must be authenticated using the bearer token authentication type.

Authentication

POST https://seerbitapi.com/api/v2/encrypt/keys

Request Body

Name
Type
Description

key*

string

consists of your privatekey and publickey seperated by a '.'

{
    "status": "SUCCESS",
    "data": {
    "code": "00",
    "EncryptedSecKey": {
	"encryptedKey": "SNt8kjeVjsdTG4lPlwg6sTvpVAay2RA7hoCEzHPkIQa+MNfDepx4VBr5JMgLb5Q5anq9XoN2pXU850bumqBWFVw1T1ZW5w8N+Sq/"
    },    
    "message": "Successful"
    }
}
{
  "message": "Bad Request",
  "error": "There has been a problem with reading or understanding the request."
}
{
  "error": "Not Found"
}
{
 "message": "Internal Server Error",
 "error": "PROCESSING"
}
curl --location --request OPTIONS 'https://seerbitapi.com/api/v2/encrypt/keys' \
--header 'Content-Type: application/json' \
--data-raw '{
	"key": "merchantPrivateKey.merchantPublicKey"
}'
PreviousIntroductionNextError Handling

Last updated 10 months ago