Skip to main content
POST

Authorizations

Authorization
string
header
required

Use your OAuth client credentials to obtain a short-lived Bearer token from POST /oauth/token.

Body

application/json
from_business_wallet_id
string
required

ID of the source business wallet to debit.

to_business_wallet_id
string
required

ID of the destination business wallet to credit.

amount
number
required

Amount to swap. Minimum value is 0.1 and up to 2 decimal places are accepted.

amount_type
enum<string>

How to interpret the amount. Use from to specify the source-wallet amount, or to to specify the destination-wallet amount. Defaults to from.

Available options:
from,
to

Response

Swap completed successfully.

message
string
required
business_swap_transaction
object
required