Skip to main content
POST
Build policy drafts from a store's V2 payment flows

Authorizations

Authorization
string
header
required

Secret, platform or publishable API key. Platform keys require Payments-Account.

Headers

idempotency-key
string
required
Required string length: 1 - 255
payments-account
string
payments-version
enum<string>
Available options:
2026-11-01

Body

application/json
store
string
required
Pattern: ^store_[a-f0-9]{12}$

Response

One draft per V2 flow with its loss report, and the binding plan.

bindings
object[]
required
id
string
required
losses
object[]
required
object
enum<string>
required
Available options:
v2_flow_import
policies
object[]
required
store
string
required