Definition
https://sandbox.bluesnap.com/services/2/tools/payment-methods-info
Documentation
With this request, you retrieve to retrieve the payment methods available to the shopper based on the following:
- Shopper country
- Shopper currency
- Activated payment methods in the merchant account console
Request Content
Send a POST request to:
- Sandbox: https://sandbox.bluesnap.com/services/2/tools/payment-methods-info
- Production: https://ws.bluesnap.com/services/2/tools/payment-methods-info
with the following properties:
<th>
Type
</th>
<th>
Required
</th>
<th>
Description
</th>
</tr>
<td>
*string*
</td>
<td>
Yes
</td>
<td>
Shopper's country
</td>
</tr>
<tr>
<td>
`currency`
</td>
<td>
*string*
</td>
<td>
Yes
</td>
<td>
Shopper's currency, using the [supported currency codes](https://support.bluesnap.com/docs/currencies)
</td>
</tr>
| Property |
|---|
| `country` |
Errors
If the request fails, the API returns an HTTP 400 response, with the following information:
<th>
Name
</th>
<th>
Error Description
</th>
</tr>
<td>
NO\_PAYMENT\_METHODS
</td>
<td>
There are no payment methods available for this shopper.
</td>
</tr>
| Code |
|---|
| 22020 |
Response Content
If successful, the response HTTP status code is 200 OK.
The response includes the supportedPaymentMethods or supported-payment-method object, with the following properties:
<th>
Type
</th>
<th>
Description
</th>
</tr>
<td>
*String*
</td>
<td>
Payment method short name, such as:
* `CC`
* `WIRE`
* `ECP`
* `SEPA_DIRECT_DEBIT`
</td>
</tr>
<tr>
<td>
`paymentMethodDisplayName`\
`payment-method-display-name`
</td>
<td>
*String*
</td>
<td>
Payment method full name, such as:
* `Credit Card`
* `Wire Transfer`
* `Electronic Check Presentment`
* `SEPA Direct Debit`
</td>
</tr>
<tr>
<td>
`supportedTypes`\
`supported-type`
</td>
<td>
*String*
</td>
<td>
This is only included if there is more than one type for a payment method. For example, `Credit Card` could include:
* `VISA`
* `MASTERCARD`
* `AMEX`
</td>
</tr>
| Property |
|---|
| `paymentMethodCodeName` `payment-method-code-name` |
{`
