Multigate
  1. 💰 Accounts
Multigate
  • 🚀 Getting Started
  • 🔓 Authentication
    • Get Token
    • Refresh Token
    • Logout User
  • 👋 Onboarding
    • Create Subclient
    • Get All Subclients
    • Get Subclient
    • Update Subclient
    • Create Subclient Shareholder
    • Get Subclient Shareholders
    • Update Subclient Shareholder
    • Upload Subclient Documents
    • Get Subclient Documents
    • Delete Subclient
    • Submit Subclient
  • 💰 Accounts
    • 📄 Statements
      • Get Statement
    • Create Virtual Account
      POST
    • Get Account
      GET
    • Get Accounts By
      GET
    • Get All Accounts
      GET
    • Simulate Inflow (UAT only)
      POST
  • 🔃 Conversions
    • Get Quote
    • Lock Rate
    • Get Trade
    • Get All Trades
  • 💸 Payments
    • 🏦 Banks
      • Get Bank Details
    • 👤 Beneficiaries
      • Create Beneficiary
      • Get All Beneficiaries
      • Get Beneficiary
      • Update Beneficiary
      • Validate Beneficiary Account (NGN only)
    • Create Single Transfer
    • Get Purpose Codes
    • Get Transfer Fields & Fees
    • Find Transfers
  • 📩 Webhooks / Push Notifications
    • Add a New Client Configuration
    • Update Client Configuration Current Mode
    • Get Client Configuration
  1. 💰 Accounts

Get Accounts By

GET
/client-service/api/v1/accounts/by
Account
Retrieve accounts by accountNumber or, if no accountNumber is available, the account entityId.

Request

Query Params
accountNumber
string 
optional
Account number
Example:
1238286123
entityId
string 
optional
Account entityId
Example:
8nlhb1PyH1M5IdvcNOab9

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api-gateway-uat.mmacs.io/platform/client-service/api/v1/accounts/by?accountNumber=1238286123&entityId=8nlhb1PyH1M5IdvcNOab9'

Responses

🟢200OK
application/json
success response
Body
message
string 
required
accounts
array[object (AccountOutput) {7}] 
required
entityId
string 
optional
Account id
currencyIso3Code
string 
optional
Account currency
accountName
string 
optional
Account name
fundingDetails
array [object {5}] 
optional
Account funding details (SSIs)
status
enum<string> 
optional
Account status
Allowed values:
processingactivedisconnecteddisabledfailed
availableBalance
number 
optional
Available balance
accountType
enum<string> 
optional
Account type
Allowed values:
multigatelinked
Example
{
  "message": "account(s) successfully retrieved",
  "accounts": [
    {
      "entityId": "8nlhb1PyH1M5IdvcNOvab9",
      "currencyIso3Code": "NGN",
      "accountName": "ABC Limited NGN Acct",
      "status": "active",
      "accountType": "multigate",
      "fundingDetails": [
        {
          "bankOrSortCode": "test-bank",
          "accountNumber": "1238286123",
          "bankCountry": null,
          "bankName": "Paystack Titan",
          "bankAddress": null
        }
      ]
    }
  ]
}
🟠400Bad Request
🟠401Unauthorized
Previous
Get Account
Next
Get All Accounts
Built with