Logo
GoCardless API API Documentation

Disable a Block

POST {{url}}/blocks/{{block}}/actions/disable

Disables a block so that it no longer will prevent mandate creation.

https://developer.gocardless.com/api-reference/#blocks-disable-a-block

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 




RESPONSES

status OK

{ "blocks": { "id": "BLC0000198BHCM5", "block_type": "email", "reason_type": "no_intent_to_pay", "created_at": "2024-03-22T20:47:33.769Z", "updated_at": "2024-03-22T20:48:07.728Z", "reason_description": "test", "resource_reference": "example123459@example.com", "active": false } }



Curl
curl -X POST 'https://api-sandbox.gocardless.com/blocks/https://api-sandbox.gocardless.com/actions/disable'

ENDPOINTS