action payments_get_all_refunds_for_a_payment { label: "Get all refunds for a payment" description: "Return refunds for a payment. The Authorisation token needs to be specified in the 'authorization' header as 'authorization: Bearer YOUR_API_KEY_HERE'" provider: payments method: GET path: "/v1/payments/{paymentId}/refunds" encoding: json input: { type: "object" properties: { paymentId: { type: "string" } } required: ["paymentId"] additionalProperties: false } output: { type: "object" additionalProperties: true } }