POST
/
api
/
v0
/
transfers
/
external-bank-transfer
Create an external bank transfer
curl --request POST \
  --url https://api.devdraft.ai/api/v0/transfers/external-bank-transfer \
  --header 'Content-Type: application/json' \
  --header 'x-client-secret: <api-key>' \
  --data '{
  "sourceWalletId": "<string>",
  "sourceCurrency": "<string>",
  "destinationCurrency": "<string>",
  "destinationPaymentRail": "ach",
  "external_account_id": "<string>",
  "amount": 123,
  "wire_message": "<string>",
  "sepa_reference": "<string>",
  "swift_reference": "<string>",
  "spei_reference": "<string>",
  "swift_charges": "<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
sourceWalletId
string
required

The ID of the source bridge wallet

sourceCurrency
string
required

The source currency

destinationCurrency
string
required

The destination currency

destinationPaymentRail
enum<string>
required

The destination payment rail (fiat payment method)

Available options:
ach,
ach_push,
ach_same_day,
wire,
sepa,
swift,
spei
external_account_id
string
required

The external account ID for the bank transfer

amount
number

The amount to transfer

wire_message
string

Wire transfer message (1-256 characters, only for wire transfers)

Required string length: 1 - 256
sepa_reference
string

SEPA reference message (6-140 characters, only for SEPA transfers)

Required string length: 6 - 140
swift_reference
string

SWIFT reference message (1-190 characters, only for SWIFT transfers)

Required string length: 1 - 190
spei_reference
string

SPEI reference message (1-40 characters, only for SPEI transfers)

Required string length: 1 - 40
swift_charges
string

SWIFT charges bearer (only for SWIFT transfers)

ach_reference
string

ACH reference message (1-10 characters, only for ACH transfers)

Required string length: 1 - 10

Response

The external bank transfer has been successfully created.