Set where earnings are paid
Where payouts go: a Lightning address such as you@getalby.com, a stablecoin
address (crypto_address), or both. Send either to change only that one; the
other is left as it is. A Lightning address is checked for shape and for
pointing somewhere public, and a stablecoin address for the shape its network
uses; whether anything answers there is found out by the first payout. A payout
already asked for keeps the address it was asked for with. Moves no money, so
it takes no Idempotency-Key.
Authorization
ApiKey An account API key, sent as Authorization: Bearer tz_live_…. The prefix
selects the mode: tz_test_ for sandbox, tz_live_ for real money.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
At least one of the two; whichever is left out stays as it is.
1 <= propertiesResponse Body
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/v1/revenue/payout_address" \ -H "Content-Type: application/json" \ -d '{}'{ "object": "payout_address", "lightning_address": "string", "crypto_address": null, "updated_at": "2019-08-24T14:15:22Z"}