Read account details

GET /v1/accounts/{accountId}

Path parameters

Responses

  • default application/json

    default response

    Hide response attribute Show response attribute object
    • account object Required
      Hide account attributes Show account attributes object
      • currency string Required

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

      • resourceId string Required
      • iban string Required

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

      • name string Required

        Minimum length is 0, maximum length is 70.

      • displayName string Required

        Minimum length is 0, maximum length is 70.

      • product string Required

        Minimum length is 0, maximum length is 35.

      • cashAccountType string Required
      • status string Required

        Values are enabled, deleted, or blocked.

      • bic string Required

        Format should match the following pattern: [A-Z]{6,6}[A-Z2-9][A-NP-Z0-9]([A-Z0-9]{3,3}){0,1}.

      • usage string Required

        Minimum length is 0, maximum length is 4. Values are PRIV or ORGA.

      • balances array[object]
        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
      • ownerName string Required

        Minimum length is 0, maximum length is 140.

GET /v1/accounts/{accountId}
curl \
 -X GET https://api.memo.bank/nextgenpsd2/v1/accounts/{accountId} \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Signature: $SIGNATURE"
Response examples (default)
{
  "account": {
    "currency": "string",
    "resourceId": "string",
    "iban": "string",
    "name": "string",
    "displayName": "string",
    "product": "string",
    "cashAccountType": "string",
    "status": "enabled",
    "bic": "string",
    "usage": "PRIV",
    "balances": [
      {
        "balanceAmount": {
          "currency": "string",
          "amount": "string"
        },
        "balanceType": "closingBooked",
        "creditLimitIncluded": true,
        "referenceDate": "2024-05-04"
      }
    ],
    "_links": {
      "balances": {
        "href": "string"
      },
      "transactions": {
        "href": "string"
      }
    },
    "ownerName": "string"
  }
}