Claim Fees
fees
Claim Fees
Claim accrued fees for the authenticated organization
POST
Claim Fees
Headers
Authorization header format: 'APIKey=<api_key>,signature=,timestamp=<unix_timestamp>'
Body
application/json
Example:
{
"address": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"chain_id": 30000000000001
}
Example:
"0x1234...abcd"
Example:
{
"items": [
{
"currency": "USD",
"description": "High-quality widget with extra features",
"image": "https://example.com/images/widget.png",
"name": "Premium Widget",
"quantity": 2,
"unit_price": 49.99
}
],
"refund": {
"additional_info": "Item was never shipped",
"currency": "USD",
"name": "Order Cancellation",
"reason": "Customer requested refund",
"refund_amount": 99.98
}
}
Response
Fees claimed successfully
- Option 1
- Option 2
Example:
"cuidjkhg3e289y74u5t6v"
Example:
"0x1234...abcd"
Use 'source_transaction_hash' instead
Example:
"0x1234...abcd"
Available options:
1, 10, 56, 137, 8453, 42161, 20000000000001, 30000000000001, 30000000000002 Example:
1
Example:
{
"raw_amount": "2400000",
"ui_amount": 2.4,
"ui_amount_display": "2.4",
"value_usd": 123.45
}