API Methods
Account ...
Blogs ...
Bookings ...
CreditHistory ...
Dashboard ...
DirectCam ...
DirectChat ...
Email ...
FieldReport ...
Groups ...
HotLists ...
Interview ...
Lists ...
Movie ...
Newsfeed ...
PhoneChat ...
Pictures ...
Profile ...
Search ...
Tours ...
Webcam ...

Get Current Credit Balance

Use this method to get the current credit balance of an AdultWork user

URL / Endpoint

Need help with Postman?

GET /v1/CreditHistory/GetCurrentCreditBalance

Request

PropertyTypeDescription
This operation does not accept any parameters.

Request Information

HTTP Method / Verb

This endpoint is using the HTTP GET method.

Headers

The REST API uses HTTP request headers to determine what data type is returned or to authenticate the developer's API key. More information can be found in the overview section.

Authentication

An Authorization header is required with every request and must contain the access_token of the user. More information can be found in the Access tokens page.

Scopes

This endpoint requires the following scope:

Scope
account_credits_history

Samples

GET method

https://api-sandbox.adultwork.com/v1/CreditHistory/GetCurrentCreditBalance

Authorization: bearer {your-access-token}

Response

PropertyTypeDescription
  decimal The credit balance of the user who is logged in via the Unified Login using the access_token.

Response Sample

The following example returns the result.

299
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">299</int>