ApiStore Credit Administration
List store credits
Returns a paginated list of all store credits for the current tenant.
Authorization
Bearer AuthorizationBearer <token>
Enter your bearer token from the Pylon Auth API.
In: header
Query Parameters
page?integer
Default
1Format
int32pageSize?integer
Default
20Format
int32sort?string
q?string
status?string
source?string
Response Body
application/json
application/json
curl -X GET "https://loading/api/organizer/v1/credits"{
"data": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b",
"originalAmount": 0.1,
"remainingBalance": 0.1,
"currency": "string",
"source": "string",
"status": "string",
"sourceReferenceId": null,
"expiresAt": "2019-08-24T14:15:22Z",
"createdAt": "2019-08-24T14:15:22Z",
"lastUsedAt": "2019-08-24T14:15:22Z",
"issuedBy": null,
"issueReason": null,
"revokedReason": null,
"revokedAt": "2019-08-24T14:15:22Z"
}
],
"meta": {
"totalCount": 0,
"page": 0,
"pageSize": 0,
"totalPages": 0,
"hasNext": true,
"hasPrevious": true
},
"links": null
}{
"code": "string",
"message": "string"
}