post https://processor-api.uat1.pcaasa.com/?call=spend-control-update-v1
Update a spend control and preserve a history of previously used spend controls.
Any optional field for which a new value has not been provided will retain the current value in the updated spend control.
Listed below are the options for spend control types and their corresponding required inputs
Spend Control Type Code | Conditional Inputs | Data Type |
---|---|---|
BLOCKSPEND | replaceExistingControl | bit (default to 0) |
TRANDATERANGE | replaceExistingControl startDate endDate gmtOffsetHours | bit (default to 0) date date integer (default to 0) |
TRANAMOUNT | replaceExistingControl minAmount maxAmount | bit (default to 0) float float |
TRANTOTALTHISDAY | replaceExistingControl maxAmount gmtOffsetHours | bit (default to 0) float integer (default to 0) |
TRANTOTALTHISWEEK | replaceExistingControl maxAmount gmtOffsetHours | bit (default to 0) float integer (default to 0) |
TRANTOTALTHISMONTH | replaceExistingControl maxAmount gmtOffsetHours | bit (default to 0) float integer (default to 0) |
TRANTOTALTHISCYCLE | replaceExistingControl maxAmount gmtOffsetHours | bit (default to 0) float integer (default to 0) |
CASHAMOUNT | replaceExistingControl maxAmount | bit (default to 0) float |
CASHTOTALTHISDAY | replaceExistingControl maxAmount gmtOffsetHours | bit (default to 0) float integer (default to 0) |
CASHTOTALTHISWEEK | replaceExistingControl maxAmount gmtOffsetHours | bit (default to 0) float integer (default to 0) |
CASHTOTALTHISMONTH | replaceExistingControl maxAmount gmtOffsetHours | bit (default to 0) float integer (default to 0) |
CASHTOTALTHISCYCLE | replaceExistingControl maxAmount gmtOffsetHours | bit (default to 0) float integer (default to 0) |
TRANTOTALFROMTIME | replaceExistingControl maxAmount gmtOffsetHours | bit (default to 0) float integer (default to 0) |
TRANCOUNTTHISDAY | replaceExistingControl maxCount gmtOffsetHours | bit (default to 0) integer integer (default to 0) |
TRANCOUNTTHISWEEK | replaceExistingControl maxCount gmtOffsetHours | bit (default to 0) integer integer (default to 0) |
TRANCOUNTTHISMONTH | replaceExistingControl maxCount gmtOffsetHours | bit (default to 0) integer integer (default to 0) |
TRANCOUNTTHISCYCLE | replaceExistingControl maxCount gmtOffsetHours | bit (default to 0) integer integer (default to 0) |
TRANISUSONLY | replaceExistingControl | bit (default to 0) |
TRANMCCCODEIN | replaceExistingControl mccCodeList | bit (default to 0) string |
TRANMCCCODENOT | replaceExistingControl mccCodeList | bit (default to 0) string |