Charge Subscription
Authorise Charge - AuthorizationCode is gotten when a subscription has been successfully completed
Authentication
Request Body
Response Body
1
URL: https://seerbitapi.com/api/v2/recurring/charge
2
Authorization Bearer {Token}
3
POST
Copied!
1
{
2
"amount":"200",
3
"publicKey":"publicKey",
4
"email":"[email protected]",
5
"authorizationCode":"1234567898765325",
6
"paymentReference":"2938765582R37065687631",
7
"currency":"NGN"
8
}
Copied!
1
{
2
"status": "SUCCESS",
3
"data": {
4
"code": "00",
5
"payments": {
6
"code": "00",
7
"message": "Successful",
8
"paymentReference": "2938765582R37065687631",
9
"publicKey": "SBTEST**************************viTF",
10
"amount": "200",
11
"currency": "NGN",
12
"country": "NG",
13
"email": "[email protected]",
14
"productDescription": "Authorised charge"
15
},
16
"message": "Successful"
17
}
18
}
Copied!
Parameter
Description
Type
amount
this is the amount paid
string
required
email
this is the email of the customer
string
required
authorizationCode
this is returned when subscription is created
string
required
paymentReference
this is the unique identifier for a transaction
string
required
currency
this is the currency the transaction is to be carried out in
string
required
Copy link