In this code snippet you will see how to retrieve a list of all balance transfers.
Ensure the following variables are set to your required values using any convenient method:
||The API key of the parent account.|
||The API secret of the parent account.|
||The ISO format datetime from which to list transfers. Example:
Add the following to
curl -X GET -u $VONAGE_API_KEY:$VONAGE_API_SECRET https://api.nexmo.com/accounts/$VONAGE_API_KEY/balance-transfers?start_date=$START_DATE
Save this file to your machine and run it:
When you run the code you will retrieve a list of all balance transfers.