POST
/
contracts
/
subscription
/
withdrawFees
Withdraw subscription fees
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>"
}

Authorizations

api-key
string
header
required

Project API Key

Body

application/json

Response

202
application/json

Fees withdrawn successfully

Unsigned transaction