Recipes
🦉
Checkout
Open Recipe

Using the get-payment-methods endpoint will allow you to query payment methods used prior by a guest. The returned payment methods can be chosen from by the user. The one they use should have it's id sent along with the checkout request.

Payment Method object

AttributeTypeDescription
idstringid of the payment method
last4stringlast 4 digits of the card number
exp_monthstringmonth of expiration date
exp_yearstringyear of expiration date
brandstringBrand of the card
defaultbooleanThis is true if it is the guest's saved default card.
Language
Authentication
Basic
base64
:
Click Try It! to start a request and see the response here!