# Overview


There are two types of payment checkout on Zid and the provider will choose based on their preference;
1. **Direct payment:** Zid will draw the payment form, then collect and submit the card info using an API, exposed by the provider, through a call made directly from the client side.
2. **Embedded payment:** The provider will provide a JavaScript library that draws the payment form and submits the card info then provides Zid with a token. These actions (drawing the form, submitting the form) will be through functions in the JavaScript library / plugin.
