Pobranie dostępnych metod płatności Run in API Explorer
Ask AI
Zapytanie umożliwia pobranie dostępnych metod płatności
Path parameters
-
Identyfikator klienta
-
Identyfikator sklepu jako
UUID v4Maximum length is
36. Format should match the following pattern:^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$.
Body
Required
-
Kwota transakcji w najmniejszej jednostce waluty np. grosze.
-
Waluta transakcji w standardzie
ISO 4217Maximum length is
3. Values arePLN,EUR,USD,GBP,CHF,SEK,HUF,CZK,BGN, orRON. -
Urządzenie, dostępne wartości:
desktop,mobileValues are
desktopormobile. -
Maximum length is
2. Values arepl,en,cs,de,es,fr,it,lt,ru,sk,sl,uk,nl,hu,ro,bg, orsv.
POST
/{merchantId}/service/{serviceId}/get-payment-methods
curl \
--request POST 'https://api.imoje.pl/v1/merchant/{merchantId}/service/{serviceId}/get-payment-methods' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"amount":100,"device":"desktop","locale":"pl","currency":"PLN"}'
Request example
{
"amount": 100,
"device": "desktop",
"locale": "pl",
"currency": "PLN"
}
Response examples (200)
[
{
"image": [
{
"png": "https://data.imoje.pl/img/pay/blik.png"
}
],
"label": "Płatność BLIK",
"channels": [
{
"image": [
{
"png": "https://data.imoje.pl/img/pay/blik.png"
}
],
"label": "Płatność BLIK",
"isOnline": true,
"priority": 1,
"paymentMethod": "blik",
"paymentMethodCode": "blik"
}
],
"isOnline": true,
"priority": 1
}
]