Get beneficiary form schema
Changed onReturns the form schema containing all fields required to create a beneficiary for the given country, currency, entity type, and transfer method combination. Use this to dynamically render the beneficiary creation form.
Request
- Base URL: https://api.session.services
- URL: https://api.session.services/beneficiaries/schema
- Auth: API key in header x-tenant-id
Query parameters
Two-letter ISO 3166-1 alpha-2 country code for the bank location
Three-letter ISO 4217 currency code for the beneficiary account
Whether the beneficiary is an individual or a company
Transfer method: SWIFT for international wire transfers, LOCAL for domestic transfers
Local clearing system for domestic transfers (e.g., NPP, BANK_TRANSFER, BPAY for Australia). Only applicable when transferMethod is LOCAL.
Current values of fields with refresh=true. Used to get dynamic schema updates based on user selections.
{
"beneficiary.bank_details.account_routing_type1": "phone_number"
}Response
OK
Example response
{
"fields": [
{
"path": "beneficiary.bank_details.account_number",
"enabled": true,
"required": true,
"field": {
"type": "INPUT",
"options": [
{
"flightTime": {
"unit": "day"
}
}
]
}
}
],
"selectedTransferMethod": "LOCAL",
"selectedLocalClearingSystem": "NPP"
}Changes
- info
added the optional property
to the response with the status
- info
- info
added the non-success response with the status
- info