8.3.2 Pobranie profilu o podanym `cid`

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/axepta-api/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
"axepta API MCP server": {
  "url": "https://bump.sh/pgw/doc/axepta-api/mcp"
}
Close

Aby pobrać profil płatnika o przypisanym numerze cid, należy wysłać zapytanie GET, na adres:

https://api.axepta.pl/v1/merchant/{merchantId}/profile/cid/{cid}

gdzie:

  • merchantId - identyfikator klienta.
  • cid - identyfikator płatnika nadany przez akceptanta,

Treść odpowiedzi

{
    "status": "SUCCESS",
    "data": {
        "paymentProfiles": [
            {
                "id": "949058db-fe93-4d70-4384-96f7fc5728d2",
                "firstName": "Jan",
                "lastName": "Kowalski",
                "maskedNumber": "411111****1111",
                "month": "12",
                "year": "2029",
                "organization": "MASTERCARD",
                "isActive": 1,
                "profile": "RECURRING"
            },
            {
                "id": "949058db-ae07-4ce8-4d70-a1ea1f80b7c2",
                "firstName": "Jan",
                "lastName": "Kowalski",
                "maskedNumber": "411111****1111",
                "month": "12",
                "year": "2029",
                "organization": "MASTERCARD",
                "isActive": 1,
                "profile": "RECURRING"
            }
        ],
        "iqZ": "k9I"
    }
}