Skip to content

Common getbalance

GiuFLim edited this page Sep 28, 2023 · 1 revision

概要

  • 获取客户余额

请求URL

http://api2.nxcloud.com/api/common/getBalance

请求方式

  • Method: POST
  • Content-Type: application/json

鉴权机制

鉴权规则请参考地址:API接口调用约定

image

请求Header

参数名称 参数类型 是否必填 示例值 参数描述
accessKey String fme2na3kdi3ki 用户身份标识
ts String 1655710885431 当前请求的时间戳(单位是毫秒),牛信服务端允许用户端请求最大时间误差为60秒
bizType String 1 [业务类型] 固定值 用来标识号码检测
action String numbercheck 固定值 用来标识号码检测
sign String 6e9506557d1f289501d333ee2c365826 API入参参数签名,签名算法

**成功返回 **

{
    "code": 0,
    "message": "Success",
    "data": {
        "balance": "717493.1709235484",
        "credit": "0.0"
    },
    "traceId": "43ee04abcea44d7eb1439665eb30d00c"
}

返回参数说明

参数名 类型 说明
data object 请求结果
message string 请求结果说明
code integer 结果编码

data

参数名 类型 说明
balance string 客户余额
credit string 客户信用额度

简介

短信

语音

云呼叫中心(NXLink)

云呼叫中心(AI自动外呼)

Flash Call

短链

邮件验证码

DID号码

通用

号码检测

WhatsApp

Viber

Zalo ZNS

Super Message API

隐私号(旧)

PNS

坐席(旧版)

AI Agent(对外api)

Clone this wiki locally