Logo
GoCardless API API Documentation

Get a Block

GET {{url}}/blocks/{{block}}

Retrieves the details of an existing block.

https://developer.gocardless.com/api-reference/#blocks-get-a-single-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 GET 'https://api-sandbox.gocardless.com/blocks/https://api-sandbox.gocardless.com'

ENDPOINTS