Charge Subscription
The code snippet below shows an example request for charging a customer with an authorizationCode
/recurring/charge
POST
https://seerbitapi.com/api/v2/recurring/charge
Headers
Authorization
String
Bearer Token
Request Body
publicKey*
String
This is the merchant public key.
amount*
String
This is the amount to be paid.
email*
String
This is the email of the customer.
country*
String
This is the country from which the transaction is been carried out from
paymentReference*
String
This is the unique identifier for a transaction, to be generated by merchant.
planId
String
the planId represents a product of the merchant that the customer wants to pay for e.g DSTV bouqet.
CardNumber*
String
this is the name of the cardholder
expiryYear*
String
this is the card's expiry year
expiryMonth*
String
this is the card's expiry month
cvv*
String
this is the 3 digit code behind the debit card
productDescription*
String
this is the product description supplied by the merchant
billingCycle*
String
this is the rate of reoccurrence of the charge to the tokenized card
subscriptionAmount*
boolean
this is passed as true if the subscription amount is to be charged at the point of creating subscription. It is passed as false if the default amount of SeerBit is to be charged at the point of creating subscription.
mobileNumber*
String
customer's number
customerId
String
billingPeriod*
String
this is the number of times seerBit will do a recurrent billing
redirectUrl*
String
this is returned when the payment link service is called
Last updated