Skip to main content
A payment detail stores the routing information for a single payment rail on a counterparty, such as a bank account, mobile money wallet, or stablecoin address. Create one before initiating a transfer on that rail.

The Payment Detail object

string
Unique payment detail identifier.
string
The payment rail. One of bank-transfer, momo-transfer, stablecoin-transfer, book-transfer, or wallet-transfer. wallet-transfer is used for Zelle.
string
ISO 4217 currency code.
string
Full name of the payment recipient, as it appears on the receiving account.
string
The ID of the counterparty this payment detail belongs to.
string
The ID of the entity this payment detail is registered under.
string
ISO 3166-1 alpha-2 destination country code. Present for bank-transfer, momo-transfer and wallet-transfer details. Absent for book-transfer and stablecoin-transfer.
string
The payment scheme used to route this payment detail. Values are rail-specific, for example fps for UK bank transfers, sepa for euro transfers, zelle for Zelle, mpesa for Kenyan mobile money, nuvion_direct for book transfers, and stablecoin for stablecoin addresses. The API names the other national schemes after the rail, for example becs, eft, nip, rtc, fast, pesonet, insta_pay, hk_chats, uae_local, ke_eft, ug_eft, gh_eft, tz_eft, clabe, pix, swift and wire. See Send a Payout for the full list of schemes per rail.
string
The mobile money operator. Present for momo-transfer details, and equal to the scheme.
object
Key-value metadata attached to the payment detail. Always an object, and {} when nothing is stored. Some rails add values of their own: for sepa details the recipient’s BIC is returned as meta.swift_bic.
Additional fields are present depending on payment_method and scheme:
string
UK bank sort code. Present for fps.
string
Destination account number. Format varies by rail (e.g. an 18-digit CLABE for clabe, an account number for fps/ach).
string
US bank routing number. Present for ach and wire.
string
Bank account type. One of checking, savings, or current. Present for ach, wire, and rtp, and returned when you set it on other schemes.
string
Bank or institution code. Present for rails that identify the bank with a code, such as becs, nip, rtc, pesonet, insta_pay, hk_chats and the African *_eft schemes. The API doesn’t check the length: a five-digit code was accepted for ug_eft.
string
Branch code. Present for becs and hk_chats.
string
Australian Bank State Branch number. Present for becs, with the same value as bank_code.
string
Interac e-Transfer email address. Present for interac_email. When you create the payment detail without an email, the API uses the counterparty’s profile email.
string
The kind of identifier in account_number. Present for pix (for example cpf) and hk_fps.
string
Canadian bank institution number. Present for eft.
string
Canadian bank transit number, identifying the recipient’s branch. Present for eft.
string
SWIFT/BIC code for the recipient’s bank. Present for swift and other international rails. For sepa details the BIC is returned in meta.swift_bic, not here.
string
Recipient’s International Bank Account Number. Present for sepa.
string
Name of the recipient’s bank.
object
Recipient bank’s postal address. Present for rails that require it (e.g. ach, wire, swift).
object
Details of an intermediary bank, as supplied. Present only when set.
string
Recipient’s mobile money wallet number, in E.164 format. Present for payment_method: "momo-transfer".
string
Destination blockchain wallet address. Present for payment_method: "stablecoin-transfer".
string
The Zelle identifier of the recipient: an email address or a phone number, as set by wallet_identifier_type. Present for payment_method: "wallet-transfer".
string
The kind of value in wallet_identifier. One of email or phone. Present for payment_method: "wallet-transfer".
string
Blockchain network for wallet_address. One of ETH_MAINNET, SOLANA_MAINNET, BASE_MAINNET, or MATIC_MAINNET. Polygon is MATIC_MAINNET; POLYGON_MAINNET is rejected. Present for payment_method: "stablecoin-transfer".
See Send a Payout for the complete set of required fields per rail, across all supported corridors.
Example

Add payment details

POST /payment-details Attach bank account, mobile money, stablecoin, wallet, or book transfer routing information to a counterparty. The returned payment detail ID is used when initiating transfers. Returns 201 Created. The API validates the details against the rail, and every failure is a 422 error_validation_error with the failing field and a nested type. For a book-transfer, the API checks that account_number belongs to a Nuvion account. An unknown number returns 422 error_validation_error with error_resource_not_found on account_number. The currency must match the recipient account’s currency: a mismatch is accepted here, and the transfer then returns 400 error_operation_invalid_for_state. Submitting details that duplicate an existing payment detail returns error_duplicate_resource for the identifying field, such as account_number, with status 422.

Request parameters

