Peek Pro icon

Peek Pro

Build workflows with Peek Pro

Booking → Refund Payment

AI-generated

Summary

Refunds a specified payment on a booking by sending the payment ID, amount, currency, idempotency key, and live-mode setting to the booking refund endpoint. With Live Mode off (the default), the node requests a dry run; turn it on to make a real refund.

Inputs

  • Booking ID (required) — The booking to refund, for example b_jgmxry8 or B-JGMXRY8.
  • Payment ID (required) — The payment to refund; it must start with pmt_.
  • Amount (required) — Refund amount as a string, for example 1.00.
  • Currency (required) — Three-letter uppercase currency code; defaults to USD.
  • Idempotency Key (required) — Unique key used to prevent duplicate refunds.
  • Live Mode — Whether to make a real refund. Defaults to false, which requests a dry run.
  • Request Options — Optional request settings for batching, SSL certificate validation, proxy, and timeout.

Output shape

A single response item from the Peek Pro refund endpoint.

The source configures a POST to /bookings/{bookingId}/refund with the payment ID, amount, currency, idempotency key, and live-mode value in the body. The response fields are not specified.

Links

Discussion