View as Markdown

SDK reference · Python SDK

prov.authorize.assessments

prov.authorize.assessments in the Python SDK: 6 methods. client.authorize.assessments.

Methods

create

prov.authorize.assessments.create(cart: dict, intent_token: Optional[str] = …, mandate_token: Optional[str] = …, request: Optional[dict] = …, traffic_assessment_id: Optional[str] = …, visit_id: Optional[str] = …, payment_reference: Optional[str] = …, ip: Optional[str] = …, merchant_facts: Optional[dict] = …, billing_address: Optional[dict] = …, contact: Optional[dict] = …, delivery: Optional[str] = …, channels: Optional[list] = …, follow_up_text: Optional[dict] = …, reminders: Optional[dict] = …, display: Optional[dict] = …, retry_url: Optional[str] = …, expires_in: Optional[int] = …, policy_version: Optional[int] = …, draft_group: Optional[str] = …) -> Any

Calls POST /v1/authorize/checkout_assessments.

list

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

Calls GET /v1/authorize/checkout_assessments.

get

prov.authorize.assessments.get(assessment_id: str) -> Any

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

review

prov.authorize.assessments.review(assessment_id: str, decision: str, note: Optional[str] = …, idempotency_key: Optional[str] = …) -> Any

Slice 12: decide an order your after-approval rules held for review (challenge.status == "in_review").

Calls POST /v1/authorize/checkout_assessments/{id}/review.

create_evidence_pack

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

A chargeback evidence pack for a frictionless assessment, or one whose challenge was approved (Growth+).

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

report_outcome

prov.authorize.assessments.report_outcome(assessment_id: str, outcome: str, note: Optional[str] = …) -> Any

Report what happened to the order after its decision (free): chargeback, fraud, refund_abuse or legitimate.

Calls POST /v1/authorize/checkout_assessments/{id}/outcome.

Was this page helpful? Send us feedback

LLM? Read llms.txt.