Payments with Stripe API

Payments with Stripe API

1. Amasty\Stripe\Api\Quote\ApplePayGuestShippingMethodManagementInterface - class for managing shipping methods for guest users:
  1. POST /V1/guest-carts/:cartId/estimate-shipping-methods-apple-pay, method="estimateByExtendedAddress" - display the list of the shipping methods available for guests in Apple Pay;
  2. PUT /V1/guest-carts/:cartId/select-shipping-method-apple-pay, method="set" - choose a shipping method for guests in Apple Pay.

2. Amasty\Stripe\Api\Quote\ApplePayShippingMethodManagementInterface - class for managing shipping methods for registered users:
  1. POST /V1/carts/mine/estimate-shipping-methods-apple-pay, method="estimateByExtendedAddress" - display the list of the shipping methods available for registered customers in Apple Pay;
  2. PUT /V1/carts/mine/select-shipping-method-apple-pay, method="set" - choose a shipping method for registered customers in Apple Pay.
      • Related Articles

      • What Amasty extensions support API?

        Each Amasty extension that has API support, includes the etc/webapi.xml file. The webapi.xml file contains API configurations with the list of available API requests. For example, a request from the Custom Form module interface: 1 - endpoint URL; 2 - ...
      • Subscriptions & Recurring Payments API

        1. Amasty\RecurringPayments\Api\EstimateRecurringPaymentInterface POST /V1/amasty-recurring-payments/estimate-by-shipping-information, method="POST" - estimate the recurring payment by cart ID.
      • Store Pickup API

        1. Amasty\StorePickup\Api\GuestShippingMethodManagementInterface - class for managing shipping methods on guest checkout: POST /V1/guest-carts/:cartId/estimate-shipping-methods, method="estimateByExtendedAddress" - displays available shipping methods ...
      • Amazon Payment for Subscriptions & Recurring Payments API

        1. Amasty\RecurringAmazon\Api\BillingAgreementManagementInterface POST V1/amazon-recurring/save, method="validateAndSaveBillingAgreement" - validate and save billing agreement; POST /V1/amazon-recurring/save-and-place, ...
      • Reward Points API

        1. Amasty\Rewards\Api\CheckoutRewardsManagementInterface - class responsible for applying reward points on checkout: PUT /V1/carts/mine/points/:points, method="set" - apply points; DELETE /V1/carts/mine/points/delete, method="remove" - remove applied ...