Get trade information

Changed on

This endpoint returns a trade object for the specified trade ID.

get/trades/{id}

Request

  • Base URL
    https://app-api.sandbox.coinify.com
  • URL
    https://app-api.sandbox.coinify.com/trades/{id}
  • Auth
    none required

Path parameters

idstring required

ID of an existing trade.

Headers

Authorizationstring required

Must contain Bearer <access_token> value as received upon Authentication.

Response

200

OR
OR

Example response

{
  "id": 209132,
  "trackingId": "d16b5863-91b4-4e57-af09-e9dbf9f59a62",
  "state": "expired",
  "traderId": 13450,
  "traderEmail": "sni+alltest@coinify.com",
  "inAmount": 250,
  "inCurrency": "EUR",
  "outCurrency": "BTC",
  "outAmountExpected": 0.0038518,
  "transferIn": {
    "id": 621376,
    "sendAmount": 280,
    "receiveAmount": 250,
    "currency": "EUR",
    "medium": "card",
    "details": {
      "provider": "safecharge",
      "returnUrl": "https://www.google.com",
      "redirectUrl": "https://payment-page-ui.sandbox.coinify.com/?paymentId=1000048861&traderId=13450&country=HR&email=sni%2Balltest%40coinify.com&transferInAmount=280&transferInFeeAmount=30&transferInHandlingFee=5&transferInCurrency=EUR&transferOutAmount=0.0025348&transferOutFeeAmount=0.001317&transferOutHandlingFee=0.001317&transferOutCurrency=BTC&returnUrl=https%3A%2F%2Fwww.google.com&tradeId=209132&partnerId=255&provider=safecharge&isApplePayAvailable=false",
      "cardPaymentId": "1000048861"
    }
  },
  "transferOut": {
    "id": 621377,
    "sendAmount": 0.0038518,
    "receiveAmount": 0.0025348,
    "currency": "BTC",
    "medium": "blockchain",
    "details": {
      "account": "2Mw9iCVrVvTagP7F3b91Ka9DgxCdCpfvBe4"
    }
  },
  "createTime": "2024-11-03T17:45:53.803Z",
  "updateTime": "2024-11-03T18:16:32.184Z"
}

Changes