Cancel a payment link 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/cancel

Path parameters

  • merchantId string Required

    Client identifier

application/json

Body Required

  • serviceId string(uuid) Required

    Store identifier as 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}$.

  • paymentId string(uuid) Required

    Payment link identifier

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

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