Download OpenAPI specification:
Phala Pay is a non-custodial crypto payments API for merchants: quotes and deposit addresses, deposits credited at a small confirmation depth and watched to finality, refunds you pay from your treasury, and webhooks signed with a key bound to a TDX attestation. The integration guide walks through an integration end to end.
Send an API key as Authorization: Bearer ppay_rk_test_… (test mode) or ppay_rk_live_… (live mode). A restricted key (ppay_rk_, Stripe) holds only the permissions it was created with and never manages keys, treasuries, webhook endpoints, webhook keys, or account settings: run production with one. A secret key (ppay_sk_) holds every permission; keep it offline, for administration. The key selects the account and the mode; every object carries livemode, and a key never sees the other mode's objects.
Every response carries Request-Id: req_… (Stripe). Quote it when you contact support. An event caused by an API request names it in request.id, with the Idempotency-Key the request sent.
Every POST accepts an Idempotency-Key of up to 255 characters (Stripe). For 24 hours a repeat of the same request returns the first response, with Idempotent-Replayed: true, whatever it was, including a 500, so a retry never runs a request twice; a repeat with another request is 400 idempotency_key_reused, and one while the first still runs is 409 idempotency_key_in_use. A request that did not execute is not saved and runs again on a retry: one that failed validation (parameter_*), was rate limited (429), or met 503 unavailable.
Lists are newest first with Stripe's cursor pagination (Stripe): limit (1 to 100, default 10), and starting_after or ending_before, the id of an object of the list; has_more says whether more follow. Lists with a created filter take created[gt], created[gte], created[lt], and created[lte] in Unix seconds.
Every change is an event, delivered to your webhook endpoints and listed by GET /v1/events (Stripe). data.object is the object as it was when the event happened, rendered with the change and never changed afterwards; *.updated events add data.previous_attributes. Deliveries are retried until delivered and never given up on; a webhook endpoint's pending_deliveries, oldest_pending_at, and last_attempt show whether it is keeping up, and GET /v1/events?delivery_success=false lists what it has not received.
Errors are Stripe's error object (Stripe): {"error": {"type", "code", "message", "param", "doc_url"}}. 400 means the request cannot succeed as sent or in the objects' current state, 401 authentication, 403 permission, 404 a missing object, 409 only an Idempotency-Key still in use, 429 too many requests (with Retry-After in seconds), and 5xx the service. Branch on code; message may change.
422. The environment has a configured attached-pending refund limit (production 2, staging 1), and permits one new attachment per rolling 24 hours, across all merchants and modes. This is not retryable; contact the operator before sending or attaching another payout. The refund stays pending and reserved. Repeating the same attachment does not consume quota; existing attachments continue verification.
422. The chain has reached its permanent pilot limit of 1,000 issued addresses, including retired and expired addresses. This is not retryable; the operator must upgrade the scanning/provider plan before issuing more.
400. The amount is above the route's maximum deposit, or above what is left to refund.
400. The quote would take the open quotes of your account in this mode past a cap: their number (max_open_quotes of GET /v1/config), their credit (max_open_amount_per_account), or one customer's credit (max_open_amount_per_customer). Wait for quotes to be paid, expire, or be canceled, or ask the operator to raise the cap.
400. A pause of the account, the customer, or the route blocks the operation (quotes, settlement, or refunds). Your own quotes pause lifts with POST /v1/account/resume; the operator lifts its own.
400. Reconciliation froze the chain pending the operator's review; no quote is issued on it until the operator lifts the block.
400. Your payment settings do not accept the asset on the chain in this mode, or accept nothing yet (GET /v1/payment_settings): quote an asset GET /v1/config lists, or accept it with POST /v1/payment_settings.
400. After a restore of the service, your payment settings wait for your reconfirmation: send your complete configuration with POST /v1/payment_settings.
400. The account has no treasury on the chain: POST /v1/treasuries/challenge, then POST /v1/treasuries.
400. The treasury proof does not prove the address: the message is not the challenge, or the signature does not verify.
400. The signature does not recover to the address and no contract is deployed there at the chain's finalized block; deploy the Safe first (ERC-6492 signatures are refused).
400. The quote's address already received a payment, so the quote cannot be canceled.
400. The quote's payment window has closed, so it cannot be canceled; it expires on its own.
400. Admin: only a deposit the pump processes, detected or confirmed, can be nudged; a credited deposit waits for its sweep, which only a finalized Flushed event records.
400. The deposit cannot be refunded: it is not credited or rejected, or it was reversed.
400. The deposit is not final yet and could still be reversed; request the refund once final is true (about 15 minutes after its block on Ethereum).
400. The refund's status does not allow the action: it is not pending, it is already marked paid with another transaction, or, being marked paid, it cannot be canceled.
400. The account's last active key of the mode cannot be revoked; create or roll a key first.
400. The account has its maximum of active deposit addresses in the mode.
400. The deposit address is retired; rotate the customer's active address instead.
400. The account has 16 webhook endpoints in the mode; delete one first.
400. The webhook endpoint is disabled; enable it before resending events to it.
400. The Idempotency-Key was used with a different request (type idempotency_error). Use a new key for a new request.
401. Admin API only: the request signature was already used; sign the request again.
403. The key may not make this request: a restricted key lacks the permission, or the request manages keys, treasuries, webhook endpoints, webhook keys, or account settings, which needs a secret key.
403. The account is not enabled for live mode; use a test key until the operator enables it.
409. A request with this Idempotency-Key is still running (type idempotency_error); retry shortly with the same key. The only 409.
429. Too many requests of the account and mode (100 per second live, 25 test), or reads of one quote's or deposit address's public view. Retry after Retry-After seconds, with exponential backoff.
429. The customer made too many quotes in the last minute, or rotated its deposit address too often in the last hour. Retry after Retry-After seconds.
500. The service failed. Retry with the same Idempotency-Key: a request that started executing replays this response, so it never runs twice; a new key runs it again.
503. A planned upgrade temporarily pauses new mutations. Reads continue while the process is up. Retry after Retry-After with the same Idempotency-Key; the request has not executed. The pause expires automatically if deployment fails.
503. The service was restored from backup and is frozen until the operator has reconciled it with you: every request with an API key is refused, reads too, and nothing is credited or delivered meanwhile. Retry after Retry-After seconds; the operator contacts you for your records since the restore point.
400. Admin API only: a restore reconciliation action needs the service frozen after a restore.
400. Admin API only: a chain is not rescanned since the restore (GET /v1/admin/restore); the freeze cannot be lifted yet.
| client_reference_id | string Only this customer's quotes |
| status | string
|
| limit | integer <int64> 1 to 100, default 10 |
| starting_after | string
|
| ending_before | string
|
{- "data": [
- {
- "address": "0x2f3e91325b2288bce392711f85f5359661062a91",
- "amount": 2500,
- "amount_atomic": "25000000",
- "asset": "usdc",
- "chain_id": 1,
- "client_reference_id": "team-42",
- "client_secret": "qt_5f1c0b6a2d9e4f3a8b7c6d5e4f3a2b10_secret_9f8e7d6c5b4a39281706f5e4d3c2b1a0f9e8d7c6b5a4938271605f4e3d2c1b0a",
- "created": 1790553600,
- "currency": "usd",
- "deposit": null,
- "exchange_rate": "1.00000000",
- "expires_at": 1790554500,
- "id": "qt_5f1c0b6a2d9e4f3a8b7c6d5e4f3a2b10",
- "livemode": false,
- "metadata": {
- "order_id": "ord_1001"
}, - "object": "quote",
- "payment": {
- "amount_atomic": "25000000",
- "asset": "usdc",
- "chain_id": 1,
- "confirmations": 1,
- "deposit": "dep_8a1f4e2b6c3d49e0a7b5c1d2e3f40516",
- "estimated_final_at": 1790554572,
- "matches_quote": true,
- "status": "seen",
- "tx_hash": "0x7d3c1e5a9b2f4d6c8e0a1b3d5f7c9e2a4b6d8f0c1e3a5b7d9f1c3e5a7b9d1f3e"
}, - "payment_uri": "ethereum:0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48@1/transfer?address=0x2f3e91325b2288bce392711f85f5359661062a91&uint256=25000000",
- "status": "open",
- "terms": {
- "confirmations": "12",
- "max_deposit_atomic": "10000000000",
- "min_amount": 100,
- "min_deposit_atomic": "0",
- "min_refund_atomic": "1000000",
- "quote_amount_decimals": 4,
- "quote_spread_bps": 0,
- "quote_tolerance_bps": 100,
- "quote_ttl_seconds": 900
}, - "treasury": "0x936c1991f8da9a919fa11b557a3514719f5a4504"
}
], - "has_more": false,
- "object": "list",
- "url": "/v1/quotes"
}| Idempotency-Key | string or null Up to 255 characters; for 24 hours a repeat of the same request returns the first response, and of another request is |
| amount required | integer <int64> >= 0 The credit to quote, a positive integer in the currency's minor unit (US cents). |
| asset required | string Asset code of the payment on that chain, such as |
| chain_id required | integer <int64> >= 0 EVM chain of the payment, one of |
| client_reference_id required | string Your identifier of the customer to credit, 1 to 200 characters (Stripe Checkout's
|
| currency required | string Lowercase ISO currency code; only |
object or string (MetadataParam) |
{- "amount": 2500,
- "asset": "usdc",
- "chain_id": 1,
- "client_reference_id": "team-42",
- "currency": "usd",
- "metadata": {
- "order_id": "ord_1001"
}
}{- "address": "0x2f3e91325b2288bce392711f85f5359661062a91",
- "amount": 2500,
- "amount_atomic": "25000000",
- "asset": "usdc",
- "chain_id": 1,
- "client_reference_id": "team-42",
- "client_secret": "qt_5f1c0b6a2d9e4f3a8b7c6d5e4f3a2b10_secret_9f8e7d6c5b4a39281706f5e4d3c2b1a0f9e8d7c6b5a4938271605f4e3d2c1b0a",
- "created": 1790553600,
- "currency": "usd",
- "deposit": null,
- "exchange_rate": "1.00000000",
- "expires_at": 1790554500,
- "id": "qt_5f1c0b6a2d9e4f3a8b7c6d5e4f3a2b10",
- "livemode": false,
- "metadata": {
- "order_id": "ord_1001"
}, - "object": "quote",
- "payment": {
- "amount_atomic": "25000000",
- "asset": "usdc",
- "chain_id": 1,
- "confirmations": 1,
- "deposit": "dep_8a1f4e2b6c3d49e0a7b5c1d2e3f40516",
- "estimated_final_at": 1790554572,
- "matches_quote": true,
- "status": "seen",
- "tx_hash": "0x7d3c1e5a9b2f4d6c8e0a1b3d5f7c9e2a4b6d8f0c1e3a5b7d9f1c3e5a7b9d1f3e"
}, - "payment_uri": "ethereum:0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48@1/transfer?address=0x2f3e91325b2288bce392711f85f5359661062a91&uint256=25000000",
- "status": "open",
- "terms": {
- "confirmations": "12",
- "max_deposit_atomic": "10000000000",
- "min_amount": 100,
- "min_deposit_atomic": "0",
- "min_refund_atomic": "1000000",
- "quote_amount_decimals": 4,
- "quote_spread_bps": 0,
- "quote_tolerance_bps": 100,
- "quote_ttl_seconds": 900
}, - "treasury": "0x936c1991f8da9a919fa11b557a3514719f5a4504"
}| id required | string Quote id, |
| expand[] | Array of strings
|
| client_secret | string The quote's |
{- "address": "0x2f3e91325b2288bce392711f85f5359661062a91",
- "amount": 2500,
- "amount_atomic": "25000000",
- "asset": "usdc",
- "chain_id": 1,
- "client_reference_id": "team-42",
- "client_secret": "qt_5f1c0b6a2d9e4f3a8b7c6d5e4f3a2b10_secret_9f8e7d6c5b4a39281706f5e4d3c2b1a0f9e8d7c6b5a4938271605f4e3d2c1b0a",
- "created": 1790553600,
- "currency": "usd",
- "deposit": null,
- "exchange_rate": "1.00000000",
- "expires_at": 1790554500,
- "id": "qt_5f1c0b6a2d9e4f3a8b7c6d5e4f3a2b10",
- "livemode": false,
- "metadata": {
- "order_id": "ord_1001"
}, - "object": "quote",
- "payment": {
- "amount_atomic": "25000000",
- "asset": "usdc",
- "chain_id": 1,
- "confirmations": 1,
- "deposit": "dep_8a1f4e2b6c3d49e0a7b5c1d2e3f40516",
- "estimated_final_at": 1790554572,
- "matches_quote": true,
- "status": "seen",
- "tx_hash": "0x7d3c1e5a9b2f4d6c8e0a1b3d5f7c9e2a4b6d8f0c1e3a5b7d9f1c3e5a7b9d1f3e"
}, - "payment_uri": "ethereum:0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48@1/transfer?address=0x2f3e91325b2288bce392711f85f5359661062a91&uint256=25000000",
- "status": "open",
- "terms": {
- "confirmations": "12",
- "max_deposit_atomic": "10000000000",
- "min_amount": 100,
- "min_deposit_atomic": "0",
- "min_refund_atomic": "1000000",
- "quote_amount_decimals": 4,
- "quote_spread_bps": 0,
- "quote_tolerance_bps": 100,
- "quote_ttl_seconds": 900
}, - "treasury": "0x936c1991f8da9a919fa11b557a3514719f5a4504"
}| id required | string Quote id, |
| Idempotency-Key | string or null Up to 255 characters; for 24 hours a repeat of the same request returns the first response, and of another request is |
object or string (MetadataParam) |
{- "metadata": {
- "note": "",
- "order_id": "ord_1001"
}
}{- "address": "0x2f3e91325b2288bce392711f85f5359661062a91",
- "amount": 2500,
- "amount_atomic": "25000000",
- "asset": "usdc",
- "chain_id": 1,
- "client_reference_id": "team-42",
- "client_secret": "qt_5f1c0b6a2d9e4f3a8b7c6d5e4f3a2b10_secret_9f8e7d6c5b4a39281706f5e4d3c2b1a0f9e8d7c6b5a4938271605f4e3d2c1b0a",
- "created": 1790553600,
- "currency": "usd",
- "deposit": null,
- "exchange_rate": "1.00000000",
- "expires_at": 1790554500,
- "id": "qt_5f1c0b6a2d9e4f3a8b7c6d5e4f3a2b10",
- "livemode": false,
- "metadata": {
- "order_id": "ord_1001"
}, - "object": "quote",
- "payment": {
- "amount_atomic": "25000000",
- "asset": "usdc",
- "chain_id": 1,
- "confirmations": 1,
- "deposit": "dep_8a1f4e2b6c3d49e0a7b5c1d2e3f40516",
- "estimated_final_at": 1790554572,
- "matches_quote": true,
- "status": "seen",
- "tx_hash": "0x7d3c1e5a9b2f4d6c8e0a1b3d5f7c9e2a4b6d8f0c1e3a5b7d9f1c3e5a7b9d1f3e"
}, - "payment_uri": "ethereum:0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48@1/transfer?address=0x2f3e91325b2288bce392711f85f5359661062a91&uint256=25000000",
- "status": "open",
- "terms": {
- "confirmations": "12",
- "max_deposit_atomic": "10000000000",
- "min_amount": 100,
- "min_deposit_atomic": "0",
- "min_refund_atomic": "1000000",
- "quote_amount_decimals": 4,
- "quote_spread_bps": 0,
- "quote_tolerance_bps": 100,
- "quote_ttl_seconds": 900
}, - "treasury": "0x936c1991f8da9a919fa11b557a3514719f5a4504"
}| id required | string Quote id, |
| Idempotency-Key | string or null Up to 255 characters; for 24 hours a repeat of the same request returns the first response, and of another request is |
{- "address": "0x2f3e91325b2288bce392711f85f5359661062a91",
- "amount": 2500,
- "amount_atomic": "25000000",
- "asset": "usdc",
- "chain_id": 1,
- "client_reference_id": "team-42",
- "client_secret": "qt_5f1c0b6a2d9e4f3a8b7c6d5e4f3a2b10_secret_9f8e7d6c5b4a39281706f5e4d3c2b1a0f9e8d7c6b5a4938271605f4e3d2c1b0a",
- "created": 1790553600,
- "currency": "usd",
- "deposit": null,
- "exchange_rate": "1.00000000",
- "expires_at": 1790554500,
- "id": "qt_5f1c0b6a2d9e4f3a8b7c6d5e4f3a2b10",
- "livemode": false,
- "metadata": {
- "order_id": "ord_1001"
}, - "object": "quote",
- "payment": {
- "amount_atomic": "25000000",
- "asset": "usdc",
- "chain_id": 1,
- "confirmations": 1,
- "deposit": "dep_8a1f4e2b6c3d49e0a7b5c1d2e3f40516",
- "estimated_final_at": 1790554572,
- "matches_quote": true,
- "status": "seen",
- "tx_hash": "0x7d3c1e5a9b2f4d6c8e0a1b3d5f7c9e2a4b6d8f0c1e3a5b7d9f1c3e5a7b9d1f3e"
}, - "payment_uri": "ethereum:0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48@1/transfer?address=0x2f3e91325b2288bce392711f85f5359661062a91&uint256=25000000",
- "status": "open",
- "terms": {
- "confirmations": "12",
- "max_deposit_atomic": "10000000000",
- "min_amount": 100,
- "min_deposit_atomic": "0",
- "min_refund_atomic": "1000000",
- "quote_amount_decimals": 4,
- "quote_spread_bps": 0,
- "quote_tolerance_bps": 100,
- "quote_ttl_seconds": 900
}, - "treasury": "0x936c1991f8da9a919fa11b557a3514719f5a4504"
}| id required | string Quote identifier |
| client_secret | string Object's browser client secret; omit with a merchant key |
| transaction_hash required | string^0x[0-9a-fA-F]{64}$ Transaction hash, exactly 32 hexadecimal bytes prefixed by |
{- "transaction_hash": "0x7d3c1e5a9b2f4d6c8e0a1b3d5f7c9e2a4b6d8f0c1e3a5b7d9f1c3e5a7b9d1f3e"
}{- "object": "transaction_submission",
- "status": "received",
- "transaction_hash": "0x7d3c1e5a9b2f4d6c8e0a1b3d5f7c9e2a4b6d8f0c1e3a5b7d9f1c3e5a7b9d1f3e"
}| client_reference_id | string Only this customer's addresses |
| status | string
|
| limit | integer <int64> 1 to 100, default 10 |
| starting_after | string
|
| ending_before | string
|
{- "data": [
- {
- "address": "0x0f45147a02e4c9d91aff20024e22095536fd5053",
- "client_reference_id": "team-42",
- "client_secret": "da_7b2e9c4a1f6d48b3a5c0e2d4f6a8b1c3_secret_0a1b2c3d4e5f60718293a4b5c6d7e8f90a1b2c3d4e5f60718293a4b5c6d7e8f9",
- "created": 1790553600,
- "id": "da_7b2e9c4a1f6d48b3a5c0e2d4f6a8b1c3",
- "livemode": false,
- "metadata": {
- "plan": "pro"
}, - "networks": [
- {
- "address": "0x0f45147a02e4c9d91aff20024e22095536fd5053",
- "assets": [
- {
- "asset": "usdc",
- "contract": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
- "decimals": 6,
- "payment_uri": "ethereum:0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48@1/transfer?address=0x0f45147a02e4c9d91aff20024e22095536fd5053"
}
], - "chain_id": 1,
- "treasury": "0x936c1991f8da9a919fa11b557a3514719f5a4504"
}
], - "object": "deposit_address",
- "payments": [ ],
- "retired_at": null,
- "salt": "0x4e9767dd0c2ab5b953a305c3f10dc1e0d1f7c9d3cbab8463509d2edb06ca4b52",
- "status": "active",
- "version": 1
}
], - "has_more": false,
- "object": "list",
- "url": "/v1/deposit_addresses"
}| Idempotency-Key | string or null Up to 255 characters; for 24 hours a repeat of the same request returns the first response, and of another request is |
| client_reference_id required | string Your identifier of the customer, 1 to 200 characters; the customer is created on first use. |
object or string (MetadataParam) |
{- "client_reference_id": "team-42",
- "metadata": {
- "plan": "pro"
}
}{- "address": "0x0f45147a02e4c9d91aff20024e22095536fd5053",
- "client_reference_id": "team-42",
- "client_secret": "da_7b2e9c4a1f6d48b3a5c0e2d4f6a8b1c3_secret_0a1b2c3d4e5f60718293a4b5c6d7e8f90a1b2c3d4e5f60718293a4b5c6d7e8f9",
- "created": 1790553600,
- "id": "da_7b2e9c4a1f6d48b3a5c0e2d4f6a8b1c3",
- "livemode": false,
- "metadata": {
- "plan": "pro"
}, - "networks": [
- {
- "address": "0x0f45147a02e4c9d91aff20024e22095536fd5053",
- "assets": [
- {
- "asset": "usdc",
- "contract": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
- "decimals": 6,
- "payment_uri": "ethereum:0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48@1/transfer?address=0x0f45147a02e4c9d91aff20024e22095536fd5053"
}
], - "chain_id": 1,
- "treasury": "0x936c1991f8da9a919fa11b557a3514719f5a4504"
}
], - "object": "deposit_address",
- "payments": [ ],
- "retired_at": null,
- "salt": "0x4e9767dd0c2ab5b953a305c3f10dc1e0d1f7c9d3cbab8463509d2edb06ca4b52",
- "status": "active",
- "version": 1
}| id required | string Deposit address id, |
| client_secret | string A |
{- "address": "0x0f45147a02e4c9d91aff20024e22095536fd5053",
- "client_reference_id": "team-42",
- "client_secret": "da_7b2e9c4a1f6d48b3a5c0e2d4f6a8b1c3_secret_0a1b2c3d4e5f60718293a4b5c6d7e8f90a1b2c3d4e5f60718293a4b5c6d7e8f9",
- "created": 1790553600,
- "id": "da_7b2e9c4a1f6d48b3a5c0e2d4f6a8b1c3",
- "livemode": false,
- "metadata": {
- "plan": "pro"
}, - "networks": [
- {
- "address": "0x0f45147a02e4c9d91aff20024e22095536fd5053",
- "assets": [
- {
- "asset": "usdc",
- "contract": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
- "decimals": 6,
- "payment_uri": "ethereum:0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48@1/transfer?address=0x0f45147a02e4c9d91aff20024e22095536fd5053"
}
], - "chain_id": 1,
- "treasury": "0x936c1991f8da9a919fa11b557a3514719f5a4504"
}
], - "object": "deposit_address",
- "payments": [ ],
- "retired_at": null,
- "salt": "0x4e9767dd0c2ab5b953a305c3f10dc1e0d1f7c9d3cbab8463509d2edb06ca4b52",
- "status": "active",
- "version": 1
}| id required | string Deposit address id, |
| Idempotency-Key | string or null Up to 255 characters; for 24 hours a repeat of the same request returns the first response, and of another request is |
object or string (MetadataParam) |
{- "metadata": {
- "note": "",
- "order_id": "ord_1001"
}
}{- "address": "0x0f45147a02e4c9d91aff20024e22095536fd5053",
- "client_reference_id": "team-42",
- "client_secret": "da_7b2e9c4a1f6d48b3a5c0e2d4f6a8b1c3_secret_0a1b2c3d4e5f60718293a4b5c6d7e8f90a1b2c3d4e5f60718293a4b5c6d7e8f9",
- "created": 1790553600,
- "id": "da_7b2e9c4a1f6d48b3a5c0e2d4f6a8b1c3",
- "livemode": false,
- "metadata": {
- "plan": "pro"
}, - "networks": [
- {
- "address": "0x0f45147a02e4c9d91aff20024e22095536fd5053",
- "assets": [
- {
- "asset": "usdc",
- "contract": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
- "decimals": 6,
- "payment_uri": "ethereum:0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48@1/transfer?address=0x0f45147a02e4c9d91aff20024e22095536fd5053"
}
], - "chain_id": 1,
- "treasury": "0x936c1991f8da9a919fa11b557a3514719f5a4504"
}
], - "object": "deposit_address",
- "payments": [ ],
- "retired_at": null,
- "salt": "0x4e9767dd0c2ab5b953a305c3f10dc1e0d1f7c9d3cbab8463509d2edb06ca4b52",
- "status": "active",
- "version": 1
}| id required | string Deposit address id, |
| Idempotency-Key | string or null Up to 255 characters; for 24 hours a repeat of the same request returns the first response, and of another request is |
{- "address": "0x0f45147a02e4c9d91aff20024e22095536fd5053",
- "client_reference_id": "team-42",
- "client_secret": "da_7b2e9c4a1f6d48b3a5c0e2d4f6a8b1c3_secret_0a1b2c3d4e5f60718293a4b5c6d7e8f90a1b2c3d4e5f60718293a4b5c6d7e8f9",
- "created": 1790553600,
- "id": "da_7b2e9c4a1f6d48b3a5c0e2d4f6a8b1c3",
- "livemode": false,
- "metadata": {
- "plan": "pro"
}, - "networks": [
- {
- "address": "0x0f45147a02e4c9d91aff20024e22095536fd5053",
- "assets": [
- {
- "asset": "usdc",
- "contract": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
- "decimals": 6,
- "payment_uri": "ethereum:0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48@1/transfer?address=0x0f45147a02e4c9d91aff20024e22095536fd5053"
}
], - "chain_id": 1,
- "treasury": "0x936c1991f8da9a919fa11b557a3514719f5a4504"
}
], - "object": "deposit_address",
- "payments": [ ],
- "retired_at": null,
- "salt": "0x4e9767dd0c2ab5b953a305c3f10dc1e0d1f7c9d3cbab8463509d2edb06ca4b52",
- "status": "active",
- "version": 1
}| id required | string Deposit-address identifier |
| client_secret | string Object's browser client secret; omit with a merchant key |
| chain_id required | integer <int64> >= 0 One of this object's issued network identifiers. |
| transaction_hash required | string^0x[0-9a-fA-F]{64}$ Transaction hash, exactly 32 hexadecimal bytes prefixed by |
{- "chain_id": 84532,
- "transaction_hash": "0x7d3c1e5a9b2f4d6c8e0a1b3d5f7c9e2a4b6d8f0c1e3a5b7d9f1c3e5a7b9d1f3e"
}{- "object": "transaction_submission",
- "status": "received",
- "transaction_hash": "0x7d3c1e5a9b2f4d6c8e0a1b3d5f7c9e2a4b6d8f0c1e3a5b7d9f1c3e5a7b9d1f3e"
}| client_reference_id | string Only this customer's deposits |
| quote | string Only deposits to this quote's address |
| deposit_address | string Only deposits to this deposit address, |
| status | string Only deposits in this status: |
| tx_hash | string Only deposits in this transaction |
| created[gt] | integer <int64> Created after, Unix seconds |
| created[gte] | integer <int64> Created at or after, Unix seconds |
| created[lt] | integer <int64> Created before, Unix seconds |
| created[lte] | integer <int64> Created at or before, Unix seconds |
| limit | integer <int64> 1 to 100, default 10 |
| starting_after | string
|
| ending_before | string
|
| expand[] | Array of strings
|
{- "data": [
- {
- "address": "0x2f3e91325b2288bce392711f85f5359661062a91",
- "amount": 2500,
- "amount_atomic": "25000000",
- "amount_refunded": 0,
- "amount_refunded_atomic": "0",
- "amount_reversed": 0,
- "asset": "usdc",
- "asset_contract": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
- "block_hash": "0x9a1c3e5b7d0f2a4c6e8b0d2f4a6c8e0b2d4f6a8c0e2b4d6f8a0c2e4b6d8f0a2c",
- "block_number": 21000000,
- "block_time": 1790553612,
- "chain_id": 1,
- "client_reference_id": "team-42",
- "created": 1790553624,
- "currency": "usd",
- "deposit_address": null,
- "exchange_rate": "1.00000000",
- "final": true,
- "final_at": 1790554572,
- "from_address": "0x1775c1326aa633546b0b5634ae2bef0ba7cbfc9a",
- "id": "dep_8a1f4e2b6c3d49e0a7b5c1d2e3f40516",
- "livemode": false,
- "log_index": 212,
- "metadata": {
- "order_id": "ord_1001"
}, - "object": "deposit",
- "price_source": "quote",
- "quote": "qt_5f1c0b6a2d9e4f3a8b7c6d5e4f3a2b10",
- "receipt_log_index": 0,
- "refunded": false,
- "rejection_reason": null,
- "replaced_by": null,
- "replaces": null,
- "revision": 0,
- "status": "credited",
- "swept": false,
- "tx_hash": "0x7d3c1e5a9b2f4d6c8e0a1b3d5f7c9e2a4b6d8f0c1e3a5b7d9f1c3e5a7b9d1f3e",
- "valued_at": 1790553630
}
], - "has_more": false,
- "object": "list",
- "url": "/v1/deposits"
}| id required | string Deposit id, |
| expand[] | Array of strings
|
{- "address": "0x2f3e91325b2288bce392711f85f5359661062a91",
- "amount": 2500,
- "amount_atomic": "25000000",
- "amount_refunded": 0,
- "amount_refunded_atomic": "0",
- "amount_reversed": 0,
- "asset": "usdc",
- "asset_contract": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
- "block_hash": "0x9a1c3e5b7d0f2a4c6e8b0d2f4a6c8e0b2d4f6a8c0e2b4d6f8a0c2e4b6d8f0a2c",
- "block_number": 21000000,
- "block_time": 1790553612,
- "chain_id": 1,
- "client_reference_id": "team-42",
- "created": 1790553624,
- "currency": "usd",
- "deposit_address": null,
- "exchange_rate": "1.00000000",
- "final": true,
- "final_at": 1790554572,
- "from_address": "0x1775c1326aa633546b0b5634ae2bef0ba7cbfc9a",
- "id": "dep_8a1f4e2b6c3d49e0a7b5c1d2e3f40516",
- "livemode": false,
- "log_index": 212,
- "metadata": {
- "order_id": "ord_1001"
}, - "object": "deposit",
- "price_source": "quote",
- "quote": "qt_5f1c0b6a2d9e4f3a8b7c6d5e4f3a2b10",
- "receipt_log_index": 0,
- "refunded": false,
- "rejection_reason": null,
- "replaced_by": null,
- "replaces": null,
- "revision": 0,
- "status": "credited",
- "swept": false,
- "tx_hash": "0x7d3c1e5a9b2f4d6c8e0a1b3d5f7c9e2a4b6d8f0c1e3a5b7d9f1c3e5a7b9d1f3e",
- "valued_at": 1790553630
}| id required | string Deposit id, |
| Idempotency-Key | string or null Up to 255 characters; for 24 hours a repeat of the same request returns the first response, and of another request is |
object or string (MetadataParam) |
{- "metadata": {
- "note": "",
- "order_id": "ord_1001"
}
}{- "address": "0x2f3e91325b2288bce392711f85f5359661062a91",
- "amount": 2500,
- "amount_atomic": "25000000",
- "amount_refunded": 0,
- "amount_refunded_atomic": "0",
- "amount_reversed": 0,
- "asset": "usdc",
- "asset_contract": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
- "block_hash": "0x9a1c3e5b7d0f2a4c6e8b0d2f4a6c8e0b2d4f6a8c0e2b4d6f8a0c2e4b6d8f0a2c",
- "block_number": 21000000,
- "block_time": 1790553612,
- "chain_id": 1,
- "client_reference_id": "team-42",
- "created": 1790553624,
- "currency": "usd",
- "deposit_address": null,
- "exchange_rate": "1.00000000",
- "final": true,
- "final_at": 1790554572,
- "from_address": "0x1775c1326aa633546b0b5634ae2bef0ba7cbfc9a",
- "id": "dep_8a1f4e2b6c3d49e0a7b5c1d2e3f40516",
- "livemode": false,
- "log_index": 212,
- "metadata": {
- "order_id": "ord_1001"
}, - "object": "deposit",
- "price_source": "quote",
- "quote": "qt_5f1c0b6a2d9e4f3a8b7c6d5e4f3a2b10",
- "receipt_log_index": 0,
- "refunded": false,
- "rejection_reason": null,
- "replaced_by": null,
- "replaces": null,
- "revision": 0,
- "status": "credited",
- "swept": false,
- "tx_hash": "0x7d3c1e5a9b2f4d6c8e0a1b3d5f7c9e2a4b6d8f0c1e3a5b7d9f1c3e5a7b9d1f3e",
- "valued_at": 1790553630
}| deposit | string Only this deposit's refunds, |
| status | string
|
| limit | integer <int64> 1 to 100, default 10 |
| starting_after | string
|
| ending_before | string
|
{- "data": [
- {
- "amount_atomic": "25000000",
- "created": 1790557200,
- "deposit": "dep_8a1f4e2b6c3d49e0a7b5c1d2e3f40516",
- "destination_address": "0x1775c1326aa633546b0b5634ae2bef0ba7cbfc9a",
- "failure_reason": null,
- "id": "re_3c9e7a1b5d2f4a6c8e0b1d3f5a7c9e02",
- "livemode": false,
- "metadata": {
- "ticket": "support-311"
}, - "object": "refund",
- "receipt_log_index": 0,
- "status": "pending",
- "transaction_hash": "0x4b6d8f0a2c4e6a8c0e2b4d6f8a0c2e4b6d8f0a2c4e6b8d0f2a4c6e8b0d2f4a6c",
- "treasury": "0x936c1991f8da9a919fa11b557a3514719f5a4504"
}
], - "has_more": false,
- "object": "list",
- "url": "/v1/refunds"
}| Idempotency-Key | string or null Up to 255 characters; for 24 hours a repeat of the same request returns the first response, and of another request is |
| amount_atomic | string or null Amount in base units, as a decimal string; the unrefunded remainder when absent. |
| deposit required | string
|
| destination_address required | string Address the customer controls; never default it to the sender, which may be an exchange. |
object or string (MetadataParam) |
{- "amount_atomic": "25000000",
- "deposit": "dep_8a1f4e2b6c3d49e0a7b5c1d2e3f40516",
- "destination_address": "0x1775c1326aa633546b0b5634ae2bef0ba7cbfc9a",
- "metadata": {
- "ticket": "support-311"
}
}{- "amount_atomic": "25000000",
- "created": 1790557200,
- "deposit": "dep_8a1f4e2b6c3d49e0a7b5c1d2e3f40516",
- "destination_address": "0x1775c1326aa633546b0b5634ae2bef0ba7cbfc9a",
- "failure_reason": null,
- "id": "re_3c9e7a1b5d2f4a6c8e0b1d3f5a7c9e02",
- "livemode": false,
- "metadata": {
- "ticket": "support-311"
}, - "object": "refund",
- "receipt_log_index": 0,
- "status": "pending",
- "transaction_hash": "0x4b6d8f0a2c4e6a8c0e2b4d6f8a0c2e4b6d8f0a2c4e6b8d0f2a4c6e8b0d2f4a6c",
- "treasury": "0x936c1991f8da9a919fa11b557a3514719f5a4504"
}| id required | string Refund id, |
| expand[] | Array of strings
|
{- "amount_atomic": "25000000",
- "created": 1790557200,
- "deposit": "dep_8a1f4e2b6c3d49e0a7b5c1d2e3f40516",
- "destination_address": "0x1775c1326aa633546b0b5634ae2bef0ba7cbfc9a",
- "failure_reason": null,
- "id": "re_3c9e7a1b5d2f4a6c8e0b1d3f5a7c9e02",
- "livemode": false,
- "metadata": {
- "ticket": "support-311"
}, - "object": "refund",
- "receipt_log_index": 0,
- "status": "pending",
- "transaction_hash": "0x4b6d8f0a2c4e6a8c0e2b4d6f8a0c2e4b6d8f0a2c4e6b8d0f2a4c6e8b0d2f4a6c",
- "treasury": "0x936c1991f8da9a919fa11b557a3514719f5a4504"
}| id required | string Refund id, |
| Idempotency-Key | string or null Up to 255 characters; for 24 hours a repeat of the same request returns the first response, and of another request is |
object or string (MetadataParam) |
{- "metadata": {
- "note": "",
- "order_id": "ord_1001"
}
}{- "amount_atomic": "25000000",
- "created": 1790557200,
- "deposit": "dep_8a1f4e2b6c3d49e0a7b5c1d2e3f40516",
- "destination_address": "0x1775c1326aa633546b0b5634ae2bef0ba7cbfc9a",
- "failure_reason": null,
- "id": "re_3c9e7a1b5d2f4a6c8e0b1d3f5a7c9e02",
- "livemode": false,
- "metadata": {
- "ticket": "support-311"
}, - "object": "refund",
- "receipt_log_index": 0,
- "status": "pending",
- "transaction_hash": "0x4b6d8f0a2c4e6a8c0e2b4d6f8a0c2e4b6d8f0a2c4e6b8d0f2a4c6e8b0d2f4a6c",
- "treasury": "0x936c1991f8da9a919fa11b557a3514719f5a4504"
}| id required | string Refund id, |
| Idempotency-Key | string or null Up to 255 characters; for 24 hours a repeat of the same request returns the first response, and of another request is |
{- "amount_atomic": "25000000",
- "created": 1790557200,
- "deposit": "dep_8a1f4e2b6c3d49e0a7b5c1d2e3f40516",
- "destination_address": "0x1775c1326aa633546b0b5634ae2bef0ba7cbfc9a",
- "failure_reason": null,
- "id": "re_3c9e7a1b5d2f4a6c8e0b1d3f5a7c9e02",
- "livemode": false,
- "metadata": {
- "ticket": "support-311"
}, - "object": "refund",
- "receipt_log_index": 0,
- "status": "pending",
- "transaction_hash": "0x4b6d8f0a2c4e6a8c0e2b4d6f8a0c2e4b6d8f0a2c4e6b8d0f2a4c6e8b0d2f4a6c",
- "treasury": "0x936c1991f8da9a919fa11b557a3514719f5a4504"
}| id required | string Refund id, |
| Idempotency-Key | string or null Up to 255 characters; for 24 hours a repeat of the same request returns the first response, and of another request is |
| receipt_log_index | integer or null <int64> >= 0 Position of the |
| transaction_hash required | string Hash of the transaction that pays the refund from the treasury of the deposit's address. |
{- "receipt_log_index": 0,
- "transaction_hash": "0x4b6d8f0a2c4e6a8c0e2b4d6f8a0c2e4b6d8f0a2c4e6b8d0f2a4c6e8b0d2f4a6c"
}{- "amount_atomic": "25000000",
- "created": 1790557200,
- "deposit": "dep_8a1f4e2b6c3d49e0a7b5c1d2e3f40516",
- "destination_address": "0x1775c1326aa633546b0b5634ae2bef0ba7cbfc9a",
- "failure_reason": null,
- "id": "re_3c9e7a1b5d2f4a6c8e0b1d3f5a7c9e02",
- "livemode": false,
- "metadata": {
- "ticket": "support-311"
}, - "object": "refund",
- "receipt_log_index": 0,
- "status": "pending",
- "transaction_hash": "0x4b6d8f0a2c4e6a8c0e2b4d6f8a0c2e4b6d8f0a2c4e6b8d0f2a4c6e8b0d2f4a6c",
- "treasury": "0x936c1991f8da9a919fa11b557a3514719f5a4504"
}{- "livemode": false,
- "object": "balance",
- "unswept": [
- {
- "amount_atomic": "25000000",
- "asset": "usdc",
- "chain_id": 1,
- "final_amount_atomic": "25000000",
- "token": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"
}
]
}| chain_id | integer <int64> >= 0 Only this chain's sweeps |
| forwarder | string Only this forwarder's sweeps, |
| token | string Only sweeps of this token contract |
| limit | integer <int64> 1 to 100, default 10 |
| starting_after | string
|
| ending_before | string
|
{- "data": [
- {
- "address": "0x2f3e91325b2288bce392711f85f5359661062a91",
- "amount_atomic": "25000000",
- "asset": "usdc",
- "block_number": 21000420,
- "chain_id": 1,
- "created": 1790560800,
- "forwarder": "fwd_5c7e9a1b3d2f44c6e8a0b2d4f6c8e0a2",
- "id": "sw_1e3c5a7b9d0f42e4c6a8b0d2f4e6a8c0",
- "livemode": false,
- "log_index": 7,
- "object": "sweep",
- "token": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
- "treasury": "0x936c1991f8da9a919fa11b557a3514719f5a4504",
- "tx_hash": "0x4b6d8f0a2c4e6a8c0e2b4d6f8a0c2e4b6d8f0a2c4e6b8d0f2a4c6e8b0d2f4a6c"
}
], - "has_more": false,
- "object": "list",
- "url": "/v1/sweeps"
}| chain_id | integer <int64> >= 0 Only this chain's forwarders |
| quote | string Only this quote's forwarder, |
| deposit_address | string Only this deposit address's networks, |
| sweepable | string A token contract: only forwarders with a final unswept balance of it that may be swept, never one holding a deposit rejected as sanctioned or paying a treasury a sanctions list names |
| limit | integer <int64> 1 to 100, default 10 |
| starting_after | string
|
| ending_before | string
|
{- "data": [
- {
- "address": "0x2f3e91325b2288bce392711f85f5359661062a91",
- "chain_id": 1,
- "deposit_address": null,
- "factory": "0x9e5f1d3c7a2b4e6f8a0c1d3e5f7a9b2c4d6e8f01",
- "id": "fwd_5c7e9a1b3d2f44c6e8a0b2d4f6c8e0a2",
- "livemode": false,
- "object": "forwarder",
- "quote": "qt_5f1c0b6a2d9e4f3a8b7c6d5e4f3a2b10",
- "salt": "0x4e9767dd0c2ab5b953a305c3f10dc1e0d1f7c9d3cbab8463509d2edb06ca4b52",
- "superseded_at": null,
- "treasury": "0x936c1991f8da9a919fa11b557a3514719f5a4504"
}
], - "has_more": false,
- "object": "list",
- "url": "/v1/forwarders"
}| chain_id | integer <int64> >= 0 Only this chain's treasuries |
| status | string
|
| limit | integer <int64> 1 to 100, default 10 |
| starting_after | string
|
| ending_before | string
|
{- "data": [
- {
- "address": "0x936c1991f8da9a919fa11b557a3514719f5a4504",
- "canceled_at": null,
- "cancellation_reason": null,
- "chain_id": 1,
- "created": 1790467200,
- "crediting_paused": false,
- "crediting_paused_by": [ ],
- "effective_at": 1790467200,
- "id": "trs_4d8a2c6e0b1f47a3c5e7d9b1a3c5e7f9",
- "kind": "contract",
- "livemode": false,
- "object": "treasury",
- "replaced_at": null,
- "status": "active"
}
], - "has_more": false,
- "object": "list",
- "url": "/v1/treasuries"
}The chain's first treasury, and any test-mode change, applies at once. A later live change is
pending for 48 hours, then applies (treasury.updated) unless canceled first: new quotes and
deposit address networks then pay it, while addresses issued before keep paying the former
treasury, which becomes replaced (treasury.updated), and are still credited. Every new
treasury is announced as treasury.created; treasury events go to every enabled webhook
endpoint of the mode.
| Idempotency-Key | string or null Up to 255 characters; for 24 hours a repeat of the same request returns the first response, and of another request is |
| chain_id required | integer <int64> >= 0 The treasury's chain, the challenge's. |
| message required | string The challenge's |
| signature required | string Hex signature of the message: an EOA's 65-byte |
{- "chain_id": 1,
- "message": "pay-api.phala.com wants you to sign in with your Ethereum account:\n0x936c1991f8dA9a919fa11b557a3514719f5A4504\n\nSet this address as the test mode treasury of acct_0c6e1d0a9b3f4c2e8d7a6b5c4d3e2f10 on Phala Pay.\n\nURI: https://pay-api.phala.com\nVersion: 1\nChain ID: 1\nNonce: Kq3nV8xZt2mP6wRa\nIssued At: 2026-09-28T12:00:00Z\nExpiration Time: 2026-09-28T12:10:00Z",
- "signature": "0x5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e5e1b"
}{- "address": "0x936c1991f8da9a919fa11b557a3514719f5a4504",
- "canceled_at": null,
- "cancellation_reason": null,
- "chain_id": 1,
- "created": 1790467200,
- "crediting_paused": false,
- "crediting_paused_by": [ ],
- "effective_at": 1790467200,
- "id": "trs_4d8a2c6e0b1f47a3c5e7d9b1a3c5e7f9",
- "kind": "contract",
- "livemode": false,
- "object": "treasury",
- "replaced_at": null,
- "status": "active"
}| Idempotency-Key | string or null Up to 255 characters; for 24 hours a repeat of the same request returns the first response, and of another request is |
| address required | string The treasury address to prove: an EOA, or a contract deployed on the chain such as a Safe. |
| chain_id required | integer <int64> >= 0 The chain of the treasury: a chain of the key's mode ( |
{- "address": "0x936c1991f8da9a919fa11b557a3514719f5a4504",
- "chain_id": 1
}{- "address": "0x936c1991f8da9a919fa11b557a3514719f5a4504",
- "chain_id": 1,
- "expires_at": 1790554200,
- "livemode": false,
- "message": "pay-api.phala.com wants you to sign in with your Ethereum account:\n0x936c1991f8dA9a919fa11b557a3514719f5A4504\n\nSet this address as the test mode treasury of acct_0c6e1d0a9b3f4c2e8d7a6b5c4d3e2f10 on Phala Pay.\n\nURI: https://pay-api.phala.com\nVersion: 1\nChain ID: 1\nNonce: Kq3nV8xZt2mP6wRa\nIssued At: 2026-09-28T12:00:00Z\nExpiration Time: 2026-09-28T12:10:00Z",
- "nonce": "Kq3nV8xZt2mP6wRa",
- "object": "treasury_challenge"
}{- "address": "0x936c1991f8da9a919fa11b557a3514719f5a4504",
- "canceled_at": null,
- "cancellation_reason": null,
- "chain_id": 1,
- "created": 1790467200,
- "crediting_paused": false,
- "crediting_paused_by": [ ],
- "effective_at": 1790467200,
- "id": "trs_4d8a2c6e0b1f47a3c5e7d9b1a3c5e7f9",
- "kind": "contract",
- "livemode": false,
- "object": "treasury",
- "replaced_at": null,
- "status": "active"
}| id required | string Treasury id, |
| Idempotency-Key | string or null Up to 255 characters; for 24 hours a repeat of the same request returns the first response, and of another request is |
{- "address": "0x936c1991f8da9a919fa11b557a3514719f5a4504",
- "canceled_at": null,
- "cancellation_reason": null,
- "chain_id": 1,
- "created": 1790467200,
- "crediting_paused": false,
- "crediting_paused_by": [ ],
- "effective_at": 1790467200,
- "id": "trs_4d8a2c6e0b1f47a3c5e7d9b1a3c5e7f9",
- "kind": "contract",
- "livemode": false,
- "object": "treasury",
- "replaced_at": null,
- "status": "active"
}| id required | string Treasury id, |
| Idempotency-Key | string or null Up to 255 characters; for 24 hours a repeat of the same request returns the first response, and of another request is |
{- "address": "0x936c1991f8da9a919fa11b557a3514719f5a4504",
- "canceled_at": null,
- "cancellation_reason": null,
- "chain_id": 1,
- "created": 1790467200,
- "crediting_paused": false,
- "crediting_paused_by": [ ],
- "effective_at": 1790467200,
- "id": "trs_4d8a2c6e0b1f47a3c5e7d9b1a3c5e7f9",
- "kind": "contract",
- "livemode": false,
- "object": "treasury",
- "replaced_at": null,
- "status": "active"
}| id required | string Treasury id, |
| Idempotency-Key | string or null Up to 255 characters; for 24 hours a repeat of the same request returns the first response, and of another request is |
{- "address": "0x936c1991f8da9a919fa11b557a3514719f5a4504",
- "canceled_at": null,
- "cancellation_reason": null,
- "chain_id": 1,
- "created": 1790467200,
- "crediting_paused": false,
- "crediting_paused_by": [ ],
- "effective_at": 1790467200,
- "id": "trs_4d8a2c6e0b1f47a3c5e7d9b1a3c5e7f9",
- "kind": "contract",
- "livemode": false,
- "object": "treasury",
- "replaced_at": null,
- "status": "active"
}| type | string Only events of this type, such as |
| types[] | Array of strings Only events of these types, up to 20, each a type or a group; not with |
| delivery_success | boolean
|
| created[gt] | integer <int64> Created after, Unix seconds |
| created[gte] | integer <int64> Created at or after, Unix seconds |
| created[lt] | integer <int64> Created before, Unix seconds |
| created[lte] | integer <int64> Created at or before, Unix seconds |
| limit | integer <int64> 1 to 100, default 10 |
| starting_after | string
|
| ending_before | string
|
{- "data": [
- {
- "account": "acct_0c6e1d0a9b3f4c2e8d7a6b5c4d3e2f10",
- "actor": "system",
- "created": 1790553630,
- "data": {
- "object": {
- "address": "0x2f3e91325b2288bce392711f85f5359661062a91",
- "amount": 2500,
- "amount_atomic": "25000000",
- "amount_refunded": 0,
- "amount_refunded_atomic": "0",
- "amount_reversed": 0,
- "asset": "usdc",
- "asset_contract": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
- "block_hash": "0x9a1c3e5b7d0f2a4c6e8b0d2f4a6c8e0b2d4f6a8c0e2b4d6f8a0c2e4b6d8f0a2c",
- "block_number": 21000000,
- "block_time": 1790553612,
- "chain_id": 1,
- "client_reference_id": "team-42",
- "created": 1790553624,
- "currency": "usd",
- "deposit_address": null,
- "exchange_rate": "1.00000000",
- "final": false,
- "final_at": 1790554572,
- "from_address": "0x1775c1326aa633546b0b5634ae2bef0ba7cbfc9a",
- "id": "dep_8a1f4e2b6c3d49e0a7b5c1d2e3f40516",
- "livemode": false,
- "log_index": 212,
- "metadata": {
- "order_id": "ord_1001"
}, - "object": "deposit",
- "price_source": "quote",
- "quote": "qt_5f1c0b6a2d9e4f3a8b7c6d5e4f3a2b10",
- "receipt_log_index": 0,
- "refunded": false,
- "rejection_reason": null,
- "replaced_by": null,
- "replaces": null,
- "revision": 0,
- "status": "credited",
- "swept": false,
- "tx_hash": "0x7d3c1e5a9b2f4d6c8e0a1b3d5f7c9e2a4b6d8f0c1e3a5b7d9f1c3e5a7b9d1f3e",
- "valued_at": 1790553630
}
}, - "id": "evt_2b4d6f8a0c1e43b5d7f9a1c3e5b7d9f0",
- "livemode": false,
- "object": "event",
- "pending_webhooks": 0,
- "request": null,
- "type": "deposit.credited"
}
], - "has_more": false,
- "object": "list",
- "url": "/v1/events"
}{- "account": "acct_0c6e1d0a9b3f4c2e8d7a6b5c4d3e2f10",
- "actor": "system",
- "created": 1790553630,
- "data": {
- "object": {
- "address": "0x2f3e91325b2288bce392711f85f5359661062a91",
- "amount": 2500,
- "amount_atomic": "25000000",
- "amount_refunded": 0,
- "amount_refunded_atomic": "0",
- "amount_reversed": 0,
- "asset": "usdc",
- "asset_contract": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
- "block_hash": "0x9a1c3e5b7d0f2a4c6e8b0d2f4a6c8e0b2d4f6a8c0e2b4d6f8a0c2e4b6d8f0a2c",
- "block_number": 21000000,
- "block_time": 1790553612,
- "chain_id": 1,
- "client_reference_id": "team-42",
- "created": 1790553624,
- "currency": "usd",
- "deposit_address": null,
- "exchange_rate": "1.00000000",
- "final": false,
- "final_at": 1790554572,
- "from_address": "0x1775c1326aa633546b0b5634ae2bef0ba7cbfc9a",
- "id": "dep_8a1f4e2b6c3d49e0a7b5c1d2e3f40516",
- "livemode": false,
- "log_index": 212,
- "metadata": {
- "order_id": "ord_1001"
}, - "object": "deposit",
- "price_source": "quote",
- "quote": "qt_5f1c0b6a2d9e4f3a8b7c6d5e4f3a2b10",
- "receipt_log_index": 0,
- "refunded": false,
- "rejection_reason": null,
- "replaced_by": null,
- "replaces": null,
- "revision": 0,
- "status": "credited",
- "swept": false,
- "tx_hash": "0x7d3c1e5a9b2f4d6c8e0a1b3d5f7c9e2a4b6d8f0c1e3a5b7d9f1c3e5a7b9d1f3e",
- "valued_at": 1790553630
}
}, - "id": "evt_2b4d6f8a0c1e43b5d7f9a1c3e5b7d9f0",
- "livemode": false,
- "object": "event",
- "pending_webhooks": 0,
- "request": null,
- "type": "deposit.credited"
}| id required | string Event id, |
| Idempotency-Key | string or null Up to 255 characters; for 24 hours a repeat of the same request returns the first response, and of another request is |
| webhook_endpoint required | string The enabled endpoint to deliver the event to again, |
{- "webhook_endpoint": "we_9e1c3a5b7d2f40c6e8a0b2d4f6a8c0e1"
}{- "account": "acct_0c6e1d0a9b3f4c2e8d7a6b5c4d3e2f10",
- "actor": "system",
- "created": 1790553630,
- "data": {
- "object": {
- "address": "0x2f3e91325b2288bce392711f85f5359661062a91",
- "amount": 2500,
- "amount_atomic": "25000000",
- "amount_refunded": 0,
- "amount_refunded_atomic": "0",
- "amount_reversed": 0,
- "asset": "usdc",
- "asset_contract": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
- "block_hash": "0x9a1c3e5b7d0f2a4c6e8b0d2f4a6c8e0b2d4f6a8c0e2b4d6f8a0c2e4b6d8f0a2c",
- "block_number": 21000000,
- "block_time": 1790553612,
- "chain_id": 1,
- "client_reference_id": "team-42",
- "created": 1790553624,
- "currency": "usd",
- "deposit_address": null,
- "exchange_rate": "1.00000000",
- "final": false,
- "final_at": 1790554572,
- "from_address": "0x1775c1326aa633546b0b5634ae2bef0ba7cbfc9a",
- "id": "dep_8a1f4e2b6c3d49e0a7b5c1d2e3f40516",
- "livemode": false,
- "log_index": 212,
- "metadata": {
- "order_id": "ord_1001"
}, - "object": "deposit",
- "price_source": "quote",
- "quote": "qt_5f1c0b6a2d9e4f3a8b7c6d5e4f3a2b10",
- "receipt_log_index": 0,
- "refunded": false,
- "rejection_reason": null,
- "replaced_by": null,
- "replaces": null,
- "revision": 0,
- "status": "credited",
- "swept": false,
- "tx_hash": "0x7d3c1e5a9b2f4d6c8e0a1b3d5f7c9e2a4b6d8f0c1e3a5b7d9f1c3e5a7b9d1f3e",
- "valued_at": 1790553630
}
}, - "id": "evt_2b4d6f8a0c1e43b5d7f9a1c3e5b7d9f0",
- "livemode": false,
- "object": "event",
- "pending_webhooks": 0,
- "request": null,
- "type": "deposit.credited"
}| limit | integer <int64> 1 to 100, default 10 |
| starting_after | string
|
| ending_before | string
|
{- "data": [
- {
- "created": 1790467200,
- "description": "Order fulfillment",
- "disabled_reason": null,
- "enabled_events": [
- "deposit.credited",
- "deposit.reversed",
- "refund.failed"
], - "id": "we_9e1c3a5b7d2f40c6e8a0b2d4f6a8c0e1",
- "last_attempt": {
- "at": 1790553695,
- "status_code": 503
}, - "livemode": false,
- "metadata": {
- "team": "payments"
}, - "object": "webhook_endpoint",
- "oldest_pending_at": 1790553630,
- "pending_deliveries": 2,
- "status": "enabled",
}
], - "has_more": false,
- "object": "list",
- "url": "/v1/webhook_endpoints"
}| Idempotency-Key | string or null Up to 255 characters; for 24 hours a repeat of the same request returns the first response, and of another request is |
| description | string or null Your description, up to 5000 characters. |
| enabled_events required | Array of strings The event types to deliver, such as |
object or string (MetadataParam) | |
| url required | string Where to deliver events, up to 2048 characters, without credentials or fragment: |
{- "description": "Order fulfillment",
- "enabled_events": [
- "deposit.credited",
- "deposit.reversed",
- "refund.failed"
], - "metadata": {
- "team": "payments"
},
}{- "created": 1790467200,
- "description": "Order fulfillment",
- "disabled_reason": null,
- "enabled_events": [
- "deposit.credited",
- "deposit.reversed",
- "refund.failed"
], - "id": "we_9e1c3a5b7d2f40c6e8a0b2d4f6a8c0e1",
- "last_attempt": {
- "at": 1790553695,
- "status_code": 503
}, - "livemode": false,
- "metadata": {
- "team": "payments"
}, - "object": "webhook_endpoint",
- "oldest_pending_at": 1790553630,
- "pending_deliveries": 2,
- "status": "enabled",
}| id required | string Endpoint id, |
{- "deleted": true,
- "id": "we_9e1c3a5b7d2f40c6e8a0b2d4f6a8c0e1",
- "object": "webhook_endpoint"
}| id required | string Endpoint id, |
{- "created": 1790467200,
- "description": "Order fulfillment",
- "disabled_reason": null,
- "enabled_events": [
- "deposit.credited",
- "deposit.reversed",
- "refund.failed"
], - "id": "we_9e1c3a5b7d2f40c6e8a0b2d4f6a8c0e1",
- "last_attempt": {
- "at": 1790553695,
- "status_code": 503
}, - "livemode": false,
- "metadata": {
- "team": "payments"
}, - "object": "webhook_endpoint",
- "oldest_pending_at": 1790553630,
- "pending_deliveries": 2,
- "status": "enabled",
}| id required | string Endpoint id, |
| Idempotency-Key | string or null Up to 255 characters; for 24 hours a repeat of the same request returns the first response, and of another request is |
| description | string or null A new description; |
| disabled | boolean or null
|
| enabled_events | Array of strings or null New event types, or |
object or string (MetadataParam) | |
| url | string or null A new URL, as on creation. |
{- "disabled": false,
- "enabled_events": [
- "*"
]
}{- "created": 1790467200,
- "description": "Order fulfillment",
- "disabled_reason": null,
- "enabled_events": [
- "deposit.credited",
- "deposit.reversed",
- "refund.failed"
], - "id": "we_9e1c3a5b7d2f40c6e8a0b2d4f6a8c0e1",
- "last_attempt": {
- "at": 1790553695,
- "status_code": 503
}, - "livemode": false,
- "metadata": {
- "team": "payments"
}, - "object": "webhook_endpoint",
- "oldest_pending_at": 1790553630,
- "pending_deliveries": 2,
- "status": "enabled",
}| id required | string Endpoint id, |
| Idempotency-Key | string or null Up to 255 characters; for 24 hours a repeat of the same request returns the first response, and of another request is |
{- "account": "acct_0c6e1d0a9b3f4c2e8d7a6b5c4d3e2f10",
- "actor": "system",
- "created": 1790553630,
- "data": {
- "object": {
- "address": "0x2f3e91325b2288bce392711f85f5359661062a91",
- "amount": 2500,
- "amount_atomic": "25000000",
- "amount_refunded": 0,
- "amount_refunded_atomic": "0",
- "amount_reversed": 0,
- "asset": "usdc",
- "asset_contract": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
- "block_hash": "0x9a1c3e5b7d0f2a4c6e8b0d2f4a6c8e0b2d4f6a8c0e2b4d6f8a0c2e4b6d8f0a2c",
- "block_number": 21000000,
- "block_time": 1790553612,
- "chain_id": 1,
- "client_reference_id": "team-42",
- "created": 1790553624,
- "currency": "usd",
- "deposit_address": null,
- "exchange_rate": "1.00000000",
- "final": false,
- "final_at": 1790554572,
- "from_address": "0x1775c1326aa633546b0b5634ae2bef0ba7cbfc9a",
- "id": "dep_8a1f4e2b6c3d49e0a7b5c1d2e3f40516",
- "livemode": false,
- "log_index": 212,
- "metadata": {
- "order_id": "ord_1001"
}, - "object": "deposit",
- "price_source": "quote",
- "quote": "qt_5f1c0b6a2d9e4f3a8b7c6d5e4f3a2b10",
- "receipt_log_index": 0,
- "refunded": false,
- "rejection_reason": null,
- "replaced_by": null,
- "replaces": null,
- "revision": 0,
- "status": "credited",
- "swept": false,
- "tx_hash": "0x7d3c1e5a9b2f4d6c8e0a1b3d5f7c9e2a4b6d8f0c1e3a5b7d9f1c3e5a7b9d1f3e",
- "valued_at": 1790553630
}
}, - "id": "evt_2b4d6f8a0c1e43b5d7f9a1c3e5b7d9f0",
- "livemode": false,
- "object": "event",
- "pending_webhooks": 0,
- "request": null,
- "type": "deposit.credited"
}| limit | integer <int64> 1 to 100, default 10 |
| starting_after | string
|
| ending_before | string
|
{- "data": [
- {
- "created": 1790467200,
- "expires_at": null,
- "id": "key_6a8c0e2b4d1f43a5c7e9b1d3f5a7c9e1",
- "last_used": 1790553600,
- "livemode": false,
- "name": "fulfillment worker",
- "object": "api_key",
- "permissions": [
- "account.read",
- "deposit_addresses.read",
- "deposit_addresses.write",
- "deposits.read",
- "events.read",
- "quotes.read",
- "quotes.write",
- "refunds.read"
], - "redacted": "ppay_rk_test_…Yz4x",
- "status": "active",
- "type": "restricted"
}
], - "has_more": false,
- "object": "list",
- "url": "/v1/api_keys"
}| Idempotency-Key | string or null Up to 255 characters; for 24 hours a repeat of the same request returns the first response, and of another request is |
| name | string The key's label, at most 200 characters. |
| permissions | Array of strings or null A restricted key's permissions, required with |
| type | string or null
|
{- "name": "fulfillment worker",
- "permissions": [
- "quotes.write",
- "deposit_addresses.write",
- "deposits.read",
- "events.read",
- "refunds.read"
], - "type": "restricted"
}{- "created": 1790467200,
- "expires_at": null,
- "id": "key_6a8c0e2b4d1f43a5c7e9b1d3f5a7c9e1",
- "last_used": 1790553600,
- "livemode": false,
- "name": "fulfillment worker",
- "object": "api_key",
- "permissions": [
- "account.read",
- "deposit_addresses.read",
- "deposit_addresses.write",
- "deposits.read",
- "events.read",
- "quotes.read",
- "quotes.write",
- "refunds.read"
], - "redacted": "ppay_rk_test_…Yz4x",
- "status": "active",
- "type": "restricted"
}| id required | string Key id, |
{- "created": 1790467200,
- "expires_at": null,
- "id": "key_6a8c0e2b4d1f43a5c7e9b1d3f5a7c9e1",
- "last_used": 1790553600,
- "livemode": false,
- "name": "fulfillment worker",
- "object": "api_key",
- "permissions": [
- "account.read",
- "deposit_addresses.read",
- "deposit_addresses.write",
- "deposits.read",
- "events.read",
- "quotes.read",
- "quotes.write",
- "refunds.read"
], - "redacted": "ppay_rk_test_…Yz4x",
- "status": "active",
- "type": "restricted"
}| id required | string Key id, |
{- "created": 1790467200,
- "expires_at": null,
- "id": "key_6a8c0e2b4d1f43a5c7e9b1d3f5a7c9e1",
- "last_used": 1790553600,
- "livemode": false,
- "name": "fulfillment worker",
- "object": "api_key",
- "permissions": [
- "account.read",
- "deposit_addresses.read",
- "deposit_addresses.write",
- "deposits.read",
- "events.read",
- "quotes.read",
- "quotes.write",
- "refunds.read"
], - "redacted": "ppay_rk_test_…Yz4x",
- "status": "active",
- "type": "restricted"
}| id required | string Key id, |
| Idempotency-Key | string or null Up to 255 characters; for 24 hours a repeat of the same request returns the first response, and of another request is |
| expires_in | integer <int32> >= 0 Seconds the old key keeps working, up to 604800 (7 days); 0, the default, revokes it at once. A key rolling itself needs at least 3600. |
{- "expires_in": 86400
}{- "created": 1790467200,
- "expires_at": null,
- "id": "key_6a8c0e2b4d1f43a5c7e9b1d3f5a7c9e1",
- "last_used": 1790553600,
- "livemode": false,
- "name": "fulfillment worker",
- "object": "api_key",
- "permissions": [
- "account.read",
- "deposit_addresses.read",
- "deposit_addresses.write",
- "deposits.read",
- "events.read",
- "quotes.read",
- "quotes.write",
- "refunds.read"
], - "redacted": "ppay_rk_test_…Yz4x",
- "status": "active",
- "type": "restricted"
}{- "charges_enabled": true,
- "created": 1787961600,
- "id": "acct_0c6e1d0a9b3f4c2e8d7a6b5c4d3e2f10",
- "livemode": false,
- "name": "Example Cloud",
- "object": "account",
- "paused_scopes": [ ],
- "webhook_keys": [
- {
- "expires_at": null,
- "version": 2
}, - {
- "expires_at": 1790640000,
- "version": 1
}
]
}| Idempotency-Key | string or null Up to 255 characters; for 24 hours a repeat of the same request returns the first response, and of another request is |
| scopes required | Array of strings
|
{- "scopes": [
- "quotes"
]
}{- "charges_enabled": true,
- "created": 1787961600,
- "id": "acct_0c6e1d0a9b3f4c2e8d7a6b5c4d3e2f10",
- "livemode": false,
- "name": "Example Cloud",
- "object": "account",
- "paused_scopes": [ ],
- "webhook_keys": [
- {
- "expires_at": null,
- "version": 2
}, - {
- "expires_at": 1790640000,
- "version": 1
}
]
}| Idempotency-Key | string or null Up to 255 characters; for 24 hours a repeat of the same request returns the first response, and of another request is |
| scopes required | Array of strings
|
{- "scopes": [
- "quotes"
]
}{- "charges_enabled": true,
- "created": 1787961600,
- "id": "acct_0c6e1d0a9b3f4c2e8d7a6b5c4d3e2f10",
- "livemode": false,
- "name": "Example Cloud",
- "object": "account",
- "paused_scopes": [ ],
- "webhook_keys": [
- {
- "expires_at": null,
- "version": 2
}, - {
- "expires_at": 1790640000,
- "version": 1
}
]
}| Idempotency-Key | string or null Up to 255 characters. A retry with the same key and request within 24 hours returns the first response, and of another request is |
| expires_in | integer <int32> >= 0 Seconds the current key keeps signing beside the new one: 172800 (48 hours, the treasury time-lock) to 604800 (7 days) in live mode, 0 to 604800 in test mode, where 0 stops it at once. Default 172800. |
{- "expires_in": 172800
}{- "charges_enabled": true,
- "created": 1787961600,
- "id": "acct_0c6e1d0a9b3f4c2e8d7a6b5c4d3e2f10",
- "livemode": false,
- "name": "Example Cloud",
- "object": "account",
- "paused_scopes": [ ],
- "webhook_keys": [
- {
- "expires_at": null,
- "version": 2
}, - {
- "expires_at": 1790640000,
- "version": 1
}
]
}| nonce required | string Non-empty hexadecimal nonce of at most 32 bytes. |
{- "account": "acct_0c6e1d0a9b3f4c2e8d7a6b5c4d3e2f10",
- "livemode": false,
- "object": "attestation",
- "report_data": "9f2c4e6a8b0d1f3a5c7e9b1d3f5a7c9e2b4d6f8a0c1e3a5b7d9f1c3e5a7b9d1f",
- "tdx_quote": "040002008100000000000000939a7233f79c4ca9940a0db3957f0607",
- "webhook_keys": [
- {
- "expires_at": null,
- "public_key": "whpk_O2onvM62pC1io6jQKm8Nc2UyFXcd4kOmOsBIoYtZ2ik=",
- "version": 1
}
]
}{- "assets": [
- {
- "asset": "usdc",
- "chain_id": 1,
- "confirmations": "12",
- "contract": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
- "decimals": 6,
- "max_deposit_atomic": "10000000000",
- "min_amount": 100,
- "min_deposit_atomic": "0",
- "min_refund_atomic": "1000000",
- "pricing": "stablecoin",
- "quote_amount_decimals": 4,
- "quote_spread_bps": 0,
- "quote_tolerance_bps": 100,
- "quote_ttl_seconds": 900,
- "typical_credit_seconds": 150,
- "typical_finality_seconds": 900
}
], - "currency": "usd",
- "livemode": false,
- "max_open_amount_per_account": 1000000,
- "max_open_amount_per_customer": 500000,
- "max_open_quotes": 100,
- "object": "config",
- "quote_creations_per_customer_per_minute": 10
}{- "available": [
- {
- "assets": [
- {
- "accepted": true,
- "asset": "usdc",
- "contract": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
- "decimals": 6,
- "enabled": true,
- "max_deposit_atomic": {
- "default": "10000000000",
- "max": "10000000000",
- "min": "0"
}, - "min_amount": {
- "default": 100,
- "max": 18446744073709552000,
- "min": 100
}, - "min_deposit_atomic": {
- "default": "0",
- "max": "115792089237316195423570985008687907853269984665640564039457584007913129639935",
- "min": "0"
}, - "min_refund_atomic": {
- "default": "1000000",
- "max": "1000000",
- "min": "1000000"
}, - "pricing": "stablecoin",
- "quote_amount_decimals": 4,
- "quote_spread_bps": {
- "default": 0,
- "max": 500,
- "min": 0
}, - "quote_tolerance_bps": {
- "default": 100,
- "max": 500,
- "min": 0
}, - "quote_ttl_seconds": {
- "default": 900,
- "max": 3600,
- "min": 30
}
}, - {
- "accepted": true,
- "asset": "usdt",
- "contract": "0xdac17f958d2ee523a2206206994597c13d831ec7",
- "decimals": 6,
- "enabled": true,
- "max_deposit_atomic": {
- "default": "10000000000",
- "max": "10000000000",
- "min": "0"
}, - "min_amount": {
- "default": 100,
- "max": 18446744073709552000,
- "min": 100
}, - "min_deposit_atomic": {
- "default": "0",
- "max": "115792089237316195423570985008687907853269984665640564039457584007913129639935",
- "min": "0"
}, - "min_refund_atomic": {
- "default": "1000000",
- "max": "1000000",
- "min": "1000000"
}, - "pricing": "stablecoin",
- "quote_amount_decimals": 4,
- "quote_spread_bps": {
- "default": 0,
- "max": 500,
- "min": 0
}, - "quote_tolerance_bps": {
- "default": 100,
- "max": 500,
- "min": 0
}, - "quote_ttl_seconds": {
- "default": 900,
- "max": 3600,
- "min": 30
}
}
], - "chain_id": 1,
- "confirmations": {
- "default": "2",
- "floor": "2"
}, - "status": "active"
}
], - "chains": [
- {
- "assets": [
- {
- "asset": "usdc",
- "quote_spread_bps": 0
}, - {
- "asset": "usdt"
}
], - "chain_id": 1,
- "confirmations": "12"
}
], - "livemode": false,
- "object": "payment_settings",
- "quote_creations_per_customer_per_minute": null,
- "revision": "psrev_5b0e4f1a9c3d4e7f8a2b6c1d0e9f8a7b",
- "status": "configured",
- "updated": 1790467200
}| Idempotency-Key | string or null Up to 255 characters; for 24 hours a repeat of the same request returns the first response, and of another request is |
Array of objects or null (PaymentSettingsChain) The chains to accept, replacing the list: each chain and asset of the key's mode once. An
element's term not sent resets to the operator's default. | |
| quote_creations_per_customer_per_minute | integer or null <int64> >= 0 One customer's quote creations in a rolling minute, from 1 to the operator's maximum;
|
{- "chains": [
- {
- "assets": [
- {
- "asset": "usdc",
- "quote_spread_bps": 0
}, - {
- "asset": "usdt"
}
], - "chain_id": 1,
- "confirmations": "12"
}
]
}{- "available": [
- {
- "assets": [
- {
- "accepted": true,
- "asset": "usdc",
- "contract": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
- "decimals": 6,
- "enabled": true,
- "max_deposit_atomic": {
- "default": "10000000000",
- "max": "10000000000",
- "min": "0"
}, - "min_amount": {
- "default": 100,
- "max": 18446744073709552000,
- "min": 100
}, - "min_deposit_atomic": {
- "default": "0",
- "max": "115792089237316195423570985008687907853269984665640564039457584007913129639935",
- "min": "0"
}, - "min_refund_atomic": {
- "default": "1000000",
- "max": "1000000",
- "min": "1000000"
}, - "pricing": "stablecoin",
- "quote_amount_decimals": 4,
- "quote_spread_bps": {
- "default": 0,
- "max": 500,
- "min": 0
}, - "quote_tolerance_bps": {
- "default": 100,
- "max": 500,
- "min": 0
}, - "quote_ttl_seconds": {
- "default": 900,
- "max": 3600,
- "min": 30
}
}, - {
- "accepted": true,
- "asset": "usdt",
- "contract": "0xdac17f958d2ee523a2206206994597c13d831ec7",
- "decimals": 6,
- "enabled": true,
- "max_deposit_atomic": {
- "default": "10000000000",
- "max": "10000000000",
- "min": "0"
}, - "min_amount": {
- "default": 100,
- "max": 18446744073709552000,
- "min": 100
}, - "min_deposit_atomic": {
- "default": "0",
- "max": "115792089237316195423570985008687907853269984665640564039457584007913129639935",
- "min": "0"
}, - "min_refund_atomic": {
- "default": "1000000",
- "max": "1000000",
- "min": "1000000"
}, - "pricing": "stablecoin",
- "quote_amount_decimals": 4,
- "quote_spread_bps": {
- "default": 0,
- "max": 500,
- "min": 0
}, - "quote_tolerance_bps": {
- "default": 100,
- "max": 500,
- "min": 0
}, - "quote_ttl_seconds": {
- "default": 900,
- "max": 3600,
- "min": 30
}
}
], - "chain_id": 1,
- "confirmations": {
- "default": "2",
- "floor": "2"
}, - "status": "active"
}
], - "chains": [
- {
- "assets": [
- {
- "asset": "usdc",
- "quote_spread_bps": 0
}, - {
- "asset": "usdt"
}
], - "chain_id": 1,
- "confirmations": "12"
}
], - "livemode": false,
- "object": "payment_settings",
- "quote_creations_per_customer_per_minute": null,
- "revision": "psrev_5b0e4f1a9c3d4e7f8a2b6c1d0e9f8a7b",
- "status": "configured",
- "updated": 1790467200
}