Skip to main content
GET
/
v1
/
public
/
invoices
/
{token}
Get invoice payment page by public token
curl --request GET \
  --url https://api.example.com/v1/public/invoices/{token} \
  --header 'X-Api-Id: <api-key>' \
  --header 'X-Api-Key: <api-key>' \
  --header 'X-Signature: <api-key>' \
  --header 'X-Timestamp: <api-key>'
{
  "token": "<string>",
  "title": "<string>",
  "description": "<string>",
  "assetCode": "USDT_TRC20",
  "assetSymbol": "USDT",
  "assetName": "Tether USD (TRC-20)",
  "network": "TRON",
  "address": "<string>",
  "memo": "<string>",
  "expectedAmount": "100.50",
  "amountUsd": "100.42",
  "decimals": 6,
  "expiresAt": "2023-11-07T05:31:56Z",
  "createdAt": "2023-11-07T05:31:56Z",
  "paymentStatus": "<string>",
  "receivedAmount": "<string>",
  "confirmations": 123,
  "requiredConfirmations": 19,
  "txhash": "<string>",
  "explorerTxUrl": "<string>",
  "explorerAddressUrl": "<string>",
  "paidAt": "2023-11-07T05:31:56Z",
  "branding": {
    "displayName": "WalletCore",
    "primaryColor": "#3b82f6"
  }
}

Authorizations

X-Api-Id
string
header
required

Публичный идентификатор API-ключа

X-Api-Key
string
header
required

Публичный API-ключ

X-Signature
string
header
required

HMAC-SHA256-Hex(timestamp + "." + raw_body, api_secret)

X-Timestamp
string
header
required

Unix-секунды, ±300с

Path Parameters

token
string
required

Публичный токен из ссылки счёта.

Response

200 - application/json
token
string
required
title
string | null
required
description
string | null
required
assetCode
string
required
Example:

"USDT_TRC20"

assetSymbol
string
required
Example:

"USDT"

assetName
string
required
Example:

"Tether USD (TRC-20)"

network
string
required
Example:

"TRON"

address
string
required

Адрес для оплаты (показывается + QR).

memo
string | null
required

Memo (ОБЯЗАТЕЛЕН для memo-based сетей, иначе null).

expectedAmount
string
required
Example:

"100.50"

amountUsd
string | null
required

USD-эквивалент (best-effort).

Example:

"100.42"

decimals
number
required
Example:

6

expiresAt
string<date-time>
required

Срок оплаты (для обратного отсчёта).

createdAt
string<date-time>
required
state
enum<string>
required

Состояние оплаты для UI.

Available options:
pending,
detected,
paid,
overpaid,
underpaid,
expired
paymentStatus
string
required

Сырой статус депозита.

receivedAmount
string | null
required
confirmations
number | null
required
requiredConfirmations
number
required
Example:

19

txhash
string | null
required
explorerTxUrl
string | null
required
explorerAddressUrl
string | null
required
paidAt
string<date-time> | null
required
branding
object
required