IDRX Documentation
  • Introduction
    • IDRX Whitepaper
    • Supported Chain and Contract Address
  • IDRX Account
    • Create Account
    • Sign In
    • Forgot Password
    • Account Verification (KYC)
    • Business Account
  • Services
    • Mint IDRX
    • Redeem IDRX
    • Bridge IDRX
    • Get Other Tokens
    • Redeem Other Stablecoin
    • Fees
  • API
    • Getting Started
    • Generating a Signature
    • Onboarding API
      • POST /api/auth/onboarding
      • GET /api/auth/members
      • POST /api/auth/add-bank-account
      • GET /api/auth/get-bank-accounts
      • DELETE /api/auth/delete-bank-account/:bankId
    • Transaction API
      • POST /api/transaction/mint-request
      • POST /api/transaction/redeem-request
      • POST /api/transaction/bridge-request
      • GET /api/transaction/method
      • GET /api/transaction/user-transaction-history
      • GET /api/transaction/rates
      • GET /api/transaction/get-additional-fees
  • Smart Contract
    • Staking
      • Staking Type
      • Staking IDRX
      • Claim Staking Reward
      • Unbond Staked IDRX
      • Claim Unbonded IDRX
      • Claim Principal and Staking Rewards
      • Application Binary Interface
  • Integration
    • Overview
    • Onboarding a new user
    • Managing bank accounts
    • Processing mint requests
      • Getting other tokens
    • Processing redeem requests
      • Redeeming from other tokens
Powered by GitBook
On this page
  • Parameters
  • Example Request
  • Response
  1. API
  2. Transaction API

POST /api/transaction/redeem-request

Use this API to request a IDRX redeem transaction.

Parameters

  1. txHash (String):

    This parameter is the transaction hash for the burning transaction of the token.

  2. networkChainId (String):

    This parameter identifies the blockchain network on which the redemption transaction occurred.

  3. amountTransfer (String):

    This parameterspecifies the amount of fiat currency that was transferred as part of the redemption process. It represents the monetary value equivalent to the redeemed stable tokens.

  4. bankAccount (String):

    This parameter is the bank account number provided by the user or recipient, where the fiat funds are received after the redemption process.

  5. bankCode (String):

    This parameter represents the code associated with the recipient's bank. It is used to identify the specific bank where the provided bankAccount is held. Please use the Get Methods API to get a list of bank codes and bank names

  6. bankName (String):

    This parameter refers to the name of the recipient's bank. Please use the Get Methods API to get a list of bank codes and bank names

  7. bankAccountName (String):

    This parameter represents the name associated with the recipient's bank account. It specifies the legal or account holder's name for the provided bank account number.

  8. walletAddress (String):

    This parameter is the recipient's blockchain wallet address. While the fiat funds are sent to the bank account, this parameter provides the corresponding blockchain wallet address, allowing cross-verification and transparency.

Example Request

curl -X POST '<https://idrx.co/api/transaction/redeem-request>' --header 'idrx-api-key: <API_KEY>' --header 'idrx-api-sig: <signature>' --header 'idrx-api-ts': <timestamp>'

Payload

{
  "txHash": "string",
  "networkChainId": "string",
  "amountTransfer": "string",
  "bankAccount": "string",
  "bankCode": "string",
  "bankName": "string",
  "bankAccountName": "string",
  "walletAddress": "string",
}

Response

If the request is successful, the response will be as shown below:

{
  "statusCode": 200,
  "message": "success",
  "data": {
    "id": 14,
    "chainId": 80001,
    "userId": 3,
    "requester": "Test Account",
    "txHash": "0xd946812e2b0fd4796f9deceb278e37ee4d5a456f7a39c0fff05744d2956543a9",
    "fromAddress": "string",
    "amount": "100000",
    "bankName": "BANK CENTRAL ASIA",
    "bankCode": "014",
    "bankAccountNumber": "8760673566",
    "bankAccountName": "Test Account",
    "custRefNumber": "000000169595",
    "disburseId": 205337,
    "burnStatus": "REQUESTED",
    "createdAt": "2023-04-05T00:35:45.374Z",
    "updatedAt": "2023-04-05T00:35:45.374Z",
    "deleted": false
  }
}
  • The balance will be processed and credited to your wallet max 24 hours after your request is submitted.

  • The minimum transaction for redeeming IDRX, USDC, and USDT is 20,000 IDR.

  • The maximum transaction for redeeming IDRX is 1.000.000.000 IDR

  • The maximum transaction for redeeming USDT and USDC is 100.000.000 IDR

PreviousPOST /api/transaction/mint-requestNextPOST /api/transaction/bridge-request

Last updated 1 month ago

To check the status of your transaction, you can use the .

Transaction History API
Page cover image