Skip to main content
POST
Create letter

Authorizations

Authorization
string
header
default:aro_sk_your_key_here
required

AroPay API key, sent as Authorization: Bearer aro_sk_…. Created in the dashboard under Settings → API keys. Takes precedence over a session cookie when both are present.

Body

application/json
walletId
string
required

Sending wallet; must be custodial and hold enough cAROUSD.

amount
string
required

Decimal string in human units, up to the deployment's per-letter cap (default 10,000).

Example:

"50"

recipient
object
required
memo
string

Optional note printed on the letter (hidden from the public preview for sealed letters).

Maximum string length: 200
amountVisibility
enum<string>

Defaults to visible for domestic letters and sealed for international ones.

Available options:
sealed,
visible
expiresInDays
integer

Defaults to 90 (domestic) or 45 (international). Unclaimed letters refund the sender at expiry.

Required range: 1 <= x <= 180

Response

The letter, normally ESCROWED with a verified escrow leg.

ok
any
required
data
object
required