Skip to main content
POST
Swap USDC to USDT

Authorizations

X-API-Key
string
header
required

Your Rach B2B API key. Use rach_sk_live_* for production (on-chain) or rach_sk_test_* for sandbox (no-chain simulation).

Body

application/json

Swap parameters

amount
string
required
Example:

"100.00"

idempotency_key
string
required
Example:

"swap_ref_001"

sender_phone
string
required

sender_phone accepts a 0x wallet address OR an E.164 phone (auto-detected).

Example:

"0xFDd4ABaF518d49A6749A3aD6A68f9403bD93cFF0"

token_in
enum<string>
required
Available options:
USDC,
USDT
Example:

"USDC"

token_out
enum<string>
required
Available options:
USDC,
USDT
Example:

"USDT"

Response

Accepted

The response is of type object.