Pobranie informacji o profilu na podstawie identyfikatora profilu Run in API Explorer

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://bump.sh/pgw/doc/imoje-api/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
"imoje API MCP server": {
  "url": "https://bump.sh/pgw/doc/imoje-api/mcp"
}
Close
GET /{merchantId}/profile/id/{paymentProfileId}

Path parameters

  • merchantId string Required

    Identyfikator klienta

  • paymentProfileId string(uuid) Required

    Identyfikator profilu jako UUID v4

    Maximum 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}$.

Responses

  • 200 application/json

    Zapytanie wykonane poprawnie

    Hide response attributes Show response attributes object
    • paymentProfile object

      Dane profilu kartowego

      Hide paymentProfile attributes Show paymentProfile attributes object
      • id string(uuid)

        Identyfikator profilu jako UUID v4

        Maximum 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}$.

      • merchantMid string

        Identyfikator klienta

      • merchantCustomerId string

        Identyfikator płatnika

      • firstName string

        Imię płatnika

      • lastName string

        Nazwisko płatnika

      • email string

        Adres e-mail płatnika w formacie zgodnym ze standardem RFC 5322 oraz RFC 6531.

      • maskedNumber string

        Częściowo zamaskowany numer karty płatnika

      • month string

        Ważność karty płatniczej - miesiąc

      • year string

        Ważność karty płatniczej - rok

      • organization string

        Organizacja karty płatniczej

      • isActive integer

        Status aktywności profilu kartowego. 1 - aktywny, 0 - nieaktywny

        Values are 0 or 1.

      • profile string

        Typ profilu kartowego.

        Values are ONE_CLICK or RECURRING.

      • firstTransactionId string

        Zewnętrzny identyfikator transakcji rejestrującej. Wymagany przy obciążaniu karty w płatnościach OneClick i rekurencyjnej bez profilu.

      • * string | integer | number | boolean | object | array Additional properties

        Dodatkowe parametry, które nie są opisane i mogą pojawić się w odpowiedzi w ramach rozwoju API.

        Twój schemat walidacyjny odpowiedzi API powinien zawsze dopuszczać nowe parametry.

    • * string | integer | number | boolean | object | array Additional properties

      Dodatkowe parametry, które nie są opisane i mogą pojawić się w odpowiedzi w ramach rozwoju API.

      Twój schemat walidacyjny odpowiedzi API powinien zawsze dopuszczać nowe parametry.

GET /{merchantId}/profile/id/{paymentProfileId}
curl \
 --request GET 'https://api.imoje.pl/v1/merchant/{merchantId}/profile/id/{paymentProfileId}' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "paymentProfile": {
    "id": "46f095b4-be6f-4ea0-8052-475ac8fbf218",
    "merchantMid": "rgfnb43ub57pry2nuc13",
    "merchantCustomerId": "yourMerchantCustomerId",
    "firstName": "John",
    "lastName": "Doe",
    "email": "john.doe@example.com",
    "maskedNumber": "****1111",
    "month": "12",
    "year": "2029",
    "organization": "MASTERCARD",
    "isActive": 1,
    "profile": "ONE_CLICK",
    "firstTransactionId": "MCC1111111111"
  }
}