wire/withdraw

This endpoint sends a wire. The wire rail is detected from the beneficiary bank identifiers supplied (or stored on the bank account behind a Token / ClientAccountID): an ABARoutingNumber sends a fedwire wire (US/USD), a FinancialInstitutionNumber + BranchTransitNumber pair sends a lynx wire (Canada, CAD or USD) and a BicSwift sends a swift (international) wire. A domestic rail is domestic only to the sending account's country: a Canadian account paying a US ABARoutingNumber, or a US account paying a Canadian institution and transit, sends a swift (international) wire, so a Canadian account never sends fedwire. Supply the identifiers for one rail only; when a stored bank account carries identifiers for more than one, the beneficiary Country decides. lynx and swift wires are sent through Scotiabank, in CAD or USD, for accounts with that wire type enabled; on any other account the request returns "Wire type is not yet available." A wire through Scotiabank needs the beneficiary's Address1, City and Country, and a PO Box address is rejected; it can be cancelled only until it has been sent to the bank. The detected rail is returned as WireType. Either CompanyName OR FirstName and LastName must be provided.

If a ClientAccountID is provided, the client account's first/last name, address, phone number, and default bank account will be used for the transaction.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Form Data
string
required

Your account ID

string
required

API key for the account

string
required

Hashed signature for the request

string

Client Account ID

string

The ID of the contact to use for this transactions. The contacts payment method associated with this transaction type will be used.

string
required

Customer's first name

string
required

Customer's last name

string
required

Company's name

string
required

Customer's email address

string
required

Customer's phone number. Digits only - no parentheses or dashes allowed.

string
required

Customer's address line 1. For a lynx or swift wire this must be a street address; a PO Box is rejected.

string

Customer's address line 2

string
required

Customer's city

string

Beneficiary's state or province as a two character abbreviation (eg. NY, ON). Required for a US or Canadian beneficiary; omit it for a country without provinces.

string
required

Beneficiary's country: an ISO 3166-1 alpha-2 or alpha-3 code or the country name. Must be US for a fedwire wire and CA for a lynx wire; any country for swift.

string
required

Customer's zip code.

string

Customer's IP address.

integer

ABA routing transit number for the beneficiary's US bank account. Supplying it sends a fedwire wire.

integer
required

Account number for the customer's US bank account

string

Token of a stored bank account to send the wire to, in place of the bank identifiers and AccountNumber. The wire type is detected from the identifiers stored on that bank account, and its address is used for the beneficiary.

number
required

The amount to credit to the customer's bank account.

string

An optional note to associate with the transaction.

string

An optional reference number to associate with the transaction.

string

A unique key which the server can use to recognize and reject subsequent retries of the same request.

string

The parent transaction where the withdrawal will be linked to, can become a split payment with multiple withdrawals. When funds of the parent transaction have been released the system will generate the distributions of these funds automatically.

string

An optional unique identification general ledger code.

string

CPA transaction code. Use the /api/v2/account/transactions/codes endpoint to retrieve a list of valid transaction codes. If not specified, the transaction will be created using code 450 (miscellaneous).

string

Beneficiary bank's Canadian institution number. Supplying it with BranchTransitNumber sends a lynx wire.

string

Beneficiary bank's Canadian branch transit number. Supplying it with FinancialInstitutionNumber sends a lynx wire.

string

Beneficiary bank's BIC/SWIFT code. Supplying it sends a swift (international) wire.

string

Beneficiary IBAN, for swift wires. A swift wire needs IBAN or AccountNumber, with BicSwift or (from the other market) ABARoutingNumber or FinancialInstitutionNumber and BranchTransitNumber.

string

Settlement currency. Required for swift wires (CAD or USD through Scotiabank). Optional otherwise: fedwire settles in USD only, lynx in CAD (default) or USD; any other value is rejected.

Response

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json