Bulk Finish Subscriptions
Finish the subscriptions in bulk.
Post
https://store.payproglobal.com/api/Subscriptions/BulkFinishSubscriptions
Request Parameters
application/json
BulkUpdateSubscriptionsRequestModel
object
subscriptionIds
array[integer]
required
The list of subscription IDs that need to be finished.
sendVendorEmail
boolean
optional
Possible values are true or false.
If true, it sends a vendor an email that informs
about the finished subscriptions, false otherwise.
By default, no email notification is sent.
If true, it sends a vendor an email that informs
about the finished subscriptions, false otherwise.
By default, no email notification is sent.
sendCustomerEmail
boolean
optional
Possible values are true or false.
If true, it sends a customer an email that informs
about the finished subscriptions, false otherwise.
By default, no email notification is sent.
If true, it sends a customer an email that informs
about the finished subscriptions, false otherwise.
By default, no email notification is sent.
sendIpn
boolean
optional
Possible values are true or false.
If true, it sends IPN/webhook notification:
IPN_TYPE_ID=11, IPN_TYPE_NAME=SubscriptionFinished.
By default, no IPN/webhook notification is sent.
If true, it sends IPN/webhook notification:
IPN_TYPE_ID=11, IPN_TYPE_NAME=SubscriptionFinished.
By default, no IPN/webhook notification is sent.
vendorAccountId
integer
required
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
string
required
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/json
BulkUpdateSubscriptionsResponseModel
object
message
string
The notification on the API request processing.
request
object
subscriptionIds
array[integer]
required
The list of subscription IDs that need to be finished.
sendVendorEmail
boolean
Possible values are true or false.
If true, it sends a vendor an email that informs
about the finished subscriptions, false otherwise.
By default, no email notification is sent.
If true, it sends a vendor an email that informs
about the finished subscriptions, false otherwise.
By default, no email notification is sent.
sendCustomerEmail
boolean
Possible values are true or false.
If true, it sends a customer an email that informs
about the finished subscriptions, false otherwise.
By default, no email notification is sent.
If true, it sends a customer an email that informs
about the finished subscriptions, false otherwise.
By default, no email notification is sent.
sendIpn
boolean
Possible values are true or false.
If true, it sends IPN/webhook notification:
IPN_TYPE_ID=11, IPN_TYPE_NAME=SubscriptionFinished.
By default, no IPN/webhook notification is sent.
If true, it sends IPN/webhook notification:
IPN_TYPE_ID=11, IPN_TYPE_NAME=SubscriptionFinished.
By default, no IPN/webhook notification is sent.
vendorAccountId
integer
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
string
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.
errors
array[object]
propertyWithError
string
propertyErrorMessages
array[string]
isSuccess
boolean
Request Sample
{
"subscriptionIds": [
1111111,
1111111
],
"sendVendorEmail": true,
"sendCustomerEmail": true,
"sendIpn": true,
"vendorAccountId": 123456,
"apiSecretKey": "your_api_secret_key"
}
Response Sample
{
"message": "Bulk Finish 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
}