Gives a list of all the payment methods available for your account.
Outage information is received realtime from the recent transactions at merchant account level and Juspay global level
Outage has two levels FLUCTUATE and DOWN. These are configurable at the merchant account level
A list (array) of Payment Methods is returned, along with optional lists (arrays) for payment methods that support a given type, as selected by the Query Parameters. (click to view)
If a Query option is selected for listing payment methods with supported Gateway Reference IDs or Direct Wallet Debit support, the result is shown in the payment_methods array, as marked by the extra parameters below.
If a Query option is selected for listing payment methods that support Emandates, Outages, or Third-Party Validation (TPV), the result is listed in a separate array, as shown below.
Optionally includes extra parameters for payment methods with
Supported Gateway Reference IDs and payment methods that
support Direct Wallet Debit (see table below for parameters).
Each element in a payment_methods array is a Payment Method Object. Same object is used in arrays listing payment methods that support a given type.
Must be either CARD, NB, WALLET. Or UPI
The actual payment method that was selected by the user.
Bank associated with payment method (or card type)
These extra parameters are returned with the Payment Method Object when listing payment methods of certain types:
Optionally included in the "payment_methods" list. Returns 'true' or 'false' only when "payment_method_type" = "WALLET"
Array of Strings
Optionally included in the "payment_methods" list. Only used for payment methods with supported gateway reference IDs
Only used when listing the payment methods with outages. Examples: "DOWN", "FLUCTUATE"
Only used when listing the payment methods with outages. By using juspay_bank_code as a look-up, a merchant can determine whether a payment method has outage or not.
The request consists of a Path Parameter (merchant_id), and optional Query Parameters, as listed below:
Click Try It! to start a request and see the response here!