Update Customer Subscription
The code snippet below shows an example request for updating a subscription
POST
https://seerbitapi.com/eactrecurrent/updates
curl --location --request PUT 'https://seerbitapi.com/api/v2/recurring/updates' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_ENCRYPTED_KEY' \
--data '{
"amount":"20000",
"currency":"NGN",
"country":"NG",
"mobileNumber":"08033456500",
"billingId":"PUBK_PjQ5d1578650322483",
"publicKey":"YOUR_PULIC_KEY",
"status":"INACTIVE"
}'
"status": "SUCCESS",
"data": {
"subscriptions": {
"publicKey": "SBTEST**************************viTF",
"amount": "20000",
"country": "NG",
"customerId": "ba981a0b7ed1c68ad245",
"cardName": "Jane Smith",
"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"
}