Delete a transaction rule
Deletes a transaction rule.
The unique identifier of the transaction rule.
After submitting a call, you receive a response message to inform you that your request was received and processed.
Depending on the HTTP status code of the response message, it is helpful to build some logic to handle any errors that a request or the system may return.
HTTP Responses
200 - OK
The request has succeeded.
amountobjectThe maximum amount that a payment instrument can be used for in the period specified in the
interval.type
.valueintegerThe amount of the transaction, in minor units.
balancePlatformIdstringThe unique identifier of the balance platform to which the rule applies.
countriesarray[string]List of countries to which the rule applies. For example: ["NL","US"].
descriptionstringMax length: 300Your description for the transaction rule, maximum 300 characters.
endDatestringThe date when the rule will stop being evaluated, in ISO 8601 extended offset date-time format. For example, 2020-12-18T10:15:30+01:00.
If not provided, the rule will be evaluated until the rule status is set to inactive.
entryModesarray[string]List of point-of-sale entry modes to which the rule applies.
Possible values: manual, chip, magstripe, contactless, cof, token, server, barcode, ocr.
idstringThe unique identifier of the transaction rule.
intervalobjectThe time interval when the rule conditions apply.
typestringThe type of interval during which the rule conditions and limits apply, and how often counters are reset.
Possible values:
- perTransaction: conditions are evaluated and the counters are reset for every transaction.
- daily: the counters are reset daily at 00:00:00 UTC.
- weekly: the counters are reset every Monday at 00:00:00 UTC.
- monthly: the counters reset every first day of the month at 00:00:00 UTC.
- lifetime: conditions are applied to the lifetime of the payment instrument.
maxTransactionsintegerThe maximum number of transactions that a payment instrument can be used for in the period specified in the
interval.type
.mccsarray[string]List of Merchant Category Codes (MCCs) to which the rule applies.
paymentInstrumentGroupIdstringThe unique identifier of the payment instrument group to which the rule applies.
paymentInstrumentIdstringThe unique identifier of the payment instrument to which the rule applies.
processingTypesarray[string]List of processing types to which the rule applies.
Possible values: atmWithdraw, pos, ecommerce, moto, recurring, balanceInquiry.
referencestringMax length: 150Your reference for the transaction rule, maximum 150 characters.
startDatestringThe date when the rule will start to be evaluated, in ISO 8601 extended offset date-time format. For example, 2020-12-18T10:15:30+01:00.
If not provided when creating a transaction rule, the
startDate
is set to the date when the rule status is set to active.statusstringThe status of the transaction rule. If you provide a
startDate
in the request, the rule is automatically created with an active status.Possible values: active, inactive.
typestringType of conditions provided in the rule.
Possible values:
- allowList: The rule provides categories (such as country and MCC) where payments must be allowed.
- blockList: The rule provides categories (such as country and MCC) where payments must be blocked.
- maxUsage: The rule sets limits for the maximum amount or maximum number of transactions for the lifetime of the payment instrument.
- velocity: The rule sets limits for the maximum amount or maximum number of transactions for a given time interval.
400 - Bad Request
A problem reading or understanding the request.
detailstringA human-readable explanation specific to this occurrence of the problem.
errorCodestringA code that identifies the problem type.
instancestringA unique URI that identifies the specific occurrence of the problem.
invalidFieldsarray[object]Detailed explanation of each validation error, when applicable.
messagestringDescription of the validation error.
namestringThe field that has an invalid value.
valuestringThe invalid value.
requestIdstringA unique reference for the request, essentially the same as
pspReference
.responseobjectJSON response payload.
pathsarray[object]contentarray[string]rootPathobjectcontentarray[string]statusintegerThe HTTP status code.
titlestringA short, human-readable summary of the problem type.
typestringA URI that identifies the problem type, pointing to human-readable documentation on this problem type.
401 - Unauthorized
Authentication required.
detailstringA human-readable explanation specific to this occurrence of the problem.
errorCodestringA code that identifies the problem type.
instancestringA unique URI that identifies the specific occurrence of the problem.
invalidFieldsarray[object]Detailed explanation of each validation error, when applicable.
messagestringDescription of the validation error.
namestringThe field that has an invalid value.
valuestringThe invalid value.
requestIdstringA unique reference for the request, essentially the same as
pspReference
.responseobjectJSON response payload.
pathsarray[object]contentarray[string]rootPathobjectcontentarray[string]statusintegerThe HTTP status code.
titlestringA short, human-readable summary of the problem type.
typestringA URI that identifies the problem type, pointing to human-readable documentation on this problem type.
403 - Forbidden
Insufficient permissions to process the request.
detailstringA human-readable explanation specific to this occurrence of the problem.
errorCodestringA code that identifies the problem type.
instancestringA unique URI that identifies the specific occurrence of the problem.
invalidFieldsarray[object]Detailed explanation of each validation error, when applicable.
messagestringDescription of the validation error.
namestringThe field that has an invalid value.
valuestringThe invalid value.
requestIdstringA unique reference for the request, essentially the same as
pspReference
.responseobjectJSON response payload.
pathsarray[object]contentarray[string]rootPathobjectcontentarray[string]statusintegerThe HTTP status code.
titlestringA short, human-readable summary of the problem type.
typestringA URI that identifies the problem type, pointing to human-readable documentation on this problem type.
422 - Unprocessable Entity
A request validation error.
detailstringA human-readable explanation specific to this occurrence of the problem.
errorCodestringA code that identifies the problem type.
instancestringA unique URI that identifies the specific occurrence of the problem.
invalidFieldsarray[object]Detailed explanation of each validation error, when applicable.
messagestringDescription of the validation error.
namestringThe field that has an invalid value.
valuestringThe invalid value.
requestIdstringA unique reference for the request, essentially the same as
pspReference
.responseobjectJSON response payload.
pathsarray[object]contentarray[string]rootPathobjectcontentarray[string]statusintegerThe HTTP status code.
titlestringA short, human-readable summary of the problem type.
typestringA URI that identifies the problem type, pointing to human-readable documentation on this problem type.
500 - Internal Server Error
The server could not process the request.
detailstringA human-readable explanation specific to this occurrence of the problem.
errorCodestringA code that identifies the problem type.
instancestringA unique URI that identifies the specific occurrence of the problem.
invalidFieldsarray[object]Detailed explanation of each validation error, when applicable.
messagestringDescription of the validation error.
namestringThe field that has an invalid value.
valuestringThe invalid value.
requestIdstringA unique reference for the request, essentially the same as
pspReference
.responseobjectJSON response payload.
pathsarray[object]contentarray[string]rootPathobjectcontentarray[string]statusintegerThe HTTP status code.
titlestringA short, human-readable summary of the problem type.
typestringA URI that identifies the problem type, pointing to human-readable documentation on this problem type.