{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/PaymentMethodResponse",
"title": "PaymentMethodResponse",
"properties": {
"_links": {
"description": "Pagination references.",
"$ref": "#/components/schemas/PaginationLinks"
},
"data": {
"description": "The list of supported payment methods and their details.",
"items": {
"$ref": "#/components/schemas/PaymentMethod"
},
"type": "array"
},
"itemsTotal": {
"description": "Total number of items.",
"format": "int32",
"type": "integer"
},
"pagesTotal": {
"description": "Total number of pages.",
"format": "int32",
"type": "integer"
},
"typesWithErrors": {
"description": "Payment method types with errors.",
"items": {
"enum": [
"afterpaytouch",
"alipay",
"alipay_hk",
"amex",
"applepay",
"bcmc",
"blik",
"cartebancaire",
"clearpay",
"cup",
"diners",
"directdebit_GB",
"discover",
"ebanking_FI",
"eftpos_australia",
"elo",
"elocredit",
"elodebit",
"girocard",
"googlepay",
"hiper",
"hipercard",
"ideal",
"interac_card",
"jcb",
"klarna",
"klarna_account",
"klarna_paynow",
"maestro",
"mbway",
"mc",
"mcdebit",
"mealVoucher_FR",
"mobilepay",
"multibanco",
"onlineBanking_PL",
"paybybank",
"paypal",
"payshop",
"swish",
"trustly",
"twint",
"twint_pos",
"vipps",
"visa",
"visadebit",
"vpay",
"wechatpay",
"wechatpay_pos"
],
"type": "string"
},
"type": "array"
}
},
"required": [
"itemsTotal",
"pagesTotal"
],
"type": "object"
}