Documentation

API Reference & Integration Guide

API Available

Get Invoice Info

Retrieve invoice information by ID

GETGet Invoice Info
Endpoint URL
https://testnet.trustsig.xyz/v1/payment/info?id=05fc1385-c4cf-4c6a-8cef-a04f63c3d0cb

⚙️Authentication Status

⚠️ API Key is required for all requests Webhook Secret

🔑

Headers

x-api-key
Required

API Key is required for all requests

Accept-Language
Optional

Select Language

🔗

Parameters

invoice_id
string Required

Invoice ID

Parameters (Optional)

include_details
boolean Optional

Description

Request Example

Terminal
curl --location 'https://testnet.trustsig.xyz/v1/payment/info?id=05fc1385-c4cf-4c6a-8cef-a04f63c3d0cb' \
--header 'x-api-key: YOUR_API_KEY_HERE' \
--header 'Accept-Language: th'

Response Example

200 OK
JSON Response
{
  "data": {
    "payment": {
      "id": "283ee6f5-3633-444d-91d3-926bdc7725b9",
      "seq_num": 2282,
      "source_id": "xpays",
      "slip_ref": null,
      "slip_payload": null,
      "slip_raw_signature": null,
      "slip_hash": null,
      "order_id": "AD132131231214999969492",
      "order_user_reference": "123213",
      "order_auto_cancel_previous": false,
      "order_display_mode": "FIAT",
      "request_ip": null,
      "request_platform": "API",
      "payment_method_type": "CRYPTO",
      "payment_provider": "TATUM",
      "invoice_type": "CRYPTO",
      "from_currency": "THB",
      "to_currency": "USDT",
      "chain": "tron",
      "network": "testnet",
      "to_wallet_id": "0820c9ef-11c7-4a31-b759-63c2a8e24f44",
      "from_wallet_id": null,
      "address_type": "crypto_address",
      "txid": null,
      "address": "TGKyyLrTgVbAS19gFawBKyw8haqwfSeHaW",
      "from_address": null,
      "amount": "1000",
      "payment_amount": 30.8299,
      "payer_paid_currency": "THB",
      "payer_paid_amount": null,
      "payer_pay_network_fee": false,
      "payer_bank_account_number": null,
      "merchant_promptpay_id": null,
      "merchant_amount": 30.8299,
      "merchant_number": null,
      "merchant_name": null,
      "merchant_provider": null,
      "ebank_account_id": null,
      "one_time_address": true,
      "is_multiple_order": true,
      "lifetime": 3600,
      "expired_at": "2025-10-13T15:50:49.340Z",
      "fee_subtract": 100,
      "discount_percent": 0,
      "discount_amount": 0,
      "accuracy_percent": 0.5,
      "support_currencies": null,
      "except_currencies": null,
      "additional_data": {},
      "auto_convert": false,
      "convert_to": "USDT",
      "payment_qr": null,
      "url_return": "",
      "url_success": "",
      "url_failed": "",
      "exchange_rate": 32.43599792403257,
      "exchange_rate_source": "COINGECKO",
      "tx_value": 0,
      "fx_rate": null,
      "payment_status": "PAYMENT_CHECKING",
      "payment_match_type": "RANGE",
      "is_completed": false,
      "status": "PENDING",
      "audit_by_user_id": null,
      "audit_time": null,
      "webhook_request_id": null,
      "sequence_time": "2025-10-13T14:50:49.422Z",
      "created_at": "2025-10-13T14:50:49.422Z",
      "updated_at": "2025-10-13T14:50:49.457Z",
      "owned_by_group": "2c321c8a-5d00-447b-8046-9fbe405707c2",
      "owned_by_group_parent": "0879d31d-1793-4011-a3d6-20fc3428d09c",
      "organization_id": "b8148919-1e7a-4c73-88ef-41677871d4ef",
      "agent_id": "6fa7c5ad-1fc3-41e6-aec4-f5b18201a1a2"
    },
    "transaction": null,
    "transaction_fiat": null
  },
  "success": true,
  "code": 0
}