Skip to main content
POST
Create a self-custodial bulk-payment permit

Authorizations

Authorization
string
header
required

Use a UniFi API key generated from the web app and stored server-side.

Path Parameters

user_id
string
required

UniFi user identifier, such as a verified email address or wallet address.

Body

application/json
chain
enum<string>
required

Production-supported mainnets and public testnets exposed by the public reference.

Available options:
Ethereum,
Polygon,
Sepolia
batch
object[]
required
Minimum array length: 2
tot_est_fee
string
required

Human-readable total estimated fee.

Pattern: ^[0-9]+(\.[0-9]+)?$
deadline
integer<int64>
required

Permit expiry as a Unix timestamp in seconds.

Response

The EIP-712 domain and Permit2 message to sign.

status
string
required
data
object
required