Logo
GoCardless API API Documentation

Core Endpoints-Block

Number of APIs: 6


1. 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



2. Create a Block

POST {{url}}/blocks

Creates a new Block of a given type. By default it will be active.

Create a Block API Docs



3. Create Blocks by Reference

POST {{url}}/blocks/block_by_ref

Retrieves the details of an existing block.

Get a Single Block API Docs



4. 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



5. 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



6. List Blocks

GET {{url}}/blocks

Returns a cursor-paginated list of your blocks.

https://developer.gocardless.com/api-reference/#blocks-list-multiple-blocks



ENDPOINTS