API Service Documentation

Command: add_wallet_txn

Creates a new wallet transaction for the specified currency type

Request

NameTypeRequiredExample
user_idIntegerY150

Must povide one of these 4: user_id, username, user_email, external_user_id

usernameStringYbobbyk

Must povide one of these 4: user_id, username, user_email, external_user_id

user_emailStringYbobby@gmail.com

Must povide one of these 4: user_id, username, user_email, external_user_id

external_user_idStringY119

Must povide one of these 4: user_id, username, user_email, external_user_id

external_idStringY119

Must povide one of these 4: user_id, username, user_email, external_id

currency_codeStringYprops

Currency code like "props", "credits", "tokens", "USD", etc

amountDecimalY123.45

Positive amount to add value, negative amount to charge it

reasonStringY"For friend referral"

Textual reason for granting/charging this amount

transaction_timeDate StringN2017-02-14 13:59:00

YYYY-MM-DD HH:MM:SS - If omitted or invalid, assumes the current server date and time.