Assets

Migrate banking asset

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.

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

Path parameters

issuer_idstring required

Issuer ID. For more information, refer to issuer identification number

asset_idstring required

Client assigned asset ID. Must consist of the characters [a-z,A-Z,0-9,-,:] with a range from 1 to 128.

Headers

x-cidstring

The Correlation IDentifier field is used to link related API requests and events. The x-cid can help the Pismo engineering team track everything related to a call. You can find the x-cid field in the response header from an API endpoint call.

If this field isn't passed, one is automatically generated.

Request body

asset_type'cdb' | 'rdb'

Asset type, cdb (certificate of deposit) or rdb (bank deposit receipt)

document_numberstring

A government document number, such as a social security number (US). Must be numeric with 11-14 digits.

deposit_numberinteger

Deposit number

Example request

{
  "asset_type": "cdb",
  "document_number": "123412341234",
  "deposit_number": 567339022
}

Response

ACCEPTED

asset_idstring

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,-,:].

messagestring

Message about asset/quote operation

Example response

{
  "asset_id": "6ea8094b-73ba-4737-93ad-370c27c54813",
  "message": "Message about request operation"
}

Changes

No recorded changes to this operation across all 1 revision of this API.