---
title: multiTokenContexts
framework: passkit
role: symbol
role_heading: Instance Property
path: passkit/pkpaymentrequest/multitokencontexts
---

# multiTokenContexts

An array of payment token contexts to request multiple payment tokens with one payment token per context.

## Declaration

```swift
var multiTokenContexts: [PKPaymentTokenContext] { get set }
```

## Discussion

Discussion Use multitoken contexts to indicate payments for multiple merchants. This property is an array of PKPaymentTokenContext objects. The sum of all payment token contexts must be less than or equal to the grand total of the enclosing payment request listed as the last payment summary item, PKPaymentSummaryItem. Otherwise, the request results in a runtime error and cancels the payment request. important: You can’t use this property with recurringPaymentRequest or automaticReloadPaymentRequest properties. Simultaneous use of these properties results in a runtime error and cancels the payment request.

## See Also

### Requesting multitoken or multimerchant payments

- [PKPaymentTokenContext](passkit/pkpaymenttokencontext.md)
