Create blocklist entries in bulk

​

Creates one or more blocklist entries for the authenticated fin. Each block identifies a single account to block by account type and account number. Blocks are grouped by account type and inserted atomically per group. If any block has an invalid structure, the entire request is rejected and nothing is inserted. Note that changes to the blocklist may take up to 5 minutes to take effect.

Body

required
application/json
  • List of blocks to create. May be empty.

    Properties: 1

Responses

  • application/json
  • application/json
  • Forbidden (e.g: wrong API Key)

  • application/json
Request Example for post/payins-blocklist/bulk
curl https://api.shinkansen.finance/v1/payins-blocklist/bulk \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'Shinkansen-Api-Key: YOUR_SECRET_TOKEN' \
  --data '{
  "blocks": [
    {
      "criteria": {
        "creditor": {
          "account_type": "clabe",
          "account": "646180157042875167"
        }
      }
    },
    {
      "criteria": {
        "creditor": {
          "account_type": "clabe",
          "account": "646180157042871235"
        }
      }
    }
  ]
}'
{
  "blocks": [
    {
      "id": 123,
      "created_at": "2026-01-21T16:15:00Z",
      "criteria": {
        "creditor": {
          "account_type": "clabe",
          "account": "646180157042875167"
        }
      }
    },
    {
      "id": 124,
      "created_at": "2026-01-21T16:15:00Z",
      "criteria": {
        "creditor": {
          "account_type": "clabe",
          "account": "646180157042871235"
        }
      }
    }
  ]
}