Skip to main content
POST
JavaScript

Headers

Idempotency-Key
string

A unique key that makes this request safe to retry. See Idempotent requests.

Maximum string length: 255
Example:

"d9105228-4a08-46b1-8b91-42fed586d383"

Body

application/json
destination
required

Destination account ID or wallet address. Object form is supported for compatibility.

amount
number

Amount to prefill on hosted deposit page.

metadata
object

Metadata to include with the deposit response.

network
string | null

Destination network override.

Response

deposit created

account_id
string | null
required

Account ID of the destination owner. Null for raw wallet address destinations.

hosted_url
string | null
required

URL of the hosted deposit page. Only present for business destinations.

metadata
object
required

Metadata from the request.

methods
object
required

Available deposit methods for destination.

object
enum<string>
required
Available options:
deposit
amount
string

Requested deposit amount.