Skip to main content

What this endpoint does

GET /v1/payouts/beneficiary-schema returns the data-only descriptors needed to render the beneficiary object for one payout corridor. Use it before POST /v1/payouts instead of hardcoding country-specific form tables. The response is ordered for rendering and contains localized labels, placeholders, hints, errors, conditional rules and the names of the closed client-side validators. The endpoint is a read-only catalog. It does not validate or create a payout, does not execute validator code, and does not expose the identity of any processing provider.

Request

country is an ISO alpha-2 destination country and method is the payout rail method. lang accepts en, es or zh and defaults to en. For the global swift and sepa methods, any requested country resolves through the *:swift or *:sepa wildcard; the response echoes the requested country.

Response

Field descriptor contract

Every field includes key, label and kind. kind is one of text, phone, bank, select, geoCountry, geoState or geoCity. fields order is significant. The backend sends validator names only. Each frontend must implement the closed registry, and must treat an unknown name as a safe validation error. Do not evaluate code received from the API.

Supported corridors

The catalog contains 20 exact country/method corridors plus global *:swift and *:sepa fallbacks. Availability is still controlled by the methods catalog, so call GET /v1/payouts/methods when building the selector. The schema endpoint returns 404 payout_corridor_unsupported when no schema exists for the requested pair. The existing payout corridors guide explains the business fields and complete payout examples. This page explains how to render those fields dynamically.

Errors and safe retry behavior

This is a read-only request and has no idempotency key. If a network failure leaves the result unknown, retry the read. Never retry POST /v1/payouts with a new key to recover from an uncertain money operation; use the original idempotency key and reconcile its status.

FAQ

No. validator and validator_with_values are names from a closed set. The frontend owns the implementation and must not execute strings as code.
No. The methods catalog says which corridors are enabled. This endpoint says which beneficiary fields to render after the user chooses one.
Yes. A field without optional, required_if or another conditional exception is required by the curated corridor schema. The payout endpoint remains the final authority and can reject an invalid submission.
You may cache it briefly by country, method and lang, but refresh it when the methods catalog changes and handle 404 or validation errors without creating a payout.
CBPay platform proxies this static catalog unchanged. Integrators should use the platform URL and do not need to know which internal service supplied it.
Last modified on November 22, 2026