Record that a cashout has occured in the specified wallet. When the online flag is set to false, this will not refund money via your online payment methods and will rely on you providing the money to the customer outside of the platform.
/customers/get endpoint with the wallets relationship included, which will return the refundable_balance_online and refundable_balance_offline properties.The 'Bearer' token can be obtained from the token management interface or via the login endpoint using your admin user credentials.
A customer ID, to retrieve wallet transactions for a specific customer.
The currency ID of the wallet that is to be cashed out.
The amount of money to cash out of the wallet. Where this is not provided, the full wallet balance will be used.
Whether an online cashout should be performed.
When provided, we will use this parameter to ensure requests are idempotent.
The type of source mechanism for the funds being used for the cashout.
Additional resources that can be returned in the response, which should be provided in comma separated format: latestTransaction, latestRefund.
Successfully cashed out a wallet.