Block
List multiple blocks
Returns a cursor-paginated list of your blocks.
get/blocks
Request
- Base URLhttps://api.gocardless.com
- AuthHTTP bearer
Query parameters
beforestring nullable
Cursor pointing to the end of the desired set.
afterstring nullable
Cursor pointing to the start of the desired set.
Number of records to return.
block_type'email' | 'email_domain' | 'bank_account' | 'bank_name'
Type of entity we will seek to match against when blocking the mandate. This can currently be one of 'email', 'email_domain', 'bank_account', or 'bank_name'.
reason_type'identity_fraud' | 'no_intent_to_pay' | 'unfair_chargeback' | 'other'
The reason you wish to block this payer, can currently be one of 'identity_fraud', 'no_intent_to_pay', 'unfair_chargeback'. If the reason isn't captured by one of the above then 'other' can be selected but you must provide a reason description.
Headers
GoCardless-Versionstring required
Response
Successful response
Example response
{
"blocks": [
{
"id": "BLC123",
"resource_reference": "example@example.com",
"active": true,
"created_at": "2014-01-01T12:00:00.000Z",
"updated_at": "2014-01-01T12:00:00.000Z"
}
],
"meta": {
"limit": 50
}
}Changes
No recorded changes to this operation across all 1 revision of this API.