Create payout with permit
Partner Auth: EIP-191 signature by the partner's registered backend key, with X-Api-Deadline and optional X-Api-PublicKey headers. See the Signature and verify guide.
The user's URID (NFT token id).
Network identifier: 5000 for mainnet, 5003 for testnet.
Signature generated by the user's wallet key (EIP-191).
SHA3/Keccak256 hash of the original request payload.
Signature expiry: server timestamp plus a validity window (max 20 minutes).
Payout amount in smallest units.
Permit amount signed in the EIP-2612 permit.
Unix seconds until which the permit is valid.
EIP-2612 signature component v.
EIP-2612 signature component r.
EIP-2612 signature component s.
Contact ID from the profile contacts or verify-contact.
Fiat token contract address to pay out from.
Payment purpose ID from verify-reference or verify-contact.
Reference ID from verify-reference or verify-contact.
Response envelope. For the user API, retCode 0 means success; for the partner API, code 0 means success. Business rejections return HTTP 200 with a non-zero code.
Standard response envelope for the user API (api.ur.app).
0 on success; non-zero indicates failure.
Human-readable message; error details when retCode is non-zero.
Business payload. Shape depends on the endpoint; some endpoints return it as a JSON-encoded string.
Server timestamp in milliseconds.
POST /api/v1/payout-with-permit HTTP/1.1
Host: api.ur.app
X-Api-Signature: YOUR_API_KEY
tokenId: text
network: text
sign: text
hash: text
deadline: text
Content-Type: application/json
Accept: */*
Content-Length: 279
{
"amount": "text",
"permitAmount": "text",
"permitDeadline": 1,
"permitV": 1,
"permitR": "text",
"permitS": "text",
"contactId": "text",
"tokenAddress": "text",
"purposeId": "text",
"ref": "text",
"metadata": {
"bankAccountHolder": "text",
"bankName": "text",
"bankAccount": "text",
"bankReference": "text"
}
}Response envelope. For the user API, retCode 0 means success; for the partner API, code 0 means success. Business rejections return HTTP 200 with a non-zero code.
{
"retCode": 0,
"retMsg": "success",
"result": {
"txHash": "0xabc123def456..."
},
"timeNow": 1703123456789
}Last updated