Bank

Initiate transfer by corridor

Initiates transfer using estimation_id. CPN corridors return required_actions for client signature.

post/api/v3/bank/initiate/{corridor}

Request

  • Base URL
    https://api-baas.wirexapp.com
  • URL
    https://api-baas.wirexapp.com/api/v3/bank/initiate/{corridor}
  • Auth
    • API key in header Authorization
    • or API key in header X-Chain-Id and API key in header X-User-Wallet and API key in header Authorization

Path parameters

corridorstring required

Transfer corridor

Request body */*

corridorstring required

Corridor path parameter

estimation_idstring required

UUID from previous estimate call

source_token_addressstring required

Address of the token that should be used to transfer

Example request

{
  "estimation_id": "550e8400-e29b-41d4-a716-446655440000",
  "source_token_address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
}

Response

OK

statusstring required
transfer_idstring required

Example response

{
  "required_actions": [
    {
      "data": {
        "amount": "100000000",
        "chain_id": 8453,
        "destination_address": "0x1234abcd",
        "expires_at": 1735689600,
        "token_address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
      }
    }
  ],
  "status": "pending",
  "transfer_id": "00000000-0000-0000-0000-000000000001"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.