Get Merchant subscriptions

get
Retrive Subscription

https://seerbitapi.com/api/v2/recurring/publicKey/SBTESTPUBK_PjQ5dFOi522L383 MlsQYUMAe6cZYviTF
Authorization Required
Request
Response
Request
Path Parameters
URL
required
string
This is the link accross all subscriptions performed by the customers of a merchant
HTTP method
required
string
This is the http method that is allowed and expected. This service expects a GET method
Authorization
required
string
As described above this service requires authentication
code
optional
string
This is the service response code from seerbit
message
optional
string
This is the service response message
publicKey
required
string
This is the public key of the merchnat
amount
required
string
This is amount to be paid
currency
required
string
This is the currency the transaction is to be carried out in.
paymentReference
required
string
This is the unique identifier for a transaction generated by the merchant
plan
optional
string
The plan represents a product the customer wants to pay for
cardNumber
required
string
This is the number on debit card
customerID
required
string
This is the reference unique to the customer
cardName
optional
string
This is the name on the debit card
startDate
required
string
This is the day to commence billing of the customer
status
required
string
This indicates the status of the transaction
country
required
string
This is the country the customer is doing the transaction from
authorizationCode
optional
string
Thisis returned when subscription is created,. It is used by the merchant to pass recurring debits to customers account
type
required
string
This is the authentication type (PIN, 3D SECURE)
billingPeriod
required
string
This is the number of times seerbit will do a recurrent billing
Response
200: OK
Response
URL:https://stg-backend.seerbitapi.com/api/v2/recurring/publicKey/SBTESTPUBK_PjQ5dFOi522L383 MlsQYUMAe6cZYviTF
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
},
{
"publicKey":"SBTESTPUBK_PjQ5dFOi522L383MlsQYUMAe6cZYviTF",
"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": "SBTESTPUBK_PjQ5dFOi522L383MlsQYUMAe6cZYviTF",
"amount": "1000",
"country": "NG",
"customerId": "ba981a0b7ed1c68ad245",
"cardName": "oginni tosin",
"cardNumber": "5123-45xx-xxxx-0008",
"plan": "80b0854b35a0e279efc3",
"status": "ACTIVE",
"billingId": "PUBK_PjQ5d1578650322483",
"authorizationCode": "ddfce36aa4f3abc7cf72",
"startDate": "2020-10-01 10:58:25",
"createdAt": 1578650353000
},
{
"publicKey": "SBTESTPUBK_PjQ5dFOi522L383MlsQYUMAe6cZYviTF",
"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": "SBTESTPUBK_PjQ5dFOi522L383MlsQYUMAe6cZYviTF",
"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
},
{
"publicKey": "SBTESTPUBK_PjQ5dFOi522L383MlsQYUMAe6cZYviTF",
"amount": "20",
"country": "NG",
"customerId": "651d33a62ad69c9f37c4",
"cardName": "Bola Olat",
"cardNumber": "2223-00xx-xxxx-0007",
"plan": "ae702f51220000722dca",
"status": "ACTIVE",
"billingId": "WQ6676WPOpr12348o",
"authorizationCode": "307edc030974b2f17fad",
"startDate": "2019-01-11 00:00:00",
"createdAt": 1578669346000
},
{
"publicKey": "SBTESTPUBK_PjQ5dFOi522L383MlsQYUMAe6cZYviTF",
"amount": "20",
"country": "NG",
"customerId": "651d33a62ad69c9f37c4",
"cardName": "Bola Olat",
"cardNumber": "2223-00xx-xxxx-0007",
"plan": "ae702f51220000722dca",
"status": "ACTIVE",
"billingId": "WQ6676WQPOpW123487",
"authorizationCode": "116fbf96285f34bd5064",
"nextBillDate": "2020-04-10 00:00:00",
"startDate": "2020-01-10 00:00:00",
"createdAt": 1578670117000
},
{
"publicKey": "SBTESTPUBK_PjQ5dFOi522L383MlsQYUMAe6cZYviTF",
"amount": "20",
"country": "NG",
"customerId": "651d33a62ad69c9f37c4",
"cardName": "Bola Olat",
"cardNumber": "2223-00xx-xxxx-0007",
"plan": "ae702f51220000722dca",
"status": "ACTIVE",
"billingId": "WQ6676WQPAOpW123487",
"authorizationCode":
"5edda9a992b307bc1f43",
"nextBillDate": "2020-04-10 00:00:00",
"startDate": "2020-01-10 00:00:00",
"createdAt": 1578670159000
},
{
"publicKey": "SBTESTPUBK_PjQ5dFOi522L383MlsQYUMAe6cZYviTF",
"amount": "20",
"country": "NG",
"customerId": "651d33a62ad69c9f37c4",
"cardName": "Bola Olat",
"cardNumber": "2223-00xx-xxxx-0007",
"plan": "ae702f51220000722dca",
"status": "ACTIVE",
"billingId": "WQ6676WQPAOpW12233487",
"authorizationCode": "32a04b808e2e4be87197",
"startDate": "2020-01-11 00:00:00",
"createdAt": 1578670698000
},
{
"publicKey": "SBTESTPUBK_PjQ5dFOi522L383MlsQYUMAe6cZYviTF",
"amount": "20",
"country": "NG",
"customerId": "651d33a62ad69c9f37c4",
"cardName": "Bola Olat",
"cardNumber": "2223-00xx-xxxx-0007",
"plan": "ae702f51220000722dca",
"status": "ACTIVE",
"billingId": "W667TTQPAO12233454871",
"authorizationCode": "e21daad33d3f6fb3c4bb",
"startDate": "2020-01-11 00:00:00",
"createdAt": 1578690622000
} ],
"code": "00",
"message": "successful"
}
}