Skip to main content
Fetch data by transaction ID
GET /api/v2/transactions/info HTTP/1.1
Host: app.alphapo.net
X-Processing-Key: text
X-Processing-Signature: text
Accept: */*

{
"id": 2769144
}
{
  "id": 2769144,
  "foreign_id": "withdrawal:823188",
  "type": "withdrawal",
  "crypto_address": {
    "id": 411002,
    "currency": "BTC",
    "address": "tb1q73h009ezpcltv85vnyvz8n3r5umv2v4n54rhp2",
    "tag": null
  },
  "currency_sent": {
    "currency": "BTC",
    "amount": 0.0001
  },
  "currency_received": {
    "currency": "BTC",
    "amount": 10000
  },
  "transactions": [
    {
      "id": 823194,
      "currency": "BTC",
      "transaction_type": "blockchain",
      "type": "withdrawal",
      "address": "tb1q73h009ezpcltv85vnyvz8n3r5umv2v4n54rhp2",
      "tag": null,
      "amount": 0.0001,
      "txid": 7.854431205445763e+76,
      "confirmations": 0
    }
  ],
  "fees": [
    {
      "type": "mining",
      "currency": "BTC",
      "amount": 0
    },
    {
      "type": "fee_crypto_deposit_wallet_client",
      "currency": "BTC",
      "amount": 0
    }
  ],
  "error": "",
  "status": "confirmed"
}

Authorizations

X-processing-key
string
header
required

Your API key.

X-processing-signature
string
header
required

The request body, signed with HMAC-SHA512 with your secret key. You can find the secret key in your account.

Query Parameters

id
integer

The transaction's ID in AlphaPo's records.

foreign_id
string

The transaction's unique identifier in your system. You can only find withdrawal transactions by their foreign_id. For deposits, search by id.

Response

OK

id
integer
required

Transaction ID.

Example:

2769144

foreign_id
string
required

This transaction's unique identifier in your system.

Example:

"withdrawal:823188"

type
enum<string>
required

Transaction type.

Available options:
withdrawal,
withrawal_exchange,
exchange
Example:

"withdrawal"

crypto_address
object
required
currency_sent
object
required
currency_received
object
required
transactions
object[]
required
fees
object[]
required

List of all fees charged for this transaction.

Example:
[
{
"type": "mining",
"currency": "BTC",
"amount": 0
},
{
"type": "fee_crypto_deposit_wallet_client",
"currency": "BTC",
"amount": 0
}
]
error
string
required

If there are any errors, they will be displayed in this parameter.

Example:

""

status
string
required

Transaction status.

Example:

"confirmed"