> For the complete documentation index, see [llms.txt](https://docs.podplay.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.podplay.app/payments/virtual-credits/using-credits-with-bill-splitting.md).

# Using Credits with Bill Splitting

### Overview

When a Customer uses Credits and invites friends to split the bill, three rules govern how Credits behave:

1. Credits can be used by the Reservation holder to pay for their spot or portion of the bill.
2. If a Free Invite is sent, Credits apply to the invitee's spot or portion of the bill. This applies only to the Court+ pricing strategy, not the Spot+ pricing strategy.
3. If more Credits were used to book the Reservation than are needed for the Reservation Holder's portion, the extra Credits are returned to the Reservation Holder once the bill settles. The examples below walk through each case.

#### Situation 1: Credits applied to the Reservation Holder

Customer A books a $20 Reservation for two people and uses $10 in Credits during the booking flow. Customer A has a $10 hold on their credit card (CC), the remaining cost of the Reservation. Customer A invites Customer B, who has a $10 hold on their CC for half of the Reservation. When the Reservation is over:

* Customer A has no charge on their CC (the hold is released)
* Customer B is charged $10 for half of the Reservation

#### Situation 2: Credits applied and returned to the Reservation Holder

Customer A books a $40 Reservation for four people and uses $30 in Credits during the booking flow. Customer A has a $10 hold on their CC, the remaining cost of the Reservation. Customer A invites Customers B, C, and D and does not want to pay for their spots. Customer B has $10 in Credits and uses them to accept the invitation and pay their 1/4 portion. Customers C and D have no Credits and each have a $10 hold on their CC for the remaining half of the Reservation. When the Reservation is over:

* Customer A has no charge on their CC and has $20 in Credits returned to their Profile
* Customer B has their Credits reduced by $10
* Customers C and D each pay $10 with their CC on file

#### Situation 3: Credits apply to a Free Invitation for 2 players

Customer A books a $20 Reservation for two people and uses $15 in Credits during the booking flow. Customer A has a $5 hold on their CC, the remainder of the Reservation's cost. Customer A invites Customer B for Free (pays for their spot), so Customer B has no hold on their CC. When the Reservation is over:

* Customer A has a $5 charge on their CC
* Customer B is not charged anything

#### Situation 4: Credits apply to a Free Invitation for 4 players

Customer A books a $40 Reservation for four people and uses $30 in Credits during the booking flow. Customer A has a $10 hold on their CC, the remaining cost of the Reservation. Customer A wants to pay for their friends' spots and sends a Free Invite to Customers B, C, and D. Customers B, C, and D have no hold on their CC. When the Reservation is over:

* Customer A has a $10 charge on their CC
* Customers B, C, and D are not charged anything

#### Situation 5: Credits returned to the Reservation Holder

Customer A books a $20 Reservation for two people and uses $15 in Credits during the booking flow. Customer A has a $5 hold on their CC, the remainder of the Reservation's cost. Customer A invites Customer B, who has a $10 hold on their CC for half of the Reservation. When the Reservation is over:

* Customer A has no charge on their CC (the $5 hold is released) and has $5 in Credits returned to their Profile
* Customer B is charged $10 for half of the Reservation


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.podplay.app/payments/virtual-credits/using-credits-with-bill-splitting.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
