Skip to content

余额查询

jiang.tao edited this page May 6, 2023 · 2 revisions

简要描述:

  • 客户余额获取

请求方式:

  • URL:http://api.nxcloud.com/api/common/getBalance
  • Method:POST
  • Content-Type: application/x-www-form-urlencoded

参数:

参数名 必选 类型 说明
appkey string 任意启用的短信应用appkey
secretkey string 任意启用的短信应用secretkey

请求示例

curl --location --request POST 'http://api.nxcloud.com/api/common/getBalance' \
--data-urlencode 'appkey=asdf' \
--data-urlencode 'secretkey=qwer'

返回示例

{"code": "0","balance": "3788.32", "credit_balance":"500"}

返回参数说明

参数名 类型 说明
code string 结果编码
balance string 余额
credit_balance string 信用额度

备注

  • 错误代码
code 说明
0 请求成功

简介

短信

语音

云呼叫中心(NXLink)

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

Flash Call

短链

邮件验证码

DID号码

通用

号码检测

WhatsApp

Viber

Zalo ZNS

Super Message API

隐私号(旧)

PNS

坐席(旧版)

AI Agent

Clone this wiki locally