Skip to content

View unit history

Request

Security
BearerAuthentication
Query
page_sizeinteger

Number of results to return in a page. Valid value should be between 1 and 30. Default 20.

Example:page_size=20
starting_tokenstring

Token for current page. Start with null for the first page, and use next_token from the previous response to start next page

Example:starting_token=73a3c9e69b89
GET
/s2s/v1.0/client/credit/history
curl -i -X GET \
  'https://yce-api-01.makeupar.com/s2s/v1.0/client/credit/history?page_size=20&starting_token=73a3c9e69b89' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Successful retrieval of the unit usage history

Bodyapplication/json
statusinteger

Response status

Example:200
resultobject
Response
{ "status": 200, "result": { "next_token": "73a3c9e69b89", "history": [] } }