Skip to content
In this section

Payout Methods

Register bank accounts and IBANs as payout destinations for your payees, then use them as targets when requesting a payout.

A payout method is a bank account or virtual IBAN registered as a destination for a specific payee. When you request a payout, you target a payout method — it tells Fynex where to send the money.

Note

Payout methods are bank accounts only (type: bank_account). Card destinations are not supported. IBAN methods in EUR, GBP, and USD are executable through the current banking-provider mapping. GBP uk_local methods are executable through Faster Payments. US-local and SWIFT formats can be onboarded and approved, but execution is blocked before funds are held until their mappings are enabled.

Payout methods are managed through the Payments REST API with a Bearer token (/payments-api/v1/payees/{payee_id}/payout-methods[/{method_id}]): list, create, update and delete.

Note

Integrators with a Bearer token have full REST CRUD over payout methods. update and delete operate on a single method at …/payout-methods/{method_id}; the method must belong to the payee in the path and to your seller account.


Prerequisite ordering

  1. Create a payee — a payout method must be attached to an existing payee. See Payees.

  2. Create a payout method on that payee — supply the bank account details documented below.

  3. Request a payout — POST /payments-api/v1/payees/{payee_id}/payouts with the payoutMethodId, or POST /payments-api/v1/payouts with walletId + payoutMethodId for your own account. See Payouts.

Note

payee_id in the REST path is the numeric integer ID returned when you create a payee or from the payee list — not a UUID or string.


Payout method fields

type PayoutMethod

Field Type Description
id integer Numeric payout method ID — pass this as payoutMethodId when creating a payout
payeeId integer ID of the payee this method belongs to
type string Account type identifier. The only value the platform uses is bank_account (the default). Card destinations are not supported.
bankAccountType string Destination identifier format: iban, uk_local, us_local, or swift. Fynex selects the eventual payout rail; clients do not select it.
currency string Three-letter ISO 4217 currency code (e.g. EUR, GBP)
bankCountry String Two-letter ISO country code for the destination bank.
iban String IBAN for SEPA / SWIFT destinations
bic String BIC / SWIFT code
accountNumber String Account number for domestic rails (eight digits for UK Faster Payments)
sortCode String Six-digit sort code for UK Faster Payments
routingNumber String ABA routing number for US local accounts.
bankName String Bank name for reference
accountName String Account holder name
status string Account status (e.g. active)
createdAt timestamp Creation timestamp
updatedAt timestamp Last update timestamp

REST — List payout methods for a payee

Auth: Bearer token (Authorization: Bearer <token>)

GET /payments-api/v1/payees/{payee_id}/payout-methods

Returns a list of active payout methods for the specified payee. Use this before creating a payout to confirm that a method exists and to retrieve its id.

curl -sS "https://api.fynex.ai/payments-api/v1/payees/7/payout-methods" \
  -H "Authorization: Bearer $FYNEX_TOKEN"

REST — Create a payout method for a payee

Auth: Bearer token (Authorization: Bearer <token>)

POST /payments-api/v1/payees/{payee_id}/payout-methods

Registers a new payout destination for the payee. The owning payee is taken from the path and pinned to your seller account, so payeeId is not accepted in the body. Only bank_account methods are supported. bankAccountType describes the supplied account identifiers; Fynex selects the rail. IBAN destinations can be used for EUR, GBP, and USD payouts. GBP uk_local destinations use Faster Payments. US-local and SWIFT formats can be saved and reviewed but payout execution is rejected before funds are held until their provider mappings are enabled.

Returns 201 Created with the payout method. A payee that does not exist, or belongs to another seller, returns 404.

Request body fields

Field Type Required Description
currency String Yes ISO 4217 currency code: EUR, GBP, or USD.
type String No Defaults to bank_account (the only supported value).
bankAccountType String No iban (default), uk_local, us_local, or swift.
bankCountry String Conditional Required for local and SWIFT formats. Use GB for uk_local and US for us_local.
iban String Conditional Required when bankAccountType is iban; optional account identifier for swift.
bic String No BIC / SWIFT code.
accountNumber String No Account number for domestic rails; exactly eight digits for uk_local.
sortCode String No Sort code for UK Faster Payments; exactly six digits after spaces/hyphens are removed.
routingNumber String No Nine-digit ABA routing number for us_local.
bankName String No Bank name for reference.
accountName String No Account holder name.
curl -sS -X POST "https://api.fynex.ai/payments-api/v1/payees/7/payout-methods" \
  -H "Authorization: Bearer $FYNEX_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "currency": "EUR",
    "bankAccountType": "iban",
    "iban": "DE89370400440532013000",
    "bic": "DEUTDEFF",
    "accountName": "Acme Supplies Ltd"
  }'

Testing on a Demo account. On a Demo account a payout method is approved at creation. Use the IBAN in the example above, DE89370400440532013000 with BIC DEUTDEFF, as the test destination in your account's currency (EUR, GBP or USD). It is the destination Fynex itself adds to payees created in a Demo account's dashboard, and the bank's sandbox accepts it. Payees you create through the API get no destination automatically, so add it with this call. A payout to it reaches completed as described in Payouts → Approval.


REST — Update a payout method

Auth: Bearer token (Authorization: Bearer <token>)

PATCH /payments-api/v1/payees/{payee_id}/payout-methods/{method_id}

Updates only the fields present in the body; omitted fields are left unchanged. currency cannot be changed (it is fixed at creation). The method must belong to the payee in the path and to your seller account, otherwise 404. Set status to inactive to retire a method (it is then excluded from the list and can no longer be used for new payouts) or active to restore it.

Request body fields (all optional)

Field Type Description
bankAccountType String New destination identifier format.
bankCountry String New two-letter bank country.
iban String New IBAN.
bic String New BIC.
accountNumber String New account number.
sortCode String New sort code.
routingNumber String New ABA routing number.
bankName String New bank name.
accountName String New account holder name.
status String active or inactive.
curl -sS -X PATCH "https://api.fynex.ai/payments-api/v1/payees/7/payout-methods/501" \
  -H "Authorization: Bearer $FYNEX_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "accountName": "Acme Supplies Ltd" }'

REST — Delete a payout method

Auth: Bearer token (Authorization: Bearer <token>)

DELETE /payments-api/v1/payees/{payee_id}/payout-methods/{method_id}

Deletes a payout method your seller account owns. The method must belong to the payee in the path, otherwise 404. Returns { "deleted": true }.

curl -sS -X DELETE "https://api.fynex.ai/payments-api/v1/payees/7/payout-methods/501" \
  -H "Authorization: Bearer $FYNEX_TOKEN"

Common pitfalls

Pitfall Resolution
payee_id treated as UUID The payee_id path parameter is a numeric integer from the Payee.id field.
Creating a method before the payee exists Creating a payout method requires an existing payee. Create the payee first (see Payees).
Required identifiers missing For iban, provide iban; for uk_local, provide a GBP account with GB, account number, and sort code; for us_local, provide a USD account with US, account number, and ABA routing number; for swift, provide bank country, BIC, and either account number or IBAN.
US-local or SWIFT method selected for payout These formats can be onboarded and approved, but execution is not enabled yet. Fynex rejects the payout before funds are held. GBP uk_local methods are enabled through Faster Payments.

See also

  • Payees — Create and manage the payees that payout methods are attached to.
  • Payouts — Send money from a seller wallet to a payee