Skip to main content
POST
Complete Apple Pay Order

Overview

Completes the checkout in a single call after the buyer authorizes payment in the Apple Pay sheet. Apple Pay has no separate start or authorize step — once merchant validation succeeds and the buyer authorizes, the client submits the PKPaymentToken and contact details here, and Firmly authorizes and places the order.
Apple Pay is enabled per merchant. Check the cart’s payment_method_options array for { "type": "ApplePay", "wallet": "apple_pay", "config": { ... } } before offering Apple Pay; config carries country_code, supported_networks and merchant_capabilities for the ApplePayPaymentRequest. The merchant must be validated first via Validate Apple Pay Merchant.

Authentication

string
required
Device authentication token from Browser Session

Path Parameters

string
required
The merchant domain (e.g., “merchant.example.com”)

Request Body

object
required
Apple Pay payment attributes

Response

Returns the order confirmation object.
string
Unique identifier for the cart
string
The order number from the merchant platform
string
Status of the cart (e.g., “submitted”)
object
Relevant URLs for the order
array
Array of items in the order
object
Delivery address details
object
Billing address details
object
Summary of the Apple Pay payment
object
Grand total including all costs

Code Example

Response Example

Error Responses