Displaying only specific payment methods
Overview
When using Payment Page,you can hide the payment methods that are available within the current project but not relevant for a specific payment due to region- or customer-specific reasons and other factors. Once you do so, the payment method selection shows to the customer only those methods you want the customer to see.
For filtering out particular payment methods within a single Payment Page session, specify the hide
parameter in the request for opening Payment Page. The value of this parameter is the code of the method to be hidden. If there is more than one method specified, the values should be separated by a comma. The list of codes for the supported payment methods is provided in IDs of payment methods supported by Payment Page. No additional actions are required for setting up this functionality.
The following example illustrates the parameters passed in the request for executing a payment with the UPI and Skrill payment methods excluded from the list of methods available for the customer within this payment.
{ "project_id": 43, "payment_id": "456790", "payment_currency": "USD", "payment_amount": 131970, "customer_id": "customer_12", "hide": "upi, skrill-wallet", // codes of the payment methods to be hidden "signature": "TSzdE5rJZaA9TYAKoGpfXriFf82MxF..." }
Related links
- IDs of payment methods supported by Payment Page—the reference section with the list of identifiers of the supported payment methods.
- Preselecting payment methods—the section about selecting a particular payment method for making a payment.
- Payment methods—the section about the payment methods that are supported by the payment platform.
- Payment Page invocation parameters—the section about parameters used for opening Payment Page.