Change Custom Fields
Update the subscription custom fields.
Post
https://store.payproglobal.com/api/Subscriptions/ChangeCustomFieldsRequest Parameters
application/jsonUpdateCustomFieldsRequestModel
objectcustomFields
dictionary<string,string>required
The new custom field value that needs to be updated in the subscription.
It is a dictionary of string [key] and string [value].
It is a dictionary of string [key] and string [value].
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 tab.
that was generated specifically for authenticating API requests.
It can be found in Store settings > General settings > Integration tab.
Response Parameters
application/jsonUpdateCustomFieldsResponseModel
objectrequest
objectcustomFields
dictionary<string,string>The new custom field value that needs to be updated in the subscription.
It is a dictionary of string [key] and string [value].
It is a dictionary of string [key] and string [value].
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 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
{
"customFields": {
"some-key-1": "your custom value 1",
"some-key-2": "your custom value 2"
},
"subscriptionId": 1111111,
"vendorAccountId": 123456,
"apiSecretKey": "your_api_secret_key"
}
Response Sample
{
"request": {
"customFields": {
"some-key-1": "your custom value 1",
"some-key-2": "your custom value 2"
},
"subscriptionId": 1111111,
"vendorAccountId": 123456,
"apiSecretKey": "your_api_secret_key"
},
"errors": [],
"isSuccess": true
}