Skip to navigation

Send from wallet

View as Markdown

Send USDC from a wallet to an external address on the customer’s behalf, which requires an Idempotency-Key.

Authentication

x-api-keystring
Your API key, using a test key for the sandbox and a live key for production.

Path parameters

idstringRequired
Unique identifier of the resource.

Headers

Idempotency-KeystringRequired<=100 characters
A unique value of up to 100 characters for this transfer, so a retried request never sends the money twice.

Request

This endpoint expects an object.
amountstringRequired
The amount to send, as a decimal string with at most six decimal places.
currencyenumRequired
The currency to send.
Allowed values:
networkenumRequired
The network to send on.
Allowed values:
addressstringRequired<=128 characters
The address to send the USDC to, on the chosen network.
referencestringOptional<=100 characters
Your own reference for the transfer, returned on the transaction and its events.
memostringOptional<=500 characters
A note describing the transfer.

Response

Send accepted. The transfer starts as pending and its outcome is confirmed through wallet events.
messagestring
dataobject
One movement of money into or out of an Agent Wallet.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error