Add Gift Cards
The "Add gift card" endpoint enables customers to attach a gift card to their account so it can be applied as a payment method on the current order. The request validates the gift card code (and PIN if required) against the configured gift card provider and returns the available balance. When asPaymentMethod is set to true, the gift card amount is automatically deducted from the order total, and any remaining amount can be paid with another payment method.
{% openapi-schemas spec="scayle-checkout-api" schemas="errorResponse,errors" grouped="true" %} OpenAPI scayle-checkout-api {% endopenapi-schemas %}