Get Customer Subscription

URL: https://seerbitapi.com/api/v2/recurring/{publicKey}/customerId/{customerId}
Authorization: Bearer {Token}
"Content-Type: application/json"

{
    "status": "SUCCESS",
    "data": {
        "subscriptions": [
            {
            "publicKey": "BPTEST**************************viTF",
            "amount": "100",
            "country": "NG",
            "customerId": "ba981a0b7ed1c68ad245", 
            "cardName": "oginni tosin",
            "cardNumber": "5123-45xx-xxxx-0008", 
            "plan": "ead5e697f42c1cd60813",
            "status": "ACTIVE",
            "billingId": "PUBK_PjQ5d1578649732262", 
            "authorizationCode": "145a3bb3418824c14d65", 
            "startDate": "2020-10-01 10:47:49", 
            "createdAt": 1578649752000
            }, 
            {
            "publicKey": "BPTEST**************************viTF",
            "amount": "20000",
            "country": "NG",
            "customerId": "ba981a0b7ed1c68ad245", 
            "cardName": "oginni tosin", 
            "cardNumber": "5123-45xx-xxxx-0008", 
            "plan": "80b0854b35a0e279efc3", 
            "status": "INACTIVE",
            "billingId": "PUBK_PjQ5d1578650322483", 
            "authorizationCode": "ddfce36aa4f3abc7cf72", 
            "startDate": "2020-10-01 10:58:25", 
            "createdAt": 1578650353000
            }, 
            {
            "publicKey": "BPTEST**************************viTF",
            "amount": "100",
            "country": "NG",
            "customerId": "ba981a0b7ed1c68ad245", 
            "cardName": "oginni tosin",
            "cardNumber": "5123-45xx-xxxx-0008", 
            "plan": "e99b3398765fecceccc4",
            "status": "ACTIVE",
            "billingId": "PUBK_PjQ5d1578650831933", 
            "authorizationCode": "e4260bc97097b30d9d84", 
            "startDate": "2020-10-01 11:06:57", 
            "createdAt": 1578650847000
            }, 
            {
            "publicKey": "BPTEST**************************viTF",
            "amount": "100",
            "country": "NG",
            "customerId": "ba981a0b7ed1c68ad245", 
            "cardName": "oginni tosin",
            "cardNumber": "5123-45xx-xxxx-0008", 
            "plan": "ee485235073aa62c1aa9",
            "status": "ACTIVE",
            "billingId": "PUBK_PjQ5d1578652892870", 
            "authorizationCode": "d272e1a52de58e8db9bc", 
            "startDate": "2020-10-01 11:41:14", 
            "createdAt": 1578652912000
            } 
        ],
        "code": "00",

Parameter
Description
Type

Http Method

this is the http method that is allowed and expected. This service expects a GET method

string

required

Authorization

as described in the documentation, this service requires an authentication

string

required

Code

this is the service response code from Parallex Pay

string

message

this is the service reponse message from Parallex Pay

string

status

this indicates the status of a subscription (active or inactive)

string

required

plan

the plan represents the product the customer is wants to pay for e.g tithes

string

publicKey

this is the merchant public key

string

required

cardNumber

the debit card number

string

required

amount

this is the amount to be paid

string

required

currency

this is the currency the transaction is to be carried out in

string

required

country

this is the country the customer is doing the transaction from

string

required

billingPeriod

the number of times Parallex Pay will do a recurring billing

string

required

startDate

this is the day to commence billing of customers

string

required

cardName

this is the name of the cardholder

string

required

type

this is the authentication type (PIN, 3D secure)

string

required

Last updated