Wykonanie zwrotu płatności 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/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
POST /merchant/{merchantId}/payment/{paymentId}/refund

Path parameters

  • merchantId string Required

    Identyfikator klienta

  • paymentId string(uuid) Required

    Identyfikator transakcji 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}$.

application/json

Body Required

  • type string Required

    Typ akcji

    Value is refund.

  • serviceId string(uuid) Required

    Identyfikator sklepu 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}$.

  • amount integer Required

    Kwota transakcji w najmniejszej jednostce waluty np. grosze

POST /merchant/{merchantId}/payment/{paymentId}/refund
curl \
 --request POST 'https://api.axepta.pl/v1/merchant/{merchantId}/payment/{paymentId}/refund' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"type":"refund","serviceId":"000eec9b-7248-4dae-98f2-56aab6a53927","amount":100}'
Request example
{
  "type": "refund",
  "serviceId": "000eec9b-7248-4dae-98f2-56aab6a53927",
  "amount": 100
}