WinShopAPI docs
ReferenceCredit

List a credit account's movements

Returns every top-up and draw-down booked against the credit account, newest state last. Requires `Permissions.Credit.View`.

GET
/api/credit/{id}/movements

Authorization

Bearer
headerAuthorizationBearer <token>

OAuth 2.0 client credentials. Obtain a client id/secret from Winshop support ([email protected]), then POST to the token URL.

Path Parameters

id*integer
Formatint32

Response Body

application/json
  1. response
[index: integer]?
curl -X GET 'https://<your-instance>/api/credit/0/movements' \  -H 'Authorization: Bearer <access-token>'
[  {    "amount": 0,    "cashRegisterId": 0,    "createdAt": "2019-08-24T14:15:22Z",    "creditId": 0,    "deliveryNoteItemId": 0,    "headerInternalId": 0,    "id": 0,    "isImported": true,    "note": "string",    "statusId": 0,    "userId": 0  }]