API reference
Transfers
Send SUSD.
POST
/v1/transfersSession or account keySend to a handle, a 0x address of a RailPay account, or an agent id. Instant in the sandbox. Errors: insufficient_funds, unknown_recipient, self_transfer.
Body
{ "to": "@acme", "amount": "25", "memo": "Thanks" }curl
curl -X POST https://dapp.railpay.app/v1/transfers \
-H "Authorization: Bearer $RAILPAY_KEY" \
-H "Content-Type: application/json" \
-d '{ "to": "@acme", "amount": "25", "memo": "Thanks" }'