---
title: ApplePayPaymentTokenContext
framework: applepayontheweb
role: symbol
role_heading: Structure
path: applepayontheweb/applepaypaymenttokencontext
---

# ApplePayPaymentTokenContext

A dictionary that defines the context for a single payment token in a payment request for multimerchant payments.

## Declaration

```data
dictionary ApplePayPaymentTokenContext {
	required DOMString merchantIdentifier;
	required DOMString externalIdentifier;
	required DOMString merchantName;
	DOMString merchantDomain;
	required DOMString amount;
};
```

## Overview

Overview important: You must include the multiTokenContexts array in the ApplePayPaymentRequest object to request multimerchant payments. Use ApplePayPaymentTokenContext to authorize a payment amount for each payment token in a multimerchant payment request. To enable multiple merchants for a transaction, use one ApplePayPaymentTokenContext object for each merchant. You can optionally associate each payment token with the merchant’s top-level domain.

## Topics

### Specifying the merchant

- [merchantIdentifier](applepayontheweb/applepaypaymenttokencontext/merchantidentifier.md)
- [merchantName](applepayontheweb/applepaypaymenttokencontext/merchantname.md)
- [merchantDomain](applepayontheweb/applepaypaymenttokencontext/merchantdomain.md)
- [externalIdentifier](applepayontheweb/applepaypaymenttokencontext/externalidentifier.md)

### Indicating a payment amount

- [amount](applepayontheweb/applepaypaymenttokencontext/amount.md)

## See Also

### Requesting multitoken or multimerchant payments

- [multiTokenContexts](applepayontheweb/applepaypaymentrequest/multitokencontexts.md)
