Invoice

{
  "data": {
    "attributes": {
      "amountBilled": "40.00",
      "amountCharged": "40.424657",
      "billedCurrency": "USD",
      "chargedCurrency": "USDT",
      "createdAt": "2024-10-07T12:06:43.976Z",
      "exchangeRate": "0.9894951",
      "expiresAt": "2024-10-07T12:26:43.927Z",
      "hostedPageUrl": "https://sandbox.txn.pro/redirect?invoice_id=4ab7737b-e8a6-41cf-addc-968e876fef8d&request_type=invoice_hosted_page",
      "network": "ttrx:usdt",
      "networkName": "Tron (TRC20)",
      "paymentStatus": "expecting",
      "reference": "22695010-0cfd-4afe-8c11-af657449d21b",
      "status": "pending",
      "statusContext": "unpaid",
      "successRedirectUrl": null,
      "unsuccessRedirectUrl": null
    },
    "id": "4ab7737b-e8a6-41cf-addc-968e876fef8d",
    "relationships": {
      "address": {
        "data": {
          "id": "d973d1eb-52f3-4b8e-b551-36462212bf1c",
          "type": "addresses"
        }
      },
      "coinDeposits": {
        "data": []
      },
      "invoiceTransactions": {
        "data": [
          {
            "id": "8b01620e-c4b8-4380-9785-7f44186e939e",
            "type": "invoiceTransactions"
          }
        ]
      },
      "refundLinks": {
        "data": []
      }
    },
    "type": "invoices"
  },
  "included": [
    {
      "attributes": {
        "createdAt": "2024-10-07T11:41:34.894Z",
        "label": "Tron (TRC20)",
        "value": "TD8xRYnQWAy8JXTMdeXcp78b7RTnFiufAA"
      },
      "id": "d973d1eb-52f3-4b8e-b551-36462212bf1c",
      "relationships": {
        "account": {
          "meta": {
            "included": false
          }
        },
        "network": {
          "meta": {
            "included": false
          }
        }
      },
      "type": "addresses"
    },
    {
      "attributes": {
        "transactionFee": "0.4",
        "transactionFeeCurrency": "USD"
      },
      "id": "8b01620e-c4b8-4380-9785-7f44186e939e",
      "relationships": {
        "exchangeQuote": {
          "data": null
        },
        "invoice": {
          "meta": {
            "included": false
          }
        },
        "txn": {
          "data": {
            "id": "8b01620e-c4b8-4380-9785-7f44186e939e",
            "type": "transactions"
          }
        }
      },
      "type": "invoiceTransactions"
    },
    {
      "attributes": {
        "amount": "39.60",
        "createdAt": "2024-10-07T12:06:44.008Z",
        "reference": "22695010-0cfd-4afe-8c11-af657449d21b",
        "simplifiedState": "pending",
        "transactionType": "InvoiceTransaction"
      },
      "id": "8b01620e-c4b8-4380-9785-7f44186e939e",
      "relationships": {
        "account": {
          "meta": {
            "included": false
          }
        }
      },
      "type": "transactions"
    }
  ],
  "meta": {}
}

Last updated