Bulk Renew Subscriptions
Renew the subscriptions in bulk.
Post
https://store.payproglobal.com/api/Subscriptions/BulkRenewSubscriptionsRequest Parameters
application/jsonBulkUpdateSubscriptionsRequestModel
objectsubscriptionIds
array[integer]required
The list of subscription IDs that need to be renewed.
sendVendorEmail
booleanoptional
Possible values are true or false.
If true, it sends a vendor an email that informs
about the renewed subscriptions, false otherwise.
By default, no email notification is sent.
If true, it sends a vendor an email that informs
about the renewed subscriptions, false otherwise.
By default, no email notification is sent.
sendCustomerEmail
booleanoptional
Possible values are true or false.
If true, it sends a customer an email that informs
about the renewed subscriptions, false otherwise.
By default, no email notification is sent.
If true, it sends a customer an email that informs
about the renewed subscriptions, false otherwise.
By default, no email notification is sent.
sendIpn
booleanoptional
Possible values are true or false.
If true, it sends IPN/webhook notification:
IPN_TYPE_ID=11, IPN_TYPE_NAME=SubscriptionRenewed.
By default, no IPN/webhook notification is sent.
If true, it sends IPN/webhook notification:
IPN_TYPE_ID=11, IPN_TYPE_NAME=SubscriptionRenewed.
By default, no IPN/webhook notification is sent.
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 tab.
that was generated specifically for authenticating API requests.
It can be found in Store settings > General settings > Integration tab.
Response Parameters
application/jsonBulkUpdateSubscriptionsResponseModel
objectmessage
stringThe notification on the API request processing.
request
objectsubscriptionIds
array[integer]required
The list of subscription IDs that need to be renewed.
sendVendorEmail
booleanPossible values are true or false.
If true, it sends a vendor an email that informs
about the renewed subscriptions, false otherwise.
By default, no email notification is sent.
If true, it sends a vendor an email that informs
about the renewed subscriptions, false otherwise.
By default, no email notification is sent.
sendCustomerEmail
booleanPossible values are true or false.
If true, it sends a customer an email that informs
about the renewed subscriptions, false otherwise.
By default, no email notification is sent.
If true, it sends a customer an email that informs
about the renewed subscriptions, false otherwise.
By default, no email notification is sent.
sendIpn
booleanPossible values are true or false.
If true, it sends IPN/webhook notification:
IPN_TYPE_ID=11, IPN_TYPE_NAME=SubscriptionRenewed.
By default, no IPN/webhook notification is sent.
If true, it sends IPN/webhook notification:
IPN_TYPE_ID=11, IPN_TYPE_NAME=SubscriptionRenewed.
By default, no IPN/webhook notification is sent.
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 tab.
that was generated specifically for authenticating API requests.
It can be found in Store settings > General settings > Integration tab.
errors
array[object]propertyWithError
stringpropertyErrorMessages
array[string]isSuccess
booleanRequest Sample
{
"subscriptionIds": [
1111111,
1111111
],
"sendVendorEmail": true,
"sendCustomerEmail": true,
"sendIpn": true,
"vendorAccountId": 123456,
"apiSecretKey": "your_api_secret_key"
}
Response Sample
{
"message": "Bulk Renew Subscriptions request accepted and scheduled for processing.",
"request": {
"subscriptionIds": [
1111111,
1111111
],
"sendVendorEmail": true,
"sendCustomerEmail": true,
"sendIpn": true,
"vendorAccountId": 123456,
"apiSecretKey": "your_api_secret_key"
},
"errors": [],
"isSuccess": true
}