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

# Register banking asset

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

## Request

- Base URL: `https://sandbox.pismolabs.io/assets-accrual`
- URL: `https://sandbox.pismolabs.io/assets-accrual/v1/issuer/{issuer_id}/assets`
- Auth: HTTP bearer

Register a banking asset with the Pismo platform. A banking asset is either a certificate of deposit or a bank receipt.

This endpoint generates an [Asset registration succeeded](https://developers.pismo.io/events/docs/assets-asset-registration-success-1) event if it succeeds or an [Asset registration failed](https://developers.pismo.io/events/docs/assets-asset-registration-failure-1) event if it doesn't.

## Path parameters

- `issuer_id` string, required

## Headers

- `x-cid` string

## Request body

- AssetRegistration
  - `asset_id` string, required: 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,-,:].
  - `registration_mode` 'single' | 'many', required: Registration mode — `single` or `many`
  - `asset_type` 'cdb' | 'rdb', required: Asset type, `cdb` (certificate of deposit) or `rdb` (bank deposit receipt)
  - `issuing_date` string, required: Issuing date, format = yyyy/mm/dd.
  - `maturity_date` string, required: Asset maturity date, format = yyyy/mm/dd.
  - `issued_units` integer, required: Number of issued units
  - `unit_value` number, double, required: Per unit value
  - `index_type` 'di' | 'pre' | 'ipca', required: Index type: * `di` — DI rate is the average rate of interbank transactions carried out through interbank certificates of deposits. It is calculated based on fixed interbank deposits transactions settled within one business day. * `ipca` — The Extended National Consumer Price Index (IPCA) is the reference for the Brazilian inflation-targeting system. The Banco Central do Brasil (BCB) works to ensure that the IPCA's annual inflation is centered at the inflation target set by the National Monetary Council (CMN). The IPCA is also the price index of the National Treasury's Notes Series B (NTN-B). * `pre` — Use when there is a tax defined for the asset.
  - `index_rate` number, double, required: Index rate
  - `customer_type` 'natural' | 'legal', required: Customer type - `natural` or `legal`. A `natural` customer is an individual, a `legal` customer is a corporation or other legal entitiy type.
  - `document_number` string, required: A government document number, such as a social security number (US). Must be numeric with 11-14 digits.
  - `deposit_number` integer, required: Deposit number
  - `early_redemption_terms` 'yes' | 'no' | 'market', required: Early redemption terms: * `yes` — Has early redemption terms * `no` — Does not have early redemption terms * `market` — Redeem at market
  - `currency` string, required: 1SO 4217 currency code
  - `customer_name` string: Customer name - max length is 128 chars
  - `purchased_units` integer: Number of purchased units
  - `additional_data` AdditionalData
    - `early_redemption_attributes` EarlyRedemptionAttribute[]
      - `date` string: Redemption date, format = yyyy/mm/dd.
      - `interest_rate` number, double: Interest rate
      - `floating_rate` number, double: Floating rate
  - `external_id` string: Client-provided external asset ID. No longer than 128 alphanumeric characters.
  - `accrual_frequency` 'daily' | 'monthly': Accrual frequency: * `daily` — Accrual for assets daily * `monthly` — Accrual for assets monthly

## Response `202`

OK

- AssetRegistrationResponse
  - `asset_id` string, required: 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, required: 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)
