Bank

Execute bank transfer

Executes the bank transfer either according to the estimation made previously or using current market rates.

post/api/v1/bank/transfer

Request

  • Base URL
    https://api-business.wirexapp.com
  • URL
    https://api-business.wirexapp.com/api/v1/bank/transfer
  • Auth
    API key in header Authorization

Request body */*

account_idstring required

Id of the bank account that should be used for the operation

amountnumber

Amount that should be transferred in fiat currency (<span style="color:red">MUST</span> be provided if the estimation id is not specified)

estimation_idstring

Identifier of the estimation that was used to calculate the transfer amount (<span style="color:red">MUST</span> be provided if the transfer amount is not specified)

referencestring

Comment that should be attached to the transfer

token_addressstring required

Address of the token that should be charged from the Account Abstraction to cover the transfer

Example request

{
  "account_id": "00000000-0000-0000-0000-000000000001:00000000-0000-0000-0000-000000000002",
  "amount": 100.06,
  "estimation_id": "00000000-0000-0000-0000-000000000001",
  "recipient": {
    "company_name": "Acme Inc.",
    "first_name": "Alex",
    "last_name": "Grey"
  },
  "recipient_account": {
    "account_number": "12345678",
    "bank_name": "The Bank of New York",
    "bic": "COBADEFF",
    "clabe": "002123456789012345",
    "iban": "DE89370400440532013000",
    "legal_address": {
      "city": "New York",
      "country": "US",
      "line1": "123 Main St",
      "line2": "Apt 4B",
      "state": "NY",
      "zip_code": "10001"
    },
    "routing_number": "123456789",
    "sort_code": "123456"
  },
  "reference": "Payment for the services",
  "token_address": "0xAf4AE5e7f8b7fE7dEe9Cf0CdeEe9d6f3d56f8094"
}

Response

OK

idstring required

Identifier of the executed transaction

Changes

No recorded changes to this operation across all 1 revision of this API.