Apple Pay merchant session
POST
/v1/apple-pay/merchant-session
Retrieves the Merchant Session signed by Apple to start the Apple
Pay flow in the browser. The return value is passed to
session.completeMerchantValidation(...) of the ApplePaySession.
The `external-id` header is required
Contrary to what an earlier version of this page stated,
this endpoint requires the external-id header — in addition to the
external_id field in the body. Send both with the same value. Without the header,
the request fails with a missing parameter.
Request Body
application/json
JSON "store_url": "checkout.minhaloja.com.br", "external_id": "37bb0791-ee0b-457d-860c-186e32978bcd"
{
}
Responses
Merchant Session returned (opaque to the integrator).
application/json
POST
/v1/apple-pay/merchant-session