Create or update a policy configuration

Creates the policy when it does not exist, and replaces its configuration when it does.

Required permission: update:policy.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
boolean
required

Whether the policy is currently applied to transactions.

string
required

Unique name identifying the policy.

string
required

The behaviour the policy applies, such as a requirement it raises.

string

Settings for the policy, matching config_schema.

string

JSON Schema describing the fields accepted in config.

string

Policy kind. The only supported value is Standard.

string

What the policy applies to: customer, wallet, agent, Transfer or Payment. Empty applies it to everything.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

429

Too Many Requests: more than 6,000 calls in 300 seconds. Every endpoint refuses your calls for the next 10 seconds. Send the request again with a backoff, as Rate limiting explains.

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/problem+json