post https://{environment}.masspay.io/{VERSION}/payout/wallet///autopayout
This POST endpoint is used to add an autopayout rule that will initiate a payout whenever the provided wallet token is loaded.
You can use this endpoint to create an autopayout rule that automatically sends a percentage of incoming load to a specific destination.
To use this endpoint, you need to provide the user_token
and wallet_token
as required parameters in the URL Path, and the destination_token
and percentage of incoming load that should be autopaid to the destination_token
in the request Body.
The response will include a JSON object containing the details of the created autopayout rule, including the token, destination_token
and percentage.