Skip to main content
POST
CLI

Authorizations

Authorization
string
header
required

API Key in Bearer format (e.g., Bearer sk_test_...)

Headers

X-API-Key
string

API key

Path Parameters

mandateId
string
required

Mandate id (mdt_…).

Body

application/json
sealedPlan
object

Preferred subject — sealed plan from an APPROVED payment outcome intent.

proposal
object

Draft-shaped subject for pre-approve checks. Ignored when sealedPlan is set.

asOf
string

Instant to evaluate the validity window against. Only applied for sealedPlan subjects (use seal time). Draft proposals always evaluate at now — caller-supplied asOf is ignored.

priorSpendDayMinor
string

Optional prior spend in the UTC day window (minor units). Required when the mandate has a per-day cap; callers may supply it when mocking until attributed spend is derived.

priorSpendMonthMinor
string

Optional prior spend in the UTC month window (minor units). Required when the mandate has a per-month cap; callers may supply it when mocking until attributed spend is derived.

Response

allowed
enum<boolean>
required
Available options:
true
Example:

true

mandateId
string
required
requiresInfiniteApproval
boolean
required

True when Infinite ops must still approve this subject under the mandate approval-requirements.

approvalRequirements
object
required

Approval-requirements for downstream draft/execute branching without inventing parallel flags.