# PurchasePathRequest

A Purchase Path request defines the parameters for a Purchase Path fetch.

- `url`  
  A merchant URL to a product, category or just the homepage.

#### Declaration

- `pubRef`  
  An optional token to be associated with all downstream orders, transactions and webhooks. (Max 100 chars.)

#### Declaration

- `placementId`  
  An optional description of the instance of a button that triggers this request.

#### Declaration

- `offerId`  
  The Button-provided identifier for the offer backing this Purchase Path request.

#### Declaration

- `init(url:)`  
  Initializes a Purchase Path request for a given merchant URL.

#### Declaration

#### Parameters

|     |     |
| --- | --- |
| `url` | A merchant URL to a product, category or just the homepage. |

#### Return Value

A new Purchase Path request.
