Account Methods
Get Account Information
This endpoint returns the specific monetary values for the account. It does
not require any parameters other than user ID and user signature validation.
HTTP method |
GET |
Endpoint |
https://api.chartboost.com/account |
Example Request |
https://api.chartboost.com/account?user_id={{Chartboost customer’s user ID}}&user_signature={{CB customer’s user signature}} |
Response Fields
Parameter |
Description |
company |
Account name |
balance |
Current balance |
earnings |
Current total earnings |
▲ Back to top
Transfer Funds
This endpoint allows users to transfer a specified amount from the account earnings to the advertising balance.
HTTP method |
POST |
Endpoint |
https://api.chartboost.com/account/transfer |
Example Request |
https://api.chartboost.com/account/transfer
Request body:
{ “amount”: “{{amount}}”, “user_id”: “{{Chartboost customer’s user ID}}”, “user_signature”: “{{CB customer’s user signature}}” } |
Parameters
Parameter |
Request Type |
Required? |
Description |
Default |
amount |
String |
Required |
Amount of funds to transfer from Earnings to Balance. $100 minimum amount is required. |
N/A |
Response Fields
Parameter |
Description |
amount |
Amount specified for transfer |
balance |
Updated balance including transferred amount |
earnings |
Updated earnings |
message |
Only returned if status=500 with reason for the transfer failure |
status |
success or 500 |
▲ Back to top
You might also like…
Last Updated on December 4, 2020