Beneficiary Hub
Management sessions
A management session is a short‑lived object that allows a beneficiary to manage payout methods in a PaySway-hosted UI.
Create a session
You can create a new management session by sending the following request:
POST /beneficiaries/organizations/sessions
Session options
You can customize the beneficiary management session by providing the options
field in your request.
This allows you to restrict what a beneficiary can input.
The available options are:
Field | Type | Description |
---|---|---|
allowedRecipientTypes | string[] | Limit the session to INDIVIDUAL or BUSINESS recipients. If omitted the user may pick either type. |
allowedCountries | string[] | List of ISO 3166 alpha‑2 country codes (e.g., GB , US ). If omitted the user may add payout methods for any supported country. |
Example with options
POST /beneficiaries/organizations/sessions
Request