FX

Execute FX swap

Executes a swap after client has sent payment to Circle wallet deposit address

post/api/v1/fx

Request

  • Base URL
    https://api-baas.wirexapp.com
  • URL
    https://api-baas.wirexapp.com/api/v1/fx
  • 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

Request body */*

estimation_idstring required

EstimationId is the UUID of the estimation returned by the estimate endpoint

payment_transaction_hashstring required

PaymentTransactionHash is the blockchain transaction hash of the payment sent to the deposit address

Example request

{
  "estimation_id": "550e8400-e29b-41d4-a716-446655440000",
  "payment_transaction_hash": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef"
}

Response

OK

trade_idstring required

TradeId is the unique identifier for the executed trade

Example response

{
  "trade_id": "550e8400-e29b-41d4-a716-446655440000"
}

Changes

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