Responses

  • default application/json

    default response

    Hide response attribute Show response attribute object
    • cardAccounts array[object] Required
      Hide cardAccounts attributes Show cardAccounts attributes object
      • maskedPan string Required

        Minimum length is 0, maximum length is 35.

      • currency string Required

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

      • resourceId string Required
      • ownerName string Required

        Minimum length is 0, maximum length is 140.

      • 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.

      • debitAccounting boolean Required
      • status string Required

        Values are enabled, deleted, or blocked.

      • usage string Required

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

      • creditLimit object Required
        Hide creditLimit attributes Show creditLimit 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})?.

      • 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
GET /v1/card-accounts
curl \
 -X GET https://api.memo.bank/nextgenpsd2/v1/card-accounts \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Signature: $SIGNATURE"
Response examples (default)
{
  "cardAccounts": [
    {
      "maskedPan": "string",
      "currency": "string",
      "resourceId": "string",
      "ownerName": "string",
      "name": "string",
      "displayName": "string",
      "product": "string",
      "debitAccounting": true,
      "status": "enabled",
      "usage": "PRIV",
      "creditLimit": {
        "currency": "string",
        "amount": "string"
      },
      "balances": [
        {
          "balanceAmount": {
            "currency": "string",
            "amount": "string"
          },
          "balanceType": "closingBooked",
          "creditLimitIncluded": true,
          "referenceDate": "2024-05-04"
        }
      ],
      "_links": {
        "balances": {
          "href": "string"
        },
        "transactions": {
          "href": "string"
        }
      }
    }
  ]
}