Skip to main content
POST
Register a policy

Authorizations

Authorization
string
header
required

Partner key: Authorization: Bearer rk_.... DM @rapidssh. Leave it out for the public tier.

Body

application/json
policy
object
required

policy from POST /delegate/prepare.

signature
string
required
permits
object[]
erc2612
object[]
rules
object[]

Policies without an agent: { type: 'stop', tokenIn, tokenOut, amountIn, triggerRate, confirm }.

Maximum array length: 4

Response

Registered.

hash
string
status
string