Payment method model
{ "active": true, "code": "string", "currencies": ["string"], "description": "string", "id": 0, "maximumAmount": 0, "minimumAmount": 0, "name": "string", "processingPaymentMessage": "string", "redirectRequired": true, "redirectURL": "string", "requiredFields": [ { "displayName": "string", "fieldType": "DATE", "name": "string", "optional": true } ]}| Field | Type | Description |
|---|---|---|
active | boolean | Whether the payment method is currently active |
code | string | The unique code assigned to the payment method (e.g. PZW211) — see Payment Method Codes |
currencies | array | Currencies this method accepts |
description | string | Description of the payment method |
maximumAmount | number | Maximum transactable amount for this method |
minimumAmount | number | Minimum transactable amount for this method |
name | string | The payment method’s name |
processingPaymentMessage | string | Message to display while the transaction is processing |
redirectRequired | boolean | Whether this method requires a redirect to complete |
redirectURL | string | The redirect URL, when redirectRequired is true |
requiredFields | array | Fields you must collect and send in paymentMethodRequiredFields for the seamless flow. fieldType is one of DATE, FILE, NUMBER, or TEXT |
Returned by Get Payment Methods by Currency.
Build your seamless-flow forms from requiredFields dynamically instead of
hardcoding fields per method.