mallow docs

Settle gumball sale

POST
/v2/tx/gumball/settle-sale

Builds the transaction that settles one item's sale. It pays the seller, the machine authority's curator share, the marketplace fee and the creators' royalties, and delivers the item to buyer if it hasn't been claimed. An unsold item (buyer set to the System Program) goes back to the seller. Anyone can sign and pay as payer.

Authorization

ApiKeyAuth
x-api-key<token>

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/settle-sale" \  -H "Content-Type: application/json" \  -d '{    "payer": "string",    "gumballMachine": "string",    "authority": "string",    "seller": "string",    "buyer": "string",    "asset": "string",    "index": 0  }'
{  "result": {    "tx": "string",    "setupTx": "string"  }}