Redeem Assets

Redeem Assets

POST /redeemAsset

<Description of the endpoint>

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <token>

Body

Name
Type
Description

amount

number

then amount to be redeemed

bank

string

bank code, please use the bank list endpoint to get the back codes

accountNumber

string

account number to redeem to

Response

{
  "status": 200,
  "message": "Deposit for redeem was successfully",
  "data": "<encrypted response>"
}

Decrypted Response

{
  "status": 200,
  "message": "Deposit for redeem was successfully",
  "data": {
    "id": "c81bc814-cca7-4da5-8eba-6be3ee84c063",
    "from": "example@gmail.com",
    "receiver": "011:1234567890",
    "initiatorId": "67979970-c593-4b32-9161-12402fc7f9a3",
    "requires_multi_sig": false,
    "total_sigs_required": 1,
    "amount": "1000",
    "description": "cNGN Redemption",
    "createdAt": "2024-10-21T09:39:57.798Z",
    "updatedAt": "2024-10-21T09:39:57.798Z",
    "trx_ref": "07da9f71-6433-42da-96bd-14d0e99d932d",
    "trx_type": "fiat_redeem",
    "network": "xbn",
    "asset_type": "wrapped",
    "asset_symbol": "NGN",
    "base_trx_hash": null,
    "extl_trx_hash": null,
    "explorer_link": null,
    "status": "pending",
    "va_deposit_session_id": null,
    "va_payment_ref": null,
    "mpc_trx_ref": null,
    "businessId": "fac93c57-55af-4d73-b3b6-7a135e3a4f29"
  }
}

Last updated