{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/optimizely/main/json-schema/optimizely-insite-account-web-api-v1-api-models-account-payment-profile-collection-model-schema.json", "title": "Insite.Account.WebApi.V1.ApiModels.AccountPaymentProfileCollectionModel", "x-generated": "2026-10-12", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/optimizely-accounts-api-openapi.yml#/components/schemas/Insite.Account.WebApi.V1.ApiModels.AccountPaymentProfileCollectionModel", "type": "object", "properties": { "uri": { "type": "string" }, "accountPaymentProfiles": { "type": "array", "items": { "$ref": "#/$defs/Insite.Account.WebApi.V1.ApiModels.AccountPaymentProfileModel" } }, "pagination": { "$ref": "#/$defs/Insite.Core.WebApi.PaginationModel" }, "properties": { "type": "object", "additionalProperties": { "type": "string" } } }, "$defs": { "Insite.Account.WebApi.V1.ApiModels.AccountPaymentProfileModel": { "type": "object", "properties": { "uri": { "type": "string" }, "id": { "format": "uuid", "type": "string" }, "description": { "type": "string" }, "cardType": { "type": "string" }, "expirationDate": { "type": "string" }, "maskedCardNumber": { "type": "string" }, "cardIdentifier": { "type": "string" }, "cardHolderName": { "type": "string" }, "address1": { "type": "string" }, "address2": { "type": "string" }, "address3": { "type": "string" }, "address4": { "type": "string" }, "city": { "type": "string" }, "state": { "type": "string" }, "postalCode": { "type": "string" }, "country": { "type": "string" }, "isDefault": { "type": "boolean" }, "tokenScheme": { "type": "string" }, "securityCode": { "type": "string" }, "properties": { "type": "object", "additionalProperties": { "type": "string" } } } }, "Insite.Core.WebApi.PaginationModel": { "type": "object", "properties": { "currentPage": { "format": "int32", "type": "integer" }, "page": { "format": "int32", "type": "integer" }, "pageSize": { "format": "int32", "type": "integer" }, "defaultPageSize": { "format": "int32", "type": "integer" }, "totalItemCount": { "format": "int32", "type": "integer" }, "numberOfPages": { "format": "int32", "type": "integer" }, "pageSizeOptions": { "type": "array", "items": { "format": "int32", "type": "integer" } }, "sortOptions": { "type": "array", "items": { "$ref": "#/$defs/Insite.Core.WebApi.SortOptionModel" } }, "sortType": { "type": "string" }, "nextPageUri": { "type": "string" }, "prevPageUri": { "type": "string" }, "nextPageToken": { "type": "string" } } }, "Insite.Core.WebApi.SortOptionModel": { "type": "object", "properties": { "displayName": { "type": "string" }, "sortType": { "type": "string" } } } } }