1. Accounts
Payswix | Agents API
  • Finance account
    • Getting started
    • Validation rules
    • Virtual IBANs
      • NACE codes
      • Create vIBAN for person or company
      • Get a list of vIBANs
    • Transactions
      • Create a SEPA transfer
      • Get transfer fee
      • Get all existing recipients
      • Get transaction information
      • Get a filtered list of transactions
    • Companies
      • Get specific company details
    • Accounts
      • Create a new account
        POST
      • Get all user accounts
        GET
      • Get user account information by account number
        GET
    • Other
      • Check if the server is alive
    • Webhooks
      • Transaction webhook
    • Schemas
      • Company vIBAN
      • Person vIBAN
      • Transaction
  • Standard account
    • Transactions
      • Create a SEPA transfer
      • Create a SWIFT transfer
    • Schemas
      • Transaction
  1. Accounts

Get user account information by account number

GET
/agents/v1/accounts/{clientId}/{accountId}

Request

Authorization
API Key
Add parameter in header
X-API-KEY
Example:
X-API-KEY: ********************
or
Path Params

Responses

🟢200OK
application/json
Account returned
Bodyapplication/json

🟠401Unauthorized
🟠404
🔴500
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://demo-api.payswix.com/agents/v1/accounts//' \
--header 'X-API-KEY: <api-key>'
Response Response Example
200 - Success
{
    "is_success": true,
    "data": {
        "account": {
            "account": "59208239802",
            "primary": true,
            "name": "Primary account",
            "status": 1,
            "iban": "LT743880009208239802",
            "clientName": "UAB Baltic Trading",
            "clientType": 1,
            "balances": [
                {
                    "currency": "EUR",
                    "current": "75.00",
                    "reserved": "0.00",
                    "available": "75.00"
                }
            ],
            "providerName": "litas_sepa"
        }
    },
    "message": null
}
Previous
Get all user accounts
Next
Check if the server is alive
Built with