⚠️ Swift Payout via Embedded Accounts
Swift Payouts via Embedded Accounts Guide
Coinflow supports Swift wire payouts - here are the steps:
1. Have Coinflow Configure Your Account
You will need Coinflow to assist in creating your embedded account and setting up your account.
2. Create a User Account
A user account will be needed for the payout (and it will need go through KYC)
3. Add a Swift Account
curl --location 'http://api-sandbox.coinflow.cash/api/withdraw/swift' \
--header 'Authorization: <API Key>' \
--header 'x-coinflow-auth-user-id: <User Id>' \
--header 'Content-Type: application/json' \
--data '{
"alias": "Test Acct",
"accountNumber": "1010101010101",
"swiftCode": "TEST0101",
"beneficiaryBankName": "Bank of Cash",
"beneficiaryBankAddress": {
"address1": "1000 Main St",
"city": "Chicago",
"state": "IL",
"zip": "60601",
"country": "US"
}
}'
"<New account token>"
4. Create a Delegated Payout
The last step is to initiate the payout.
curl --location 'http://api-sandbox.coinflow.cash/api/merchant/withdraws/payout/delegated' \
--header 'Authorization: <API Key>' \
--header 'Content-Type: application/json' \
--data '{
"userId": "<User Id>",
"account": "<Account Token>",
"amount": {"cents": 400, "currency": "USD"},
"speed": "swift",
"idempotencyKey": "abc123"
}'
{
"effectiveSpeed": "swift"
}
Review
After the payout request is submitted, you will be able to see the withdraw record in the dashboard. You can follow the lifecycle of the payout from there.