# Payment Plans

Reference for the payment plan endpoints, covering how to create, retrieve, list, update, and delete a schedule that defines how often and how much a gateway collects.

> **Important:** Our solution for repeat payments is very flexible and uses the Payment Plans, Secure Tokens, and Subscriptions endpoints. To help you understand how it works, we recommend that you go to [Repeat Payments](/knowledge/payments/repeat-payments).

Use our Payment Plans endpoints to create payment schedules that you can later assign customers to using our

Subscriptions

endpoints. A

payment plan

includes information about:

- How often our gateway collects a payment.
- How many payments our gateway collects.
- How much our gateway collects for each payment.

When you [create a payment plan](/api/create-payment-plan), you generate and include a paymentPlanId that you use to complete follow-on actions:

- [Retrieve the payment plan](/api/get-payment-plan) - View the details of a payment plan. If you don't have the paymentPlanId you can use our [List Payment Plans](/api/list-payment-plans) method.
- [Update the payment plan](/api/update-payment-plan) - Update the details of a payment plan, including the frequency or amount.
- [Delete the payment plan](/api/delete-payment-plan) - Delete the payment plan.

After you create the payment plan, use the [Subscriptions endpoint](/api/resources/subscriptions) to assign customers to the payment plan.
