Create banking asset redemption
Create a banking asset redemption. A banking asset redemption is the repayment of the original value of the asset to the investor.
If the request succeeds, this endpoint generates an Asset redeemed event and an Asset status changed event. If it fails, it generates an Asset redemption failed event.
Request
- Base URLhttps://sandbox.pismolabs.io/assets-accrual
- URLhttps://sandbox.pismolabs.io/assets-accrual/v2/issuer/{issuer_id}/assets/{asset_id}/redemption
- AuthHTTP bearer
Path parameters
Issuer ID. For more information, refer to issuer identification number
Client assigned asset ID. Must consist of the characters [a-z,A-Z,0-9,-,:] with a range from 1 to 128.
Headers
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
Example request
{
"units": 50,
"document_number": "83759935060",
"deposit_number": 9999999,
"external_id": "cac02d17-2587-4a7e-ae6a-b449049a8529",
"redemption_date": "2022-07-01"
}Response
OK
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.