Section J - Change billing cycle API
J1 General Information
GET Method :
/api/v1/change_billing_cycle/< user _id > with the following data:
Input :
Argument | Mandatory | Value |
---|---|---|
userId | yes | Numeric < Id of the user > |
GET Method :
/api/v1/change_billing_cycle/< user _id >/< billing_period>/
Input :
Argument | Mandatory | Value |
---|---|---|
userId | yes | Numeric < Id of the user > |
billingPeriod | yes | Text < monthly, weekly, daily > |
Value | yes | Numeric |
J2 Sample Output
{
"status":“success”,
"errorCode" = 200,
“message”:”billing cycle updated”
}