Step 2: Get a list of payment options
Next, you can use the payment options endpoint to determine which payment
options can be shown at checkout for the combination of amount
, currency
, country
, cart_items
and metadata
should be displayed in your checkout.
The payment options API endpoint makes it easy to get a list of payment options.
This API will automatically use your checkout Flow rules to limit these results.
Each payment option will include the method
, icon_url
, label
and other useful information
on supported features that you can use to display the options on your checkout.
This API supports an optional locale
that can be set to get the label
in your local language.
Your application can now display these payment options on your checkout page. To display the available options and allow your customer to checkout, use each label and icon, and then handle the transaction according to the next step.
We recommend using Secure Fields when working with cards as it reduces the PCI scope of your integration. If you intend to use our API directly for card payments without Secure Fields then you will have to go through your own PCI-DSS level 1 certification.
By implementing the payment options in this way you can fully utilize payment orchestration while having all the flexibility on the design and layout.
Summary
In this step you:
- Called the payment options endpoint
- Displayed the payment options on your checkout
Was this page helpful?