string
required
The payment rail. One of bank-transfer, momo-transfer, stablecoin-transfer, wallet-transfer, or book-transfer. Use wallet-transfer with scheme: "zelle", currency: "USD" and country: "US", and send wallet_identifier and wallet_identifier_type (email or phone).
string
required
ISO 4217 currency code (e.g. USD, GBP, KES). Use USC for USDC and UST for USDT. RLD (RLUSD) is accepted only with blockchain_network: "ETH_MAINNET".
string
required
Full name of the payment recipient, as it appears on the receiving account.
string
The ID of the entity this payment detail is registered under. Defaults to the authenticating entity when omitted. Required when acting on a child entity. See Managing child entities for details.
string
required
The ID of the recipient counterparty. An ID that doesn’t exist returns 422 error_validation_error for counterparty_id, not 404.
string
ISO 3166-1 alpha-2 destination country code, such as GB or KE. Required for every rail except stablecoin-transfer and book-transfer, including mobile money. Use two letters: a three-letter code such as USA isn’t converted and breaks the corridor lookup.
string
Payment scheme. Required when the currency supports multiple rails: for USD in the US and for PHP, omitting it returns 422 error_validation_required_field_missing. For USD, specify ach, wire, or rtp. See Send a Payout for the full list of schemes per rail.
string
The kind of identifier in account_number. Required for pix: omitting it returns 422 error_validation_required_field_missing, and a value such as cpf is accepted.
object
Recipient bank’s postal address. Optional. When you send it, line1, city and country are all required, and a partial object returns 422 error_validation_required_field_missing. A USD transfer that uses the detail also needs state and postal_code; without them the transfer returns 422 error_validation_required_field_missing. See Send a Payout for the rails that need it.
object
Optional key-value metadata. The response merges it with values the API adds, such as meta.swift_bic for SEPA details.

Request

Response

Returns the created payment detail object.
201 Created

Errors

The request can also return the shared 403 and 429 errors. See Errors for the standard error object. Example error responses:

Retrieve a payment detail

GET /payment-details/{id} Retrieves a single payment detail by ID. Returns 200 OK. Authenticate with a secret API key; a publishable key or no key returns 401 error_auth_credentials_invalid.

Path parameters

string
required
The payment detail ID, a 26-character ULID. The format isn’t validated: an ID that is malformed, doesn’t exist, was deleted, or belongs to another entity returns 404 error_resource_not_found.

Query parameters

string
Defaults to the authenticating entity when omitted. Required when acting on a child entity. An ID that matches no entity returns 404 error_resource_not_found. See Managing child entities for details.

Request

Response

Returns the payment detail object. The fields present depend on payment_method and scheme.

Errors

The request can also return the shared 403 and 429 errors. See Errors for the standard error object. Example error responses:

Update payment details

PATCH /payment-details/{id} Updates an existing payment detail. Every field is optional, and the API changes only the fields you send. An empty body succeeds and changes nothing. Returns 200 OK. The body takes the fields of Add payment details that apply to the payment detail’s scheme, with the exceptions below. The API ignores fields it doesn’t recognize without an error.

Path parameters

string
required
The ID of the payment detail to update. A malformed ID, or one that doesn’t exist or belongs to another entity, returns 404 error_resource_not_found.

Request parameters

string
Defaults to the authenticating entity when omitted. Required when acting on a child entity. An unknown ID returns 404 error_resource_not_found. See Managing child entities for details.
string
Full name of the payment recipient. An empty string is ignored and null returns 422 error_validation_error, so the name can’t be cleared.
string
The payment scheme. To change it, send scheme together with the currency, country and routing fields the new scheme needs, such as iban for sepa. The fields of the old scheme are dropped. A combination of scheme, currency and country that isn’t supported returns 422 error_validation_value_not_supported, including when you change only country or currency and the existing scheme no longer fits.
string
ISO 4217 currency code. It must be valid for the scheme.
string
ISO 3166-1 alpha-2 destination country code. It must be valid for the scheme.
string
Destination account number. The API doesn’t re-check the format of account_number or sort_code on update, so verify them before you send them.
string
UK bank sort code. Not re-checked on update.
string
International Bank Account Number. The API checks the IBAN on update, and an invalid one returns 422 error_counterparty_iban_invalid.
string
Bank account type. One of checking, savings, or current.
object
The recipient bank’s address. The object replaces the stored address as a whole, so send every field you want to keep. line1, city and country are required whenever you send bank_address; a missing field returns 422 error_validation_required_field_missing.
object
Details of an intermediary bank, for example { "name": "Example Bank" }. The API returns the object as sent.
object
Key-value metadata. The update merges the object into the existing metadata one key at a time: keys you send are set and keys you omit are kept. A key can’t be removed, and a null value is stored as null.
string
Can’t be changed. The API accepts a valid value and ignores it, because the rail follows the scheme. An unsupported value returns 422 error_validation_value_not_supported. To change the rail, create a new payment detail.
string
Ignored. A payment detail can’t be moved to another counterparty.

Request

Response

Returns the updated Payment Detail object.
200 OK

Errors

The request can also return the shared 403 and 429 errors. See Errors for the standard error object.
See Send a Payout for the complete list of rail-specific required fields across all supported corridors.
Example error responses: