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

# Migrate banking asset

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

## Request

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

Migrate banking asset

If the request succeeds, this endpoint generates an <a href="https://json-schemas.data.pismo.io/docs/assets/asset_block-1.html">asset_block-1</a> event.
If it fails, it generates an <a href="https://json-schemas.data.pismo.io/docs/assets/asset_block_failure-1.html">asset_block_failure-1</a> event.

## Path parameters

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

## Headers

- `x-cid` string

## Request body

- AssetMigrate
  - `asset_type` 'cdb' | 'rdb': Asset type, `cdb` (certificate of deposit) or `rdb` (bank deposit receipt)
  - `document_number` string: 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.
  - `deposit_number` integer: Deposit number

## Response `202`

ACCEPTED

- object
  - `asset_id` string: Asset ID. This ID is client-generated. It must be between 1 and 128 characters long and consist of only the characters [a-z,A-Z,0-9,-,:].
  - `message` string: Message

## 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)
