The grant is identified by the client’s GNAP access token. For grants created with a recurring interval, the amounts returned reflect the current interval only.
The code snippets below let an authorized client retrieve the spent amounts for the current outgoing payment grant.
We recommend creating a wallet account on the test wallet. Creating an account allows you to test your client against the Open Payments APIs by using an ILP-enabled wallet funded with play money.
Get the spent amounts for an outgoing payment grant