Charge Subscription

/recurring/charge

POST https://seerbitapi.com/api/v2/recurring/charge

Headers

NameTypeDescription

Authorization

String

Bearer Token

Request Body

NameTypeDescription

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


{
    "status": "SUCCESS",
    "data": {
        "code": "00",
        "payments": {
                       "code": "00",
                       "message": "Successful",
                       "paymentReference": "2938765582R37065687631",
                       "publicKey": "SBTEST**************************viTF",
                       "amount": "200",
                       "currency": "NGN",
                       "country": "NG",
                       "email": "john.doe@centricgateway.com", 
                       "productDescription": "Authorised charge"
                   },
        "message": "Successful"
    }
}

Last updated