Logo
GoCardless API API Documentation

Enable a Block

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

Enables a previously disabled block so that it will prevent mandate creation

https://developer.gocardless.com/api-reference/#blocks-enable-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:12.358Z", "reason_description": "test", "resource_reference": "example123459@example.com", "active": true } }



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

ENDPOINTS