View as Markdown

SDK reference · Python SDK

prov.authorize.checkout_approvals

prov.authorize.checkout_approvals in the Python SDK: 11 methods. Cart approvals, for stores: the server-side form of approval_challenge.

Methods

create

prov.authorize.checkout_approvals.create(**body: Any = …) -> Any

Calls POST /v1/authorize/checkout_approvals.

spc_challenge

prov.authorize.checkout_approvals.spc_challenge(cart: dict[str, Any]) -> Any

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

Calls POST /v1/authorize/checkout_approvals/spc_challenge.

list

prov.authorize.checkout_approvals.list(**query: Any = …) -> Any

Calls GET /v1/authorize/checkout_approvals.

get

prov.authorize.checkout_approvals.get(approval_id: str) -> Any

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

remind

prov.authorize.checkout_approvals.remind(approval_id: str, channel: Optional[str] = …, idempotency_key: Optional[str] = …) -> Any

Remind your customer about a pending cart approval (201), with a fresh link; the first link keeps working.

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

list_reminders

prov.authorize.checkout_approvals.list_reminders(approval_id: str) -> Any

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

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

cancel_reminder

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

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

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

report_threeds_result

prov.authorize.checkout_approvals.report_threeds_result(approval_id: str, **body: Any = …) -> Any

Report what your payment provider said on the approval's bank check: trans_status, eci, authentication_id, challenge (normalised), or provider_response (its own response).

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

get_settings

prov.authorize.checkout_approvals.get_settings() -> Any

Your checkout approval settings (resend_on_expiry).

Calls GET /v1/authorize/settings/checkout_approvals.

update_settings

prov.authorize.checkout_approvals.update_settings(resend_on_expiry: bool) -> Any

Let a person ask for a new link from an expired approval page; you get authorize.checkout_approval.resend_requested and send a fresh approval.

Calls PUT /v1/authorize/settings/checkout_approvals.

create_evidence_pack

prov.authorize.checkout_approvals.create_evidence_pack(approval_id: str, references: Optional[list] = …) -> Any

A chargeback evidence pack for an approved cart approval (Growth+).

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

Was this page helpful? Send us feedback

LLM? Read llms.txt.