Commerce

refundPayment

Refund Payment

Refund ONE settled payment (a paymentId from listPayments) back to the payer's card: in full, or a partial amountMinor.

writedestructiveconsentexternal

Ask Claude, ChatGPT, Cursor or any AI connected to The Cloud "refund that $70 payment", and it calls refundPayment.

Example call

The MCP tools/call params, with the required arguments only.

{
  "arguments": {
    "confirm": true,
    "idempotencyKey": "<idempotencyKey>",
    "paymentId": "<paymentId>"
  },
  "name": "refundPayment"
}

Arguments

Returns

Idempotent per idempotencyKey: reuse the SAME key when retrying one refund (the retry returns the refund already made), and a NEW key for a genuinely new refund.

Declared limits

Ask for it

The Cloud routes these requests to this verb.

Pair it with

The verbs that finish the job.

Questions

Connect

One endpoint gives your AI this tool and every other one: connect Claude, ChatGPT, Cursor or Gemini, read what The Cloud is, or see pricing.