/
add_credit_balance

add_credit_balance

Description

This API credits or debits a client's balance

Parameters

client_account_code
value
description

Request

curl -X POST \
-H "Authorization: Token d37fa8c4e008fec158070b1b4aea5f0db3d6a06e" \
-H "Content-Type: application/json" \
-d '{"client_account_code":"2144533795","value" : 5, "description" : "Testing via API"}' \
-k https://your.domain.com/api/users/api/v2/balance_update

Responses

{
 "status": "success",
 "results": [
 {
 "balance": "20.000",
 "client": "2144533795",
 "description": "Testing via API"
 }
 ]
}

Related content

get_credit_balance
get_credit_balance
More like this
get_balance_history
get_balance_history
More like this
check_call_rate
check_call_rate
More like this
get_client_account
get_client_account
More like this
did_assign
did_assign
More like this
package_assign
package_assign
More like this