# CheckoutBinding

CheckoutBinding in go.provenanceauth.com/verify (Go), Verifiers. CheckoutBinding normalizes a merchant's order record into the exact object a cart-bound intent token's payload_hash covers (a port of checkoutBinding in @provenanceauth/rails/checkout): binding v1, the rich cart (v2: variants, pictures, adjustments, fulfillment, return policy) and 's v3, the merchant's declared MCC and country (merchant.mcc, four digits; merchant.country, the ISO 3166-1 numeric code) and each line's service_period (start and end, a date or a date-time with an offset, kept exactly as given).

## Signature

```ts
provenanceverify.CheckoutBinding(order map[string]any) (map[string]any, error)
```

## Parameters

- `order` (map[string]any)

## Returns

`(map[string]any, error)`

Runs locally, with no request to the API.
