action velopayments_list_payment_channel_rules_v1 { label: "List Payment Channel Country Rules" description: "List the country specific payment channel rules." provider: velopayments method: GET path: "/v1/paymentChannelRules" encoding: json output: { type: "object" properties: { bank: { type: "array" items: { type: "object" required: ["isoCountryCode", "rules"] properties: { isoCountryCode: { type: "string" description: "The ISO code for the country" } rules: { type: "array" description: "The rules for the given country" items: { type: "object" description: "Rules that will get applied when creating or updating a payment channel for the given country" required: ["displayName", "element", "required", "validation"] properties: { displayName: { type: "string" description: "User friendly name" } displayOrder: { type: "integer" } element: { type: "string" description: "
the rule element
\nwill match a given element name for a payment channel configuration\n" } maxLength: { type: "integer" description: "maximum length of the element data" } minLength: { type: "integer" description: "mininum length of the element data" } required: { type: "boolean" description: "is this element required" } validation: { type: "string" description: "a regex to validate the element data" } } } } } } } } } }