Skip to main content

Overview

Returns 201 with a direct bridge resource and assigned deposit address. Read Bridges for amounts, timing, fees, and refunds.

Authentication

string
required
An active merchant API key with withdraw scope. A write grant alone is insufficient. Reads require read.
string
required
Use one key for this request and retain it for retries. Idempotency-Key is also accepted. Reuse the same header and body after a timeout.

Request body

Only temporary bridges are supported. All fields below are required for this type. Amounts use major token units.
string
required
TEMPORARY. There is no default.
string
required
Asset code. Currently only USDT is supported. There is no default. Daya pays the same asset.
string
required
Required for TEMPORARY. Expected deposit from 1 to 100000, inclusive, with at most six decimal places. Use a decimal string, with no exponent. Each actual deposit is processed separately.
string
required
POLYGON, BSC, SOLANA, or APTOS. The asset must support deposits and refunds on this chain.
string
required
A different chain from the same list, with withdrawals enabled for the asset.
string
required
A valid recipient address on destination_chain.
string
required
A valid return address on deposit_chain. It is fixed when the request is created.
Send only the fields above. Unknown fields are rejected.

Example

These addresses are illustrative test data. Replace them with addresses you control when integrating.
The payment window is 30 minutes. Stop showing payment instructions at expires_at. See the response fields.

Idempotency and errors

Use the same key and body when retrying. Successful retries return the original response and do not extend the payment deadline. Use GET for current status. Keys are retained for 24 hours by default; retrying after that period can create another bridge. Changing the body under the same retained key returns 409. After a 429 quota rejection, wait for Retry-After, then retry with the same idempotency key and body. If you do not know whether creation succeeded, keep the original key to avoid a duplicate bridge.