SDK reference · Python SDK

prov.authorize.checkout_approvals.cancel_reminder

prov.authorize.checkout_approvals.cancel_reminder in Python SDK. Cancel a reminder held until quiet hours end, before it goes.

Signature

prov.authorize.checkout_approvals.cancel_reminder(approval_id: str, reminder_id: str) -> Any

Parameters

approval_idstrRequired
reminder_idstrRequired

Request fields

idstringpathRequired
The cart approval's ID (coap_…).
reminder_idstringpathRequired
The held reminder's ID (rem_…), from the request's reminders.scheduled.id or its reminders list.

Returns

Any The reminder as it ended.

HTTP operation

DELETE /v1/authorize/checkout_approvals/{id}/reminders/{reminder_id}: Cancel a held reminder

Errors

Example

const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/authorize/checkout_approvals/coap_01JCX8V2M5Q8T3W6Y9B4N7K1HD/reminders/rem_01JCXC7N2P5R8T1V4W7Y0Z3Q6S`, {
  method: "DELETE",
  headers: { Authorization: "Bearer prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x" },
})).json();

Was this page helpful? Send us feedback

LLM? Read llms.txt.