process_payment
Process payment transactions for movie bookings by submitting booking ID, payment method, and amount to complete ticket purchases.
Instructions
Handles simulated payment transaction.
Args: booking_id: Booking ID from book_seats payment_method: Payment method (e.g., "card", "cash") amount: Payment amount in USD
Returns: JSON string with payment confirmation and receipt
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| booking_id | Yes | ||
| payment_method | Yes | ||
| amount | Yes |
Input Schema (JSON Schema)
{
"properties": {
"amount": {
"type": "number"
},
"booking_id": {
"type": "string"
},
"payment_method": {
"type": "string"
}
},
"required": [
"booking_id",
"payment_method",
"amount"
],
"type": "object"
}