PayoutMethods-Get-v6

From Barion Documentation
Jump to navigation Jump to search

Barion API: GET v6/recipients/{recipientid}/payout-methods

GET /v6/recipients/{recipientid}/payout-methods

This API endpoint returns all payout methods associated with an existing recipient.

Prerequisites before use:

Authentication

Barion Wallet Authentication

Input properties

Property name Property type Limitations and constraints Description
recipientid string
  • Required
  • Format: rcp_<ordered-base64-ulid>
ID of an existing recipient. Passed as a path parameter.

Output properties

The response is an array of payout method objects. For the structure of each element, see the object.

Property name Property type Description
<root> Object Array See the object.

To find out which errors this endpoint can produce, visit the Calling the API – Handling the response page. Note that this endpoint uses camelCase field names in error responses.

Possible error messages

Condition ErrorCode HTTP status code
Authentication fails 401
Recipient not found RecipientNotFound 404
Referenced recipient is not connected to the opened wallet RecipientForbidden 403