APIs
Below diagram shows APIs for each objects.
Merchant site | ||||||
● ● ● Cart page | ● ● ● Order review page | ● ● ● Order confirmation page ✔️ | ||||
Amazon Pay Hosted page | ||||||
Merchant | ||||||
Objects created during checkout | ||||||
Session initiated Checkout Session (checkoutSessionId) Get Checkout Session Update Checkout Session Complete Checkout Session | Order confirmation Charge Permission (chargePermissionId) Get Charge Permission Update Charge Permission Close Charge Permission Create Charge Authorization/ Settlement Charge (chargeId) Get Charge Cancel Charge Capture Charge | Refund Refund (refundId) Create Refund Get Refund |