Withdraw gumball payout
Builds a transaction that withdraws up to amount of the funds a gumball machine holds for recipient: buyer refunds, or seller, curator or marketplace proceeds. The recipient signs. This works after the machine is closed too; see GET /v2/gumball/{gumballMachine}/payouts for balances.
If a new token account has to be created for the recipient, the transaction comes back partially signed. Keep that signature when the recipient signs.
Authorization
ApiKeyAuth In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v2/tx/gumball/withdraw-payout" \ -H "Content-Type: application/json" \ -d '{ "gumballMachine": "string", "recipient": "string", "amount": "string" }'{ "result": { "tx": "string" }}Claim gumball item POST
Builds the transaction sending a drawn item to its buyer. Anyone can sign and pay as payer.
Recover gumball payout rent POST
Builds a transaction that returns the rent deposit of an empty gumball payout entry to rentPayer, the wallet that paid it, who signs. Entries with funds left can't be closed.