Read card account balance

GET /v1/card-accounts/{accountId}/balances

Path parameters

Responses

  • default application/json

    default response

    Hide response attributes Show response attributes object
    • balances array[object] Required
      Hide balances attributes Show balances attributes object
      • balanceAmount object Required
        Hide balanceAmount attributes Show balanceAmount attributes object
        • currency string Required

          Format should match the following pattern: [A-Z]{3}.

        • amount string Required

          Format should match the following pattern: -?[0-9]{1,14}(\.[0-9]{1,3})?.

      • balanceType string Required

        Values are closingBooked, expected, openingBooked, interimAvailable, interimBooked, forwardAvailable, or nonInvoiced.

      • creditLimitIncluded boolean Required
      • referenceDate string(date) Required
    • Hide cardAccount attributes Show cardAccount attributes object
      • iban string

        Format should match the following pattern: [A-Z]{2,2}[0-9]{2,2}[a-zA-Z0-9]{1,30}.

      • Minimum length is 0, maximum length is 35.

      • currency string

        Format should match the following pattern: [A-Z]{3}.

GET /v1/card-accounts/{accountId}/balances
curl \
 -X GET https://api.memo.bank/nextgenpsd2/v1/card-accounts/{accountId}/balances \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Signature: $SIGNATURE"
Response examples (default)
{
  "balances": [
    {
      "balanceAmount": {
        "currency": "string",
        "amount": "string"
      },
      "balanceType": "closingBooked",
      "creditLimitIncluded": true,
      "referenceDate": "2024-05-04"
    }
  ],
  "cardAccount": {
    "iban": "string",
    "maskedPan": "string",
    "currency": "string",
    "cashAccountType": "string"
  },
  "debitAccounting": true
}