Skip to main content
POST
Authorize a deposit
The short-lived authorization the hosted deposit flow requires before it will accept a deposit. Request it after reading Get the deposit-rail runtime config, and request a fresh one per attempt.

Authorizations

x-calm-publishable-key
string
header
required

Publishable key identifying the calling app.

Body

application/json
destination_chain
enum<number>
required
Available options:
1,
8453,
999,
1337,
4326,
143,
137,
42161
destination_token
enum<string>
required
Available options:
USDC,
USDm,
AUSD,
USDC.e
wallet
string
required
Pattern: ^0x[a-fA-F0-9]{40}$
amount_usd
string
Pattern: ^\d+(\.\d{1,2})?$

Response

The signed deposit authorization.

merchant_id
string
required
payload
string
required
preview
object
required
signature
string
required