List payment methods enabled for the merchant
curl --request GET \
--url https://merchant.zahlo.eu/api/v1/payment-methods \
--header 'x-api-key: <api-key>'import requests
url = "https://merchant.zahlo.eu/api/v1/payment-methods"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://merchant.zahlo.eu/api/v1/payment-methods', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"currency": "EUR",
"methods": [
{
"type": "card",
"enabled": true
},
{
"type": "bank",
"enabled": true
}
]
}{
"error": "invalid_request",
"message": "amountMinor must be positive",
"requestId": "req_demo_1001"
}{
"error": "invalid_request",
"message": "amountMinor must be positive",
"requestId": "req_demo_1001"
}{
"error": "invalid_request",
"message": "amountMinor must be positive",
"requestId": "req_demo_1001"
}{
"error": "invalid_request",
"message": "amountMinor must be positive",
"requestId": "req_demo_1001"
}Payments
List payment methods enabled for the merchant
List payment methods enabled for the merchant. Use the response status and request ID to decide whether to retry, reconcile, or ask the customer for action.
GET
/
api
/
v1
/
payment-methods
List payment methods enabled for the merchant
curl --request GET \
--url https://merchant.zahlo.eu/api/v1/payment-methods \
--header 'x-api-key: <api-key>'import requests
url = "https://merchant.zahlo.eu/api/v1/payment-methods"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://merchant.zahlo.eu/api/v1/payment-methods', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"currency": "EUR",
"methods": [
{
"type": "card",
"enabled": true
},
{
"type": "bank",
"enabled": true
}
]
}{
"error": "invalid_request",
"message": "amountMinor must be positive",
"requestId": "req_demo_1001"
}{
"error": "invalid_request",
"message": "amountMinor must be positive",
"requestId": "req_demo_1001"
}{
"error": "invalid_request",
"message": "amountMinor must be positive",
"requestId": "req_demo_1001"
}{
"error": "invalid_request",
"message": "amountMinor must be positive",
"requestId": "req_demo_1001"
}Authorizations
Server-side merchant API key. Never expose it in browser code.
Query Parameters
Three-letter currency code for the checkout.
Required string length:
3Example:
"EUR"
Checkout amount in minor units.
Required range:
x >= 1Example:
4990
Customer billing country used for eligibility.
Required string length:
2Example:
"DE"
Checkout mode used for capability filtering.
Available options:
hosted, embedded