# prov.authorize.checkoutApprovals

prov.authorize.checkoutApprovals in the Node SDK: 11 methods. The authorize.checkoutApprovals methods.

## Methods

### [create](https://provenanceauth.com/docs/sdks/node/authorize-checkout-approvals/create.md)

```ts
prov.authorize.checkoutApprovals.create(params: CreateCheckoutApprovalParams): Promise<CheckoutApproval>
```

Create a cart approval (201; 200 with `deduped` when your customer already has one pending).

Calls `POST /v1/authorize/checkout_approvals`.

### [spcChallenge](https://provenanceauth.com/docs/sdks/node/authorize-checkout-approvals/spc-challenge.md)

```ts
prov.authorize.checkoutApprovals.spcChallenge(params: { cart: Record<string, unknown> }): Promise<{ object: "spc_challenge"; challenge: string; expiresAt: string; rpId: string }>
```

A single-use Secure Payment Confirmation challenge bound to this exact cart.

Calls `POST /v1/authorize/checkout_approvals/spc_challenge`.

### [list](https://provenanceauth.com/docs/sdks/node/authorize-checkout-approvals/list.md)

```ts
prov.authorize.checkoutApprovals.list(params?: { limit?: number; cursor?: string; status?: CheckoutApprovalStatus }): Promise<ListResponse<CheckoutApproval>>
```

Your account's cart approvals, newest first.

Calls `GET /v1/authorize/checkout_approvals`.

### [get](https://provenanceauth.com/docs/sdks/node/authorize-checkout-approvals/get.md)

```ts
prov.authorize.checkoutApprovals.get(id: string): Promise<CheckoutApproval>
```

One cart approval: its status and, once approved, the token and what you learn about the approver.

Calls `GET /v1/authorize/checkout_approvals/{id}`.

### [remind](https://provenanceauth.com/docs/sdks/node/authorize-checkout-approvals/remind.md)

```ts
prov.authorize.checkoutApprovals.remind(id: string, opts?: { channel?: ReminderPinChannel; idempotencyKey?: string }): Promise<Reminder>
```

Remind your customer about a pending cart approval (201): the first message again, marked as a reminder, with a fresh link (the first link keeps working).

Calls `POST /v1/authorize/checkout_approvals/{id}/reminders`.

### [listReminders](https://provenanceauth.com/docs/sdks/node/authorize-checkout-approvals/list-reminders.md)

```ts
prov.authorize.checkoutApprovals.listReminders(id: string): Promise<ListResponse<Reminder>>
```

The cart approval's reminders, oldest first, with how each ended.

Calls `GET /v1/authorize/checkout_approvals/{id}/reminders`.

### [cancelReminder](https://provenanceauth.com/docs/sdks/node/authorize-checkout-approvals/cancel-reminder.md)

```ts
prov.authorize.checkoutApprovals.cancelReminder(id: string, reminderId: string): Promise<Reminder>
```

Cancel a reminder held until quiet hours end, before it goes.

Calls `DELETE /v1/authorize/checkout_approvals/{id}/reminders/{reminder_id}`.

### [reportThreeDSResult](https://provenanceauth.com/docs/sdks/node/authorize-checkout-approvals/report-three-dsresult.md)

```ts
prov.authorize.checkoutApprovals.reportThreeDSResult(id: string, params: ThreeDSResultParams): Promise<CheckoutBankCheck>
```

Report what your payment provider said on the approval's bank check (a challenge for the page, or the outcome).

Calls `POST /v1/authorize/checkout_approvals/{id}/threeds_results`.

### [getSettings](https://provenanceauth.com/docs/sdks/node/authorize-checkout-approvals/get-settings.md)

```ts
prov.authorize.checkoutApprovals.getSettings(): Promise<CheckoutApprovalSettings>
```

Your checkout approval settings (`resendOnExpiry`).

Calls `GET /v1/authorize/settings/checkout_approvals`.

### [updateSettings](https://provenanceauth.com/docs/sdks/node/authorize-checkout-approvals/update-settings.md)

```ts
prov.authorize.checkoutApprovals.updateSettings(params: { resendOnExpiry: boolean }): Promise<CheckoutApprovalSettings>
```

Let a person ask for a new link from an expired approval page (you get `authorize.checkout_approval.resend_requested`).

Calls `PUT /v1/authorize/settings/checkout_approvals`.

### [createEvidencePack](https://provenanceauth.com/docs/sdks/node/authorize-checkout-approvals/create-evidence-pack.md)

```ts
prov.authorize.checkoutApprovals.createEvidencePack(id: string, params?: EvidencePackParams): Promise<EvidencePack>
```

A chargeback evidence pack for an approved cart approval (Growth+); download it at `downloadUrl`.

Calls `POST /v1/authorize/checkout_approvals/{id}/evidence_packs`.
