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

Get Merchant Subscription

The Get Merchant Subscription returns all customer subscriptions. Included in the response is authorizationCode which can be used for separate charges to the customer

GET https://seerbitapi.com/api/v2/recurring/publicKey/{{publiKey}}

{
    "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"
     }
 }
PreviousUpdate Customer SubscriptionNextVirtual Account

Last updated 9 months ago