cURL
curl --request GET \ --url https://connect.withvayu.com/credits \ --header 'Authorization: Bearer <token>'
{ "entries": [ { "id": "<string>", "createdAt": "2023-11-07T05:31:56Z", "type": "Grant", "amount": 123, "balanceAfterEntry": 123, "invoiceId": "<string>", "erpId": "<string>", "contractId": "<string>", "integrationEntities": [ { "updatedAt": "2023-11-07T05:31:56Z", "integrationProvider": "Hubspot", "integrationExternalId": "<string>", "syncStatus": "None", "metadata": {}, "rawSyncedData": {} } ] } ] }
This endpoint is used to retrieve the credit ledger entries for a specific customer.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
x <= 1000
RequestSuccess
The response is of type object.
object