Update Subscription

URL:  https://seerbitapi.com/api/v2/recurring/updates
Authorization: Bearer {Token}
"Content-Type: application/json"

Update Subscription

PUT https://seerbitapi.com/api/v2/recurring/updates

For Credit cards, you can update the previously stored payment details. This may be required, for example when the card expiry date or the billing/delivery address changes. The status here helps to activate and deactivate a subscription

Path Parameters

Name
Type
Description

amount

String

This is the amount to be paid

currency

String

This is the currency of the transaction

country

String

This is the country the transaction is to be carried out in

mobileNumber

String

This is the mobile number of the customer

publicKey

String

This is the public key of the merchant

status

String

This is the status of the subscription (active or inactive)

{
    "status": "SUCCESS",
    "data": {
        "subscriptions": {
                           "publicKey": "SBTEST**************************viTF", 
                           "amount": "20000",
                           "country": "NG",
                           "customerId": "ba981a0b7ed1c68ad245",
                           "cardName": "oginni tosin",
                           "cardNumber": "5123-45xx-xxxx-0008",
                           "plan": "80b0854b35a0e279efc3",
                           "status": "INACTIVE",
                           "billingId": "PUBK_PjQ5d1578650322483", 
                           "authorizationCode": "ddfce36aa4f3abc7cf72",
                           "startDate": "2020-10-01 10:58:25",
                           "createdAt": 1578650353000
                         },
        "code": "00",
        "message": "Successful"
    }
}

Last updated