Sign in

Add reservation payment

documented

Adds a payment for a reservation. You may not pass customer's credit card numbers in any fields.

Reservationsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://www.planyo.com/rest/" \
  -X POST \
  -H "Accept: application/json" \
  -H "Content-Type: application/x-www-form-urlencoded" \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -d "method=add_reservation_payment&api_key={{PLANYO_API_KEY}}&reservation_id={{$reservation_id}}&reservation_ids={{$reservation_ids}}&payment_mode={{$payment_mode}}&payment_status={{$payment_status}}&transaction_id={{$transaction_id}}&amount={{$amount}}&currency={{$currency}}&payment_time={{$payment_time}}&is_quiet={{$is_quiet}}&extra_info={{$extra_info}}&language={{$language}}&hash_timestamp={{$hash_timestamp}}&hash_key={{$hash_key}}"