Download a receipt Beta

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://developer.pace.cloud/doc/payment/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "Payment MCP server": {
    "url": "https://developer.pace.cloud/doc/payment/mcp"
  }
}

Close
GET /2026-4/receipts/{receiptId}/download

Redirects to a temporary download URL for the given receipt. The identifier is the one the payment transaction carries in its receipt.id property.

A receipt that was never generated and one that does not exist are the same absence here, and both answer 404.

Headers

  • Accept string

    Determines the file type of the download. If the requested media type is not supported, a 406 Not Acceptable response is returned.

Path parameters

  • receiptId string(uuid) Required

    The unique identifier of the receipt to download.

Responses

  • 302

    Redirects to the receipt download URL.

  • 400

    The request parameters are invalid or missing.

  • 401

    Client authentication failed.

  • 403

    Missing one or more required scopes.

  • 404

    The receipt was not found.

  • 406

    The requested media type is not supported.

  • 409

    The receipt has not been generated yet.

  • 500

    An internal server error occurred.

GET /2026-4/receipts/{receiptId}/download
curl \
 --request GET 'https://api.pace.cloud/payment/2026-4/receipts/9b4d1a02-0f4c-4a0a-9e4d-2f8a3c6b1d55/download' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Accept: image/png, image/*;q=0.9"