Change Renewal Type
Update the subscription renewal type.
Post
https://store.payproglobal.com/api/Subscriptions/ChangeRenewalTypeRequest Parameters
application/jsonUpdateRenewalTypeRequestModel
objectrenewalTypeId
integerrequired
The new subscription renewal type you want to apply. The available type IDs: 1 - Manual, 2 - Auto.
subscriptionId
integerrequired
The subscription ID that needs to be updated.
vendorAccountId
integerrequired
The vendor account ID identifies your PayPro Global account.
It can be found in Account settings > Business info.
It can be found in Account settings > Business info.
apiSecretKey
stringrequired
The vendor account API secret key is a unique key
that was generated specifically for authenticating API requests.
It can be found in Store settings > General settings > Integration.
that was generated specifically for authenticating API requests.
It can be found in Store settings > General settings > Integration.
Response Parameters
application/jsonUpdateRenewalTypeResponseModel
objectrequest
objectrenewalTypeId
integerThe new subscription renewal type you want to apply. The available type IDs: 1 - Manual, 2 - Auto.
subscriptionId
integerThe subscription ID that needs to be updated.
vendorAccountId
integerThe vendor account ID identifies your PayPro Global account.
It can be found in Account settings > Business info.
It can be found in Account settings > Business info.
apiSecretKey
stringThe vendor account API secret key is a unique key
that was generated specifically for authenticating API requests.
It can be found in Store settings > General settings > Integration.
that was generated specifically for authenticating API requests.
It can be found in Store settings > General settings > Integration.
errors
array[object]propertyWithError
stringpropertyErrorMessages
array[string]isSuccess
booleanRequest Sample
{
"renewalTypeId": 1,
"subscriptionId": 1111111,
"vendorAccountId": 123456,
"apiSecretKey": "your_api_secret_key"
}
Response Sample
{
"request": {
"renewalTypeId": 1,
"subscriptionId": 1111111,
"vendorAccountId": 123456,
"apiSecretKey": "your_api_secret_key"
},
"errors": [],
"isSuccess": true
}