---
title: "Block/unblock banking asset"
method: POST
path: "/v1/issuer/{issuer_id}/assets/{asset_id}/block"
tags: ["Assets"]
---

# Block/unblock banking asset

`POST /v1/issuer/{issuer_id}/assets/{asset_id}/block`

## Request

- Base URL: `https://sandbox.pismolabs.io/passport`
- URL: `https://sandbox.pismolabs.io/passport/v1/issuer/{issuer_id}/assets/{asset_id}/block`
- Auth: none declared

Block or unblock a banking asset

If the request succeeds, this endpoint generates an [Asset blocked](https://developers.pismo.io/events/docs/assets-asset-block-1) event;
otherwise, generates an [Asset block failed](https://developers.pismo.io/events/docs/assets-asset-block-failure-1) event.

## Path parameters

- `issuer_id` string, required
- `assetId` string, required

## Headers

- `x-cid` string

## Request body

- AssetBlock
  - `units` integer, required: Number of asset units
  - `document_number` string, required: Cardholder government document number. This can be from any document that identifies the cardholder such as a Tax ID, State ID, or driver's license.
  - `status` 'BLOCK' | 'UNBLOCK': Asset block status
  - `external_id` string: Provider-generated unique ID for client monitoring and tracking
  - `reason` string: Reason asset was blocked

## Response `202`

ACCEPTED

- 202AssetBlockedResponse (unresolved $ref)

## Other responses

- `400`: Bad request
- `401`: Access token is missing or invalid
- `404`: Not Found
- `500`: Internal server error

---

[API](https://skmtc.dev/pismo/apis/platform-authentication.md) - [All operations](https://skmtc.dev/pismo/apis/platform-authentication/llms.txt) - [OpenAPI document](https://skmtc.dev/pismo/apis/platform-authentication/revisions/935b62e16de4?raw)
