# Wyszukiwanie płatności po zewnetrznych identyfikatorach Wyszukiwanie płatności po zewnętrznych identyfikatorach. Przeszukiwane są wyłącznie płatności związane z merchantem, dla którego wydano token dostępowy. Zwracana jest lista identyfikatorów paymentId. Tylko jedna z płatnośćci może być zakończona sukcesem. Powinna być zwracana na pierwszej pozycji. Endpoint: POST /v1/ecommerce/payment/search Version: 2.1.15 Security: bearerAuth ## Request fields (application/json;charset=UTF-8): - `extOrderId` (string, required) Identyfikator zamowienia z systemu merchanta - `merchant` (object,null) Dane merchanta pośredniczącego (operator aplikacji mobilnej) - `merchant.merchantId` (string, required) Identyfikator merchanta nadany przez operatora płatności (MID) - `merchant.name` (string,null) Nazwa merchanta - `merchant.mcc` (string,null) MCC - `merchant.url` (string,null) Adres URL sklepu - `merchant.redirectURL` (string,null) Adres URL przekierowania - `merchant.terminalId` (string,null) Id terminala - `merchant.location` (object,null) Adres merchanta - `merchant.location.street` (string, required) Adres (ulica i numer domu) - `merchant.location.postal` (string, required) Kod pocztowy - `merchant.location.state` (string) Województwo (kod ISO 3166-2 np. 12 dla województwa małopolskiego Example: "12" - `merchant.location.city` (string, required) Miasto - `merchant.location.country` (string, required) Kraj (kod ISO np. PL) Example: "POL" - `merchant.location.countryOfOrigin` (string) Kraj pochodzenia (kod ISO np. PL) Example: "POL" - `merchant.taxId` (string,null) Nip - `merchant.acsNotificationURL` (string,null) Adres publicznego endpointu do odebrania notyfikacji CRes z ACS (jezeli obslugiwany przez merchanta) - `merchant.amexMerchantId` (string,null) Id merchanta dla płatności AMEX - `merchant.dpaId` (string,null) - `merchant.organizationId` (string,null) - `merchant.merchantName` (string,null) Nazwa merchanta - `agent` (object,null) Dane merchanta pośredniczącego (operator aplikacji mobilnej) ## Response 200 fields (*/*): - `payments` (array) Identyfikator płatności w systemie operatora płatności ## Response 400 fields ## Response 401 fields ## Response 403 fields ## Response 500 fields