Chartboost API — Account Methods

Last Update:

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

 

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
account 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...