Record a withdrawal
POST /transaction · Requires auth
Same endpoint as a normal send, with transactionType: "WITHDRAW". receiverAddress is any outside address; it doesn’t have to belong to a Numpay user.
string
required
Elysium transaction hash (66 characters).
string
required
The caller’s own Numpay smart-account address.
string
required
The outside destination address.
number
required
Decimal USDC.
string
required
WITHDRAW.string
required
COMPLETED.Response 201
History
GET /transaction/user/{userId}?type=withdrawal
Returns the user’s WITHDRAW rows. With no type, withdrawals are included alongside sends, receives and deposits. A withdrawal has receiver: null; the destination is in counterparty.
Not available on Elysium
/near/* deposit endpoints aren’t part of the Elysium build; funds arrive as test USDC sent directly to the user’s address.
