> For the complete documentation index, see [llms.txt](https://wiki.theshop.dev/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.theshop.dev/docs/frontstore/basic-selling-flow/shipping-and-payment.md).

# Shipping and payment

Shipping and payment is the second of the three steps in the final order sequence:

1. Shopping cart (Basket)
2. **Shipping and payment**
3. Checkout

After you have items in the Shopping cart, Shipping and payment section should be filled.

The following sections must be filled in a sequence:

1. [Shipping country](#1.-shipping-country)
2. [Shipping method](#2.-shipping-method)
3. [Payment method](#3.-payment-method)

## 1. Shipping country

First of all, the shipping country must be selected and provided for next API calls. You can offer a list of countries, or set a default one.

[This API call](https://demo.theshop.dev/api-documentation/v1#/shipping/5c85a67a1f17a27ac9290247289ab91a) returns a list of available shipping countries.

<figure><img src="/files/mRGlD9F21uHkF9l7YvmU" alt=""><figcaption><p>List of shipping countries</p></figcaption></figure>

## 2. Shipping method

After selecting the Shipping country, you can get the list of available shipping types.

[This API call](https://demo.theshop.dev/api-documentation/v1#/shipping/ecaafb146d443b2c82875308075b40d0) returns all active shipping types defined for shipping country.

<figure><img src="/files/kPLykiyiWe5JbFswuGfh" alt=""><figcaption><p>List of shipping methods (types)</p></figcaption></figure>

## 3. Payment method

#### List all available payment methods

[This API call](https://demo.theshop.dev/api-documentation/v1#/shipping/3124198ebd70c61cd0b0038d4caee801) returns all payment types for selected shipping country, shipping type, catalog, and currency.

#### Provide only available payment types

After selecting the Shipping type, you can provide only available payment types.

[This API call](https://demo.theshop.dev/api-documentation/v1#/shipping/297922f6da5e98fa8e329daf21d2cac0) returns all available payment types for shipping country.

<figure><img src="/files/F2XuGcA41zonNkxyA7QS" alt=""><figcaption><p>List of payment methods on the right side</p></figcaption></figure>
