Get Subscription Staus

get
Transaction Subscription

https://seerbitapi.com/api/v2/recurring/billingId/PUBK_PjQ5d1578650322483
Request
Response
Request
Path Parameters
publicKey
required
string
This is the merchant public key
amount
required
string
This is the amount to be paid
country
required
string
This is the country the customer is doing the transaction from
customerId
required
string
This is the reference unique to the customer
cardName
optional
string
This is the name on the payment card
cardNumber
required
string
This is the number on debit card
plan
optional
string
The plan represents a product the customer wants to pay for
status
required
string
This indicates the status of subscription (active or inactive)
authorizationCode
required
string
This is returned when subscription is created . it is used by the merchant to pass recurring debits to customers account
startDate
required
string
This is the day to commence billing of the customer
Response
200: OK
Response
URL: https://stg-backend.seerbitapi.com/api/v2/recurring/billingId/PUBK_PjQ5d1578650322483
Authorization: Bearer SECRET_KEY
"Content-Type: application/json"
{
"status": "SUCCESS",
"data": {
"subscriptions": {
"publicKey": "SBTESTPUBK_PjQ5dFOi522L383MlsQYUMAe6cZYviTF",
"amount": "20",
"country": "NG",
"customerId": "651d33a62ad69c9f37c4",
"cardName": "Bola Olat",
"cardNumber": "2223-00xx-xxxx-0007",
"plan": "ae702f51220000722dca",
"status": "ACTIVE",
"billingId": "WQ6676yPOpr12348o",
"authorizationCode": "2beb0ccdd347e604552a",
"startDate": "2019-01-11 00:00:00",
"createdAt": 1578648329000
},
"code": "00",
"message": "Successful"
}
}