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 $NEXMO_API_KEY:$NEXMO_API_SECRET https://api.nexmo.com/accounts/$NEXMO_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.