Skip to main content
POST
/
beneficiaries
/
organizations
/
sessions
Create management session
curl --request POST \
  --url https://api.paysway.dev/beneficiaries/organizations/sessions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'Idempotency-Key: <idempotency-key>' \
  --data '
{
  "externalUserId": "<string>",
  "returnUrl": "<string>",
  "options": {
    "allowedRecipientTypes": [],
    "allowedCountries": [
      "<string>"
    ]
  }
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "url": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.paysway.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

Idempotency-Key
string<uuid>
required

The idempotency key is a unique value sent with a request to prevent duplicate processing caused by retries.

Body

application/json
externalUserId
string
required
returnUrl
string<uri>
required
options
object

Response

201 - application/json

Management session created successfully

id
string<uuid>
required
url
string<uri>
required