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

Get Customer Subscription

The code snippet below shows an example response to get customer subscription by customerId

GEThttps://seerbitapi.com/api/v2/recurring/{publicKey}/customerId/{customerId}

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

Last updated