Accounts-Get-v2: Difference between revisions

From Barion Documentation
Jump to navigation Jump to search
(Created page with "{{PageTitle|title=Barion API: Get existing accounts of the user}} {| style="margin-left:2em;" align="right" | __TOC__ |} {{api_callmethod |method=GET |uri=/v2/Accounts/Get }...")
 
mNo edit summary
Line 7: Line 7:
{{api_callmethod
{{api_callmethod
|method=GET
|method=GET
|uri=/v2/Accounts/Get
|uri=/v2/Accounts
}}
}}


The <code>/accounts/get</code> API endpoint is used to query the existing accounts of the calling user.
The <code>/accounts</code> API endpoint is used to query the existing accounts of the calling user.


Prerequisites before use:
Prerequisites before use:

Revision as of 11:16, 4 November 2022

Barion API: Get existing accounts of the user

GET /v2/Accounts

The /accounts API endpoint is used to query the existing accounts of the calling user.

Prerequisites before use:

v2 This API endpoint is available in API v2 only.


Input properties

Property name Property type Limitations and constraints Description
UserName string
  • Required
Your e-mail address in the Barion system.
Password string
  • Required
Your password in the Barion system.

Output properties

Property name Property type Description
Accounts Account[] The list of accounts in the user's Barion wallet