SerenAI

Pay Per Call Agentic Commerce

PaymentMethod

Payment method details

Properties

PropertyTypeRequiredDescription
bank_last4 string,null No
card_brand string,null No
card_exp_month integer,null No
card_exp_year integer,null No
card_last4 string,null No
id string Yes
is_default boolean Yes
type_ string Yes
View JSON Schema
{
  "type": "object",
  "description": "Payment method details",
  "required": [
    "id",
    "type_",
    "is_default"
  ],
  "properties": {
    "bank_last4": {
      "type": [
        "string",
        "null"
      ]
    },
    "card_brand": {
      "type": [
        "string",
        "null"
      ]
    },
    "card_exp_month": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "card_exp_year": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "card_last4": {
      "type": [
        "string",
        "null"
      ]
    },
    "id": {
      "type": "string"
    },
    "is_default": {
      "type": "boolean"
    },
    "type_": {
      "type": "string"
    }
  }
}