8.3.3 Pobranie profilu kartowego o podanym `id`

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ć informację o profilu kartowym, należy wysłać zapytanie GET, na adres:

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

gdzie:

  • merchantId - identyfikator klienta.
  • paymentProfileId - identyfikator profilu kartowego,

Treść odpowiedzi


{
    "status": "SUCCESS",
    "data": {
        "paymentProfile": {
            "id": "addcabf2-5229-4d70-a175-67f7fc5728d1",
            "firstName": "Jan",
            "lastName": "Kowalski",
            "maskedNumber": "411111****1111",
            "month": "12",
            "year": "2029",
            "organization": "MASTERCARD",
            "isActive": 1,
            "profile": "RECURRING"
        },
        "qtt": "GHb"
    }
}