v1

latestOpenAPI 3.0.1Apache 2.02026-07-248286406.8 KB
Wallet

Get all AutoPayout rules

This GET endpoint is used to retrieve all autopayout rules currently applied to the provided wallet token. <br> You can use this endpoint to obtain information about the autopayout rules associated with the wallet. <br> To use this endpoint, you need to provide the user_token and wallet_token as required parameters in the URL Path. <br> The response will include a JSON array containing details for each autopayout rule, including the token, destination_token and percentage.

get/payout/wallet/{user_token}/{wallet_token}/autopayout

Response

Succesful operation.

tokenstring required

Autopayout token

destination_tokenstring required

The destination_token to autopayout (send payout to)

percentagenumber float required

The percent of incoming load that should be autopaid to the destination_token

attr_set_tokenstring

The token that represents a set of attributes for a specific payer. Optional, specify the value if you''re trying to update a value of a specific attributes set.

Example response

[
  {
    "token": "autopayout_3684cc43-fe3b-4994-8ca1-7dc0db94430f",
    "destination_token": "dest_d2138fd0-00be-45a8-985f-4f5bde500962",
    "percentage": 50
  }
]