For the complete documentation index, see llms.txt. This page is also available as Markdown.

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"
     }
 }

Last updated