{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/flipdish/refs/heads/main/json-schema/customers-payment-account-schema.json", "title": "PaymentAccount", "description": "Payment Account information", "type": "object", "properties": { "UserId": { "format": "int32", "description": "The user ID associated with the payment account.", "type": "integer", "example": 500123 }, "PaymentAccountId": { "format": "int32", "description": "Unique identifier for the payment account.", "type": "integer", "example": 500123 }, "CanRemoveFromCustomerView": { "description": "Indicates if the payment account can be removed from the customer view.", "type": "boolean", "example": true }, "Bin": { "description": "Bank Identification Number (BIN) of the payment method.", "type": "string", "example": "string" }, "IsDefaultPaymentMethod": { "description": "Indicates if this is the default payment method.", "type": "boolean", "example": true }, "IsVisibleToCustomer": { "description": "Indicates if the payment account is visible to the customer.", "type": "boolean", "example": true }, "PaymentAccountType": { "description": "The type of payment account (e.g., card, PayPal).", "type": "string", "example": "string" }, "Description": { "description": "Description of the payment account.", "type": "string", "example": "string" }, "CustomerId": { "description": "The customer ID associated with the payment account.", "type": "string", "example": "500123" } } }