POST
/
api
/
v0
/
transfers
/
direct-bank
Create a direct bank transfer
curl --request POST \
  --url https://api.devdraft.ai/api/v0/transfers/direct-bank \
  --header 'Content-Type: application/json' \
  --header 'x-client-secret: <api-key>' \
  --data '{
  "walletId": "<string>",
  "paymentRail": "<string>",
  "destinationCurrency": "<string>",
  "sourceCurrency": "<string>",
  "amount": 123,
  "wire_message": "<string>",
  "sepa_reference": "<string>",
  "ach_reference": "<string>"
}'

Authorizations

x-client-secret
string
header
required

Your secret API key. Keep this secure and never expose it in client-side code.

Body

application/json
walletId
string
required

The ID of the bridge wallet to transfer from

paymentRail
string
required

The payment rail to use

destinationCurrency
string
required

The destination currency

sourceCurrency
string
required

The source currency

amount
number
required

The amount to transfer

wire_message
string

Wire transfer message

sepa_reference
string

SEPA transfer reference

ach_reference
string

ACH transfer reference

Response

The transfer has been successfully created.