curl --request POST \
--url http://localhost:3001/api/v1/treasury/payouts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"partnerEndUserId": "<string>",
"partnerWalletId": "<string>",
"amount": "100.00",
"destinationType": "bank_account",
"destination": {},
"idempotencyKey": "<string>",
"metadata": {}
}
'{
"success": true,
"data": {
"id": "<string>",
"partnerId": "<string>",
"partnerEndUserId": "<string>",
"amount": "100.00",
"currency": "USDC",
"destinationType": "<string>",
"destinationDetails": {},
"status": "PENDING",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"partnerWalletId": {},
"failureReason": {}
}
}curl --request POST \
--url http://localhost:3001/api/v1/treasury/payouts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"partnerEndUserId": "<string>",
"partnerWalletId": "<string>",
"amount": "100.00",
"destinationType": "bank_account",
"destination": {},
"idempotencyKey": "<string>",
"metadata": {}
}
'{
"success": true,
"data": {
"id": "<string>",
"partnerId": "<string>",
"partnerEndUserId": "<string>",
"amount": "100.00",
"currency": "USDC",
"destinationType": "<string>",
"destinationDetails": {},
"status": "PENDING",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"partnerWalletId": {},
"failureReason": {}
}
}Documentation Index
Fetch the complete documentation index at: https://docs.useaxra.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Partner end-user id (cuid)
Source PartnerWallet id
Principal amount to send (wallet currency)
"100.00"
bank_account, crypto, mobile_money Destination details (validated in service by destinationType)
Optional idempotency key (logged in metadata only in v1)
Test mode metadata (sandbox partners). Supported keys: test_outcome