Skip to main content

Field Conventions & Glossary

Canonical definitions used across API documentation.

Request Headers

HeaderRequiredDefinition
x-api-keyYesAPI-key issued in the app ("Business" section). The organization is resolved from the request host
Content-TypeYes (POST)application/json for create requests

Amount & Currency

TermDefinition
amountString of an integer in minor units (e.g. cents, smallest token fraction)
amount_with_feeAmount plus applied fee (minor units)
currencyISO-like currency / token code (e.g. USDT)
currency_destDestination currency for conversion (FX). Optional; defaults to currency

Identifiers

TermDefinition
idInternal system UUID of transaction
txidClient-supplied idempotent external identifier. Must be a valid UUID when provided; may be omitted

Routing & Environment

TermDefinition
routeProcessing path alias configured for API key
envExecution environment: prod (default) or test

Status Lifecycle

StatusMeaning
createdAccepted, awaiting processing
newInitial state before processing starts
authorizingAuthorization in progress
pre_authorized_3dsAwaiting 3DS authentication
action_requiredAwaiting an additional action (3DS / extra authorization)
chargingIn progress (authorization / funding)
payment_suspendedInbound transaction temporarily suspended
payout_suspendedOutbound transaction temporarily suspended
chargedSuccessfully completed (terminal)
reversedCharge reversed (terminal)
refundedRefunded (terminal)
rejectedIrrecoverably failed (terminal)
failedFailed (terminal)

Terminal states are charged, reversed, refunded, rejected, failed. The most common happy path is created → charging → charged.

Time Fields

FieldDefinition
startedISO timestamp when processing began
finishedISO timestamp when terminal (charged/rejected) reached

Money Storage Objects

FieldDefinition
networkBlockchain network (ETH, TRX, etc.)
typeInstrument type (bank_card, p2p_proxy, etc.)
wallet_idInternal wallet identifier (payout/payment target)
cardnumberVirtual card PAN (masked in some responses)
cvvVirtual card security code (never log in plaintext)
exp_month / exp_yearCard expiry values (string, zero padded)
cardholderCardholder name (ASCII or UTF-8)

Error Fields

FieldDefinition
error_descriptionHuman-readable failure reason (non-stable text)

Idempotency Guidance

Use a unique txid (a valid UUID) per business operation. Retry identical creation requests only with the same txid to avoid duplicate charges — a repeated txid returns the originally created transaction instead of creating a new one. A non-UUID txid is rejected with 422 invalid_txid.

Polling Strategy

  1. Submit transaction.
  2. Poll: 1s, 2s, 4s, 8s ... cap at 30s.
  3. Stop on terminal status or timeout budget.

Webhooks (Informational)

Webhooks indicate state change but are not authoritative. Always confirm via GET Transaction.