createBlockingRule
POST/accounts/{accountId}/blocking-rules
Request a blocking rule to be added to a specific Mambu account. When a blocking rule has been added for a specific mandate ID, collection requests for that mandate will be rejected and a pacs.002 message sent as response with reason code MS02. If no specific mandate ID is provided, all direct debit collection requests for the given account will be rejected. For more information on blocking SEPA Direct Debits, consult the Blocking SEPA Direct Debits article in our user guide.
Request
Responses
- 202
- 400
- 405
- 415
- 500
- 503
Accepted - The Blocking Rule has been prepared for processing.
Bad Request - Validation error occurred. This code will cover malformed syntax in request or incorrect data in payload.
Method Not Allowed - This code is only sent when the HTTP method (PUT, POST, DELETE, GET etc.) is not supported by a specific endpoint. It has nothing to do with the content, payment or account information data model.
Unsupported Media Type - A media type which the serves does not support has been supplied.
Internal Server Error - Internal server error occurred.
Service Unavailable - The server is currently unavailable. Generally, this is a temporary state.