Peek Pro icon

Peek Pro

Build workflows with Peek Pro

Booking → Make Payment

AI-generated

Summary

Charges a saved payment source against a booking by sending the booking ID, payment source ID, amount, currency, idempotency key, live-mode flag, and optional customer message in a POST request. With Live Mode off (the default), the request is a dry run and makes no charge.

Inputs

  • Booking ID (required) — The booking to charge; accepts an ID such as b_jgmxry8 or B-JGMXRY8.
  • Payment Source ID (required) — The saved payment source to charge; must start with ps_.
  • Amount (required) — The amount to charge, entered as a string such as 50.00.
  • Currency (required) — A three-letter uppercase currency code; defaults to USD.
  • Idempotency Key (required) — A unique key used to prevent duplicate charges.
  • Live Mode — Defaults to false, which runs a dry run without charging. Set true to make a real charge.
  • Customer Message — Optional message appended to the charge description.
  • Request Options — Optional HTTP request settings, including batching, SSL certificate validation, proxy, and timeout.

Output shape

A single response item from the Peek Pro API.

The operation posts to the booking's makePayment endpoint. The source does not specify the response fields or whether the API response is wrapped.

Links

Discussion