Nomba · Schema

SavedCard

PaymentsFintechBankingTransfersVirtual AccountsCheckoutCross-Border PaymentsCards

Properties

Name Type Description
cardId string The unique identifier for the saved card.
cardType string The card network brand.
last4 string The last 4 digits of the card number.
expiryMonth string The expiry month of the card.
expiryYear string The expiry year of the card.
tokenKey string The token key for charging this saved card.
View JSON Schema on GitHub

JSON Schema

nomba-savedcard-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/SavedCard",
  "title": "SavedCard",
  "type": "object",
  "properties": {
    "cardId": {
      "type": "string",
      "description": "The unique identifier for the saved card."
    },
    "cardType": {
      "type": "string",
      "description": "The card network brand.",
      "enum": [
        "Visa",
        "Mastercard",
        "Verve"
      ]
    },
    "last4": {
      "type": "string",
      "description": "The last 4 digits of the card number.",
      "pattern": "^\\d{4}$"
    },
    "expiryMonth": {
      "type": "string",
      "description": "The expiry month of the card."
    },
    "expiryYear": {
      "type": "string",
      "description": "The expiry year of the card."
    },
    "tokenKey": {
      "type": "string",
      "description": "The token key for charging this saved card."
    }
  }
}