Skip to main content
POST
/
payout
/
accounts
/
execute
Execute a fiat payment
curl --request POST \
  --url http://localhost:4000/v1/payout/accounts/execute \
  --header 'Content-Type: application/json' \
  --data '
{
  "source_amount": "10000.00",
  "source_currency": "mxn",
  "destination_currency": "usd",
  "beneficiary_account_id": "b5ed595d-d724-4826-9e6c-3b8104fbe355"
}
'

Body

application/json
source_amount
string
required

Amount in source currency as a decimal string

Example:

"10000.00"

source_currency
enum<string>
required

Source currency code

Available options:
usd,
eur,
mxn,
brl,
gbp
Example:

"mxn"

destination_currency
enum<string>
required

Destination currency code

Available options:
usd,
eur,
mxn,
brl,
gbp
Example:

"usd"

beneficiary_account_id
string
required

UUID of the beneficiary bank account receiving the funds

Example:

"b5ed595d-d724-4826-9e6c-3b8104fbe355"

Response

Payment created with deposit instructions for the source currency