---
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/assets-accrual`
- URL: `https://sandbox.pismolabs.io/assets-accrual/v1/issuer/{issuer_id}/assets/{asset_id}/migrate`
- Auth: HTTP bearer

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
- `asset_id` 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: A government document number, such as a social security number (US). Must be numeric with 11-14 digits.
  - `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 about asset/quote operation

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `404`: Not found
- `500`: Internal server error

---

[API](https://skmtc.dev/pismo/apis/banking-assets.md) - [All operations](https://skmtc.dev/pismo/apis/banking-assets/llms.txt) - [OpenAPI document](https://skmtc.dev/pismo/apis/banking-assets/revisions/d140d7254f7d?raw)
