List Blocks
GET {{url}}/blocks
Returns a cursor-paginated list of your blocks. https://developer.gocardless.com/api-reference/#blocks-list-multiple-blocks
Body
PARAM
Key | Datatype | Required | Description |
after
|
null | Cursor pointing to the start of the desired set. | |
before
|
null | Cursor pointing to the end of the desired set. | |
limit
|
null | Number of records to return. | |
block
|
null | ID of a Block. | |
block_type
|
null | 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’. | |
created_at
|
null | Fixed timestamp, recording when this resource was created. | |
reason_type
|
null | 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. | |
updated_at
|
null | Curl curl -X GET 'https://api-sandbox.gocardless.com/blocks?after=&before=&limit=&block=&block_type=&created_at=&reason_type=&updated_at=' ENDPOINTS |