cURL
curl --request POST \ --url https://mainnet.gomaestro-api.org/v1/contracts/subscription/withdrawFees \ --header 'Content-Type: application/json' \ --header 'api-key: <api-key>' \ --data '{ "merchant_address": "<string>", "service_nft_tn": "<string>", "subscriber_nft_tn": "<string>", "merchant_nft_tn": "<string>", "payment_nft_tn": "<string>", "current_time": 123 }'
{ "cbor_hex": "<string>", "tx_hash": "<string>" }
Withdraw accumulated fees from subscription services to the service provider’s wallet.
Project API Key
Service NFT token name
Merchant NFT token name
Merchant address
Subscriber NFT token name
Payment NFT token name
Current timestamp
Fees withdrawn successfully
Unsigned transaction
CBOR hexadecimal representation of the transaction
Transaction hash
Was this page helpful?