Skip to main content
POST
accountCreditBalanceChange

Authorizations

Authorization
string
header
required

Authenticate via HTTP Basic with your account username and API token. Examples use an explicit 'Authorization: Basic <base64(username:token)>' header; 'curl -u username:token' is equivalent. For sandbox, append "-test" to your username and use your sandbox token on api.dev.name.com.

Headers

X-NAMECOM-SIGNATURE
string
required

HMAC signature for the request payload. See HMAC signing documentation for example code and detailed explanation of signing.

Example:

"djasfgafgflgsdfgdsfkhfhjas,12334782,1123-3423-4dss4-354"

Body

application/json
eventName
enum<string>

The name of the subscription event

Available options:
account.credit.balance_change
accountId
number<int64>

The account ID the subscription is for

balance
number<double>

The remaining balance of account credit

Response

The subscribed server accepted the request.