The Top-up object
To top up your Zoneless balance, you send USDC to your platform's Solana wallet. Once the funds are detected on the blockchain, a top-up object is created and your balance is increased. You can retrieve individual top-ups, as well as list all top-ups. Top-ups are identified by a unique, random ID.
Attributes
Amount transferred in the smallest currency unit. For USDC, this is cents (e.g., 100 = $1 USDC).
ID of the balance transaction that describes the impact of this top-up on your account balance. May not be specified depending on status of top-up.
Three-letter currency code, in lowercase. For Zoneless, this is typically usdc.
Difference from Stripe: Uses usdc instead of fiat currency codes like usd.
An arbitrary string attached to the object. Often useful for displaying to users.
Date the funds are expected to arrive in your Zoneless account. May not be specified depending on status of top-up.
Difference from Stripe: USDC deposits on Solana are typically available immediately after blockchain confirmation, unlike traditional bank transfers.
Message to user further explaining reason for top-up failure if available.
Has the value true if the object exists in live mode or the value false if the object exists in test mode.
Set of key-value pairs that you can attach to an object. For blockchain deposits, this automatically includes blockchain_tx, network, and sender_address.
Information about the funding source for this top-up.
Difference from Stripe: Zoneless uses a simplified source object with type crypto_deposit for blockchain deposits.
Extra information about a top-up. Limited to 15 ASCII characters.
Difference from Stripe: Unlike bank transfers, Solana USDC transactions do not display statement descriptors. This field is retained for API compatibility.
The status of the top-up.
canceledThe top-up was canceled before funds arrived.failedThe top-up failed to process.pendingThe top-up is waiting for funds to arrive.reversedThe top-up was reversed.succeededFunds have arrived and are available.{
"id": "tu_z_1NG6yj2eZvKYlo2C1FOBiHya",
"object": "topup",
"amount": 200000,
"balance_transaction": "txn_z_1NG6yjLkdIwHu7ixNCZvFdgB",
"created": 1704067200,
"currency": "usdc",
"description": "Deposit from 8xK2Nv3F...",
"expected_availability_date": 1704067200,
"failure_code": null,
"failure_message": null,
"livemode": false,
"metadata": {
"blockchain_tx": "5xK9...abc123",
"network": "solana",
"sender_address": "8xK2Nv3F..."
},
"platform_account": "acct_z_Platform123abc",
"source": {
"id": "src_z_1NG6yjLkdIwHu7ixNCZvFdgC",
"object": "source",
"type": "crypto_deposit",
"metadata": {}
},
"statement_descriptor": null,
"status": "succeeded",
"transfer_group": null,
"account": "acct_z_Platform123abc",
"arrival_date": 1704067200
}