AIO
EN
  • EN
  • ZH
  1. API
AIO
EN
  • EN
  • ZH
  • Overview
  • Create API Key
  • Callback
  • Security
  • Pay-in
  • Pay-out
  • API
    • Before You Begin
    • Get Txs
      GET
    • Get Sub Txs
      GET
    • Get Tx Info
      GET
    • Create Payin Tx
      POST
    • Create Payin Longtime Tx
      POST
    • Create Payout Tx
      POST
    • Price
      GET
    • Calculate price
      GET
  • Schemas
    • Schemas
      • CallbackReqContentData
      • CallbackSubTxData
      • CallbackTxData
      • CallbackType
      • GetSubTxData
      • SubTxDataExt
      • SubTxStatus
      • GetSubTxDataResponse
      • Chain
      • ErrorResponseModel
      • PayTxData
      • PayTxStatusData
      • PayinLongTimeTxParams
      • PayinTxParams
      • PayoutSubTxParams
      • PayoutTxParams
      • PriceData
      • RedisKeyData
      • SubTxData
      • SuceedResponseModel
      • TestData
      • Token
      • TxData
      • TxDetailsData
      • TxStatus
      • TxType
      • VsToken
      • TestDataResponse
      • RedisKeyDataResponse
      • PriceDataResponse
      • PayTxDataResponse
      • PayTxStatusDataResponse
      • TxDetailsDataResponse
      • TxDataResponse
  1. API

Get Tx Info

GET
https://api.aio.cash/v2/tx/info/{txid}

Request

Path Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.aio.cash/v2/tx/info/'

Responses

🟢200OK
application/json
Successful Response
Body

Example
{
    "success": true,
    "msg": "ok",
    "data": {
        "tx": {
            "txid": "string",
            "type": "Pay In",
            "status": "Pending Approval",
            "vs_token": "USD",
            "vs_amount": "string",
            "usd": "string",
            "chain": 2,
            "token": "BTC",
            "amount": "string",
            "actual_amount": "string",
            "swap_chain": 2,
            "swap_token": "BTC",
            "swap_amount": "string",
            "addr": "string",
            "gas": "string",
            "fee": "string",
            "created_at": "2019-08-24T14:15:22Z",
            "overdue_at": "2019-08-24T14:15:22Z",
            "is_longtime_tx": true,
            "total_fee": "string",
            "total_fee_usd": "string",
            "pay_url": "string"
        },
        "sub_txs": [
            {
                "status": "Pending",
                "chain": 2,
                "token": "BTC",
                "hash": "string",
                "from_addr": "string",
                "to_addr": "string",
                "amount": "string",
                "actual_amount": "string",
                "fee": "string",
                "gas": "string",
                "total_fee": "string"
            }
        ]
    }
}
🟠422Parameter Error
Previous
Get Sub Txs
Next
Create Payin Tx
Built with