Creating a Recipient

Create a payee with its payment details in one call, across every supported rail.

Before You Start

Read the following guides before proceeding:

GuideWhy
Getting StartedPlatform overview and setup
Api BasicsRequired headers and request configuration
AuthenticationHow to obtain the corporation token
Corridor TransfersCorridor payouts name a recipient by id

Overview

A recipient is a stored payee: an identity — a person or a business — plus one or more sets of payment
details, each covering a rail. Corridor transfers and card transfers pay a recipient by id rather than
carrying beneficiary data in the request.

Two ways to create one:

v1 — POST /api/v1/recipientsv2 — POST /api/v2/recipients
CreatesThe identity onlyThe identity and its first payment details
Payment detailsA second call to POST /api/v1/recipients/{recipientId}/payment_detailsIn the same request
Name checkNot performed — there are no account details to check againstPerformed against the details
Use for—Everything

Use v2. The v1 pair is documented in Managing Recipients for the
case where you are adding a second rail to an existing recipient.

All create and update calls require TransactionSu or TransactionManage.


Create a Recipient with Payment Details

POST /api/v2/recipients

Request body:

{
  "first_name": "Alex",
  "last_name": "Grey",
  "is_business": false,
  "type": "Sepa",
  "currencies": ["EUR"],
  "sepa": {
    "iban": "DE89370400440532013000",
    "bic": "COBADEFF"
  }
}
FieldTypeRequiredDescription
is_businessbooleanYestrue for a company, false for a person
first_namestringConditionalRequired when is_business is false. Must match ^[a-zA-Z][a-zA-Z\-' ]{0,49}$ — unaccented Latin letters, space, hyphen, apostrophe
last_namestringConditionalRequired when is_business is false. Same format as first_name
company_namestringConditionalRequired when is_business is true. Must match ^[A-Za-z0-9&.,'’\-/() :+#]{2,100}$
nick_namestringNoDisplay label, at most 127 characters
typestringYesWhich rail these details are for — see the type table below
currenciesarray of stringYesCurrencies this recipient accepts, e.g. ["EUR"], ["WUSD"]. Stored as sent — not checked against type
transaction_authorizationobjectNoSignature over the recipient sentence. Checked only for an agent company in Signature mode. See Transaction Authorization
<type object>objectYesThe details object matching type. See the per-rail tables below

Response:

{
  "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "personal_info": {
    "first_name": "Alex",
    "last_name": "Grey",
    "is_business": false
  },
  "payment_details": [
    {
      "id": "64120850-73a1-4df5-a074-d463258c9deb",
      "type": "Sepa",
      "currencies": ["EUR"],
      "sepa": {
        "iban": "DE89370400440532013000",
        "bic": "COBADEFF"
      }
    }
  ]
}
FieldDescription
idRecipient id — recipient_id on a corridor transfer
personal_infoThe stored identity. nick_name is omitted when none was set
payment_details[]The details created. payment_details[].id is recipient_payment_details_id on a corridor transfer
name_checkPresent only when the provider returned a name check for the details. Absent otherwise — absence is not a match
name_check.name_matchedfalse means the name you supplied does not match the name the provider holds against the account
name_check.resolved_nameThe name the provider holds. Populated only on a partial match

name_check is a warning, not a rejection, and it is not always there. A recipient with
name_matched: false is created and is payable, and so is one whose response carries no name_check
at all. Surface the mismatch before the first payout — a name mismatch is what a rail rejects
later, and the transfer will have been debited by then.

A crypto recipient can be created with a nickname instead of a name. When type is Crypto and
nick_name is set, the first-name / last-name / company-name requirement is skipped entirely. For
every other type, and for crypto without a nickname, the identity fields are mandatory.


Payment Details by Type

typeDetails objectRequired fields
Cryptocryptoaddress, network
Sepasepaiban, bic
Swiftswiftiban, bic, bank_name, bank_country, legal_address
FasterPaymentfaster_paymentsaccount_number, sort_code
Achachrouting_number, account_number, legal_address; bank_name optional
Fedwirefedwirerouting_number, account_number, bank_name, legal_address
Speispeiclabe; recipient_id_number, legal_address optional
Cardcardcard_id, card_pan_last
Pixpixpix_key, pix_key_type, recipient_name; recipient_id_number, legal_address optional
FpsHkfps_hkfps_id, fps_id_type, bank_code, recipient_name
Impsimpsaccount_number, ifsc_code, recipient_name, destination_country
Instapayinstapayaccount_number, bank_code, recipient_name, destination_country
BiFastbi_fastaccount_number, bank_code, recipient_name, destination_country
Nipnipaccount_number, bank_code, recipient_name, destination_country
Ippippiban, recipient_name, destination_country
Psepseaccount_number, account_type, bank_code, recipient_name, document_type, document_number

The FasterPayment details object is named faster_payments on the way in and faster_payment on
the way out.
The request takes "faster_payments": { ... }; the response reports the same details
under "faster_payment". Map between them explicitly.

Field Formats

FieldValidation (regex)Applies to
iban^[A-Z]{2}\d{2}[A-Z0-9]{11,30}$sepa, swift
iban (UAE)^AE\d{21}$ipp
bic^[A-Z]{4}[A-Z]{2}[A-Z0-9]{2}([A-Z0-9]{3})?$sepa, swift
account_number^\d{8,18}$faster_payments, ach, fedwire
account_number^\d{9,18}$imps
account_number^\d{10}$nip
sort_code^\d{6}$faster_payments
routing_number^\d{9}$ach, fedwire
bank_name^[A-Za-z0-9&.,'’\-/() :+#]{2,100}$ach, fedwire
clabe^\d{18}$spei
recipient_name^[\p{L}\p{N}\s.'\-]{1,100}$every corridor type
pix_key_type^(CPF|CNPJ|EMAIL|PHONE|EVP)$pix
pix_key — CPF^\d{11}$pix
pix_key — CNPJ^\d{14}$pix
pix_key — PHONE^\+55\d{10,11}$pix
pix_key — EVPUUID formpix
fps_id_type^(FPS_ID|MOBILE|EMAIL)$fps_hk
bank_code^\d{3}$fps_hk, nip, pse
bank_code^([A-Z]{3,4}|[A-Z]{4}[A-Z]{2}[A-Z0-9]{2}([A-Z0-9]{3})?)$instapay
bank_code^(\d{3}|[A-Z]{4}ID[A-Z]{2})$bi_fast
ifsc_code^[A-Z]{4}0[A-Z0-9]{6}$imps
account_type^(SAVINGS|CHECKING)$pse
document_type^(CC|NIT|CE|PP)$pse
document_number^[A-Z0-9]{5,20}$pse

recipient_name accepts Unicode letters and digits — unlike first_name and last_name, which are
restricted to unaccented Latin. José Müller is a valid recipient_name and an invalid first_name.

Formats are the only check on bank details. IBAN check digits are not verified and the IBAN
country is not checked against the rail — a Sepa recipient with a UAE IBAN is accepted. Neither is a
routing number's ABA check digit. A wrong but well-formed account is created, and fails only when a
payout reaches the bank.

The PSE document_type regex accepts PP, while the field's own documentation names PASSPORT.
Send PP.

Legal Address

legal_address is the beneficiary's address. It is required on Ach, Fedwire and Swift details and optional
on Spei and Pix details. When present, it is validated as follows:

FieldRequiredValidation (regex)
legal_address.line1Yes^[A-Za-z0-9&.,'’\-/() :+#]{2,100}$
legal_address.line2No^[A-Za-z0-9&.,'’\-/() :+#]{2,100}$
legal_address.cityYes^[A-Za-z\s\-'.]{2,100}$
legal_address.stateNo — but a US address without it is refused at payout^[A-Za-z][A-Za-z\s\-']{1,99}$
legal_address.zip_codeYes^[A-Za-z0-9\s\-]{3,12}$
legal_address.countryYes^[A-Z]{2}$ — ISO 3166-1 alpha-2, upper case. us is rejected

Send state for a US address. A recipient's US address without state is accepted at creation,
and so is the ach initiate that pays it — the wallet is debited — but the payment is then refused:
the activity moves through awaiting_charge_reversal to Failed, and the debit is returned. The inline beneficiary of a
v1 bank transfer rejects such an address up front.

legal_address.line2 is not sent with a Fedwire payout. The payout carries line1, city,
state, zip_code and country. Put the complete street address in line1.


Examples by Rail

Crypto

{
  "is_business": false,
  "nick_name": "Treasury cold wallet",
  "type": "Crypto",
  "currencies": ["WUSD"],
  "crypto": {
    "address": "0xAAFF0821A09A1Aac28B72dD3Ff410A7ea5FEb874",
    "network": "Base"
  }
}

ACH

{
  "company_name": "Acme Supplies Inc.",
  "is_business": true,
  "type": "Ach",
  "currencies": ["USD"],
  "ach": {
    "routing_number": "123456789",
    "account_number": "12345678",
    "bank_name": "The Bank of New York",
    "legal_address": {
      "line1": "10 Downing Street",
      "city": "London",
      "zip_code": "SW1A 2AA",
      "country": "GB"
    }
  }
}

Fedwire

{
  "company_name": "Acme Supplies Inc.",
  "is_business": true,
  "type": "Fedwire",
  "currencies": ["USD"],
  "fedwire": {
    "routing_number": "021000021",
    "account_number": "123456789012",
    "bank_name": "JPMorgan Chase",
    "legal_address": {
      "line1": "270 Park Avenue",
      "city": "New York",
      "state": "NY",
      "zip_code": "10017",
      "country": "US"
    }
  }
}

Fedwire and Ach are separate details types, and each corridor pays only its own type. A
recipient created with type: "Ach" cannot be paid over fedwire: the transfer is rejected at
initiate with Invalid recipient details. To pay the same beneficiary over both rails, add
Fedwire details to the existing recipient with POST /api/v1/recipients/{recipientId}/payment_details
("type": "Fedwire" and a fedwire object) — see Managing Recipients.
The two sets of details are stored independently, even when they hold the same account and routing
numbers.

routing_number is checked for format only. Nine digits pass validation; the ABA check digit is
not verified, and neither is the bank behind it. A wrong routing number is rejected later by the
receiving bank, after the corporation wallet has been debited.

Faster Payments

{
  "company_name": "Acme Trading Ltd",
  "is_business": true,
  "type": "FasterPayment",
  "currencies": [
    "GBP",
  ],
  "faster_payments": {
    "account_number": "12345678",
    "sort_code": "040004"
  }
}

The response returns the details under faster_payment and, when the beneficiary bank answers, a
Confirmation of Payee name_check.

SWIFT

{
  "company_name": "Acme Trading GmbH",
  "is_business": true,
  "type": "Swift",
  "currencies": [
    "EUR",
  ],
  "swift": {
    "iban": "DE89370400440532013000",
    "bic": "COBADEFFXXX",
    "bank_name": "Commerzbank AG",
    "bank_country": "DE",
    "legal_address": {
      "line1": "Friedrichstrasse 68",
      "city": "Berlin",
      "zip_code": "10117",
      "country": "DE"
    }
  }
}

The IBAN's check digits are not validated. The swift corridor re-checks the recipient against the
SWIFT field limits at the estimate.

PIX

{
  "company_name": "Acme Brasil Ltda",
  "is_business": true,
  "type": "Pix",
  "currencies": ["BRL"],
  "pix": {
    "pix_key": "12345678901",
    "pix_key_type": "CPF",
    "recipient_name": "Acme Brasil Ltda",
    "recipient_id_number": "12345678901"
  }
}

Card

{
  "first_name": "Alex",
  "last_name": "Grey",
  "is_business": false,
  "type": "Card",
  "currencies": ["USD"],
  "card": {
    "card_id": "wirex_123456789",
    "card_pan_last": "4242"
  }
}

card.card_id is the tokenized card identifier and is what
Card Transfer takes as external_card_id.


Transaction Authorization

A signature is never required here. It is checked when sent, if the company's
transactionAuthorizationMode is Signature and the company is an agent company (operating mode
Agentic or Mixed); otherwise it is ignored. When checked, transaction_authorization is signed by the
employee_address wallet over:

I confirm I save recipient <name> <details> at <nonce>

<name>:

Recipient<name>
is_business: truecompany_name, trimmed
Individual with first_name and last_namefirst_name + one space + last_name, each trimmed
Crypto with neither first_name nor last_namenick_name, trimmed

<details>:

type<details>
SepaIBAN <iban> BIC <bic> — both upper-case, spaces removed
FasterPaymentaccount number <account_number> sort code <sort_code>
Achaccount number <account_number> routing number <routing_number>
Cryptoaddress <address> on <network>. An EVM address is written in its EIP-55 checksummed form
Cardcard ending <card_pan_last> with id <card_id>

Other types have no sentence: create them without a signature.

For a SEPA recipient Alex Grey signed at 1760774400:

I confirm I save recipient Alex Grey IBAN DE89370400440532013000 BIC COBADEFFXXX at 1760774400
{
  "is_business": false,
  "first_name": "Alex",
  "last_name": "Grey",
  "type": "Sepa",
  "currencies": ["EUR"],
  "sepa": { "iban": "DE89370400440532013000", "bic": "COBADEFFXXX" },
  "transaction_authorization": {
    "message_signature": "0x1c8aff950685c2ed4bc3174f3472287b56d9517b9c948127319a09a7a36deac81f0c5b0e4a7c1d2e3f405162738495a6b7c8d9e0f1a2b3c4d5e6f708192a3b4c1b",
    "nonce": 1760774400
  }
}

The object, the nonce rules and the 401 errors are described in
Transaction Authorization.


Code

const response = await fetch(`${baseUrl}/api/v2/recipients`, {
  method: 'POST',
  headers: {
    'Authorization': `Bearer ${corporationToken}`,
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    first_name: 'Alex',
    last_name: 'Grey',
    is_business: false,
    type: 'Sepa',
    currencies: ['EUR'],
    sepa: { iban: 'DE89370400440532013000', bic: 'COBADEFF' }
  })
});
const recipient = await response.json();

if (recipient.name_check && !recipient.name_check.name_matched) {
  // The provider holds a different name — resolve before paying out
}
response = requests.post(
    f"{base_url}/api/v2/recipients",
    headers={
        "Authorization": f"Bearer {corporation_token}",
        "Content-Type": "application/json",
    },
    json={
        "first_name": "Alex",
        "last_name": "Grey",
        "is_business": False,
        "type": "Sepa",
        "currencies": ["EUR"],
        "sepa": {"iban": "DE89370400440532013000", "bic": "COBADEFF"},
    },
)
recipient = response.json()

name_check = recipient.get("name_check")
if name_check and not name_check["name_matched"]:
    # The provider holds a different name — resolve before paying out
    pass
body, _ := json.Marshal(map[string]interface{}{
    "first_name":  "Alex",
    "last_name":   "Grey",
    "is_business": false,
    "type":        "Sepa",
    "currencies":  []string{"EUR"},
    "sepa":        map[string]string{"iban": "DE89370400440532013000", "bic": "COBADEFF"},
})

req, _ := http.NewRequest("POST", baseURL+"/api/v2/recipients", bytes.NewBuffer(body))
req.Header.Set("Authorization", "Bearer "+corporationToken)
req.Header.Set("Content-Type", "application/json")

resp, _ := http.DefaultClient.Do(req)
defer resp.Body.Close()

var recipient RecipientResponse
json.NewDecoder(resp.Body).Decode(&recipient)

Error Handling

{
  "error_reason": "ErrorMissingField",
  "error_description": "company name is required",
  "error_category": {
    "category": "CategoryValidationFailure",
    "http_status_code": 400
  },
  "error_details": [
    { "key": "field", "details": "company_name" },
    { "key": "issue", "details": "missing" }
  ]
}

Validation Errors (400)

Error ReasonError DetailsDescriptionResolution
ErrorMissingFieldfield: first_namefirst name is requiredRequired when is_business is false
ErrorMissingFieldfield: last_namelast name is requiredRequired when is_business is false
ErrorInvalidFieldfield: first_name / last_name, patternInvalid format for first nameUnaccented Latin letters, space, hyphen and apostrophe only
ErrorMissingFieldfield: company_namecompany name is requiredRequired when is_business is true
ErrorInvalidFieldfield: company_nameInvalid format for company name2–100 characters from the allowed set
ErrorInvalidFieldfield: nick_name, max_length: 127nick name exceeds maximum lengthShorten the nickname
ErrorMissingFieldfield: typeType not providedSend one of the supported types
ErrorInvalidFieldfield: typeUnrecognised typeUse a value from the type table
ErrorMissingFieldfield: <type object>, issue: missing_for_type<type object> is required for selected type, e.g. fedwire is required for selected typeSend the object matching type — sepa for Sepa, faster_payments for FasterPayment, fedwire for Fedwire
ErrorMissingFieldfield: <type>.<field>, issue: missingA required details field is absent, e.g. fedwire.routing number is requiredSend the field
ErrorInvalidFieldfield: <type>.<field>, issue: invalid_format, patternA details field failed its pattern, e.g. Invalid format for fedwire.account number. pattern carries the regexCheck the format table
ErrorMissingFieldfield: legal_address.<field>, issue: missingA required address field is absent, e.g. legal address.zip code is requiredSee Legal Address
ErrorInvalidFieldfield: legal_address.<field>, issue: invalid_format, patternAn address field failed its pattern, e.g. Invalid format for legal address.countrySee Legal Address
ErrorInvalidFieldfield: type, issue: not_signableNo signed sentence covers this recipient typeA signature was sent for a type with no sentence, by an agent company in Signature mode. Send no signature
ErrorMissingFieldfield: first_name / company_name / nick_name, issue: missingThe recipient has no name the signed sentence can carryA signature was sent for a recipient with no <name>, by an agent company in Signature mode

Permission Errors (403)

Error ReasonDescriptionResolution
ErrorPermissionDeniedUser does not have required permissionsCreating a recipient needs TransactionManage or TransactionSu. Reading needs neither

Server Errors (500)

Error ReasonDescriptionResolution
ErrorGeneralRecipient creation failureDownstream rejection. Retry

Creation does not deduplicate. Sending the same identity and details twice creates two recipients with
two ids. Search with Managing Recipients before creating.


Did this page help you?