Adapay接口地址说明

修订记录

版本

日期

时间

1.2.2

20201120

新增转账、冻结接口

1.2.3

20201203

新增快捷卡接口

请求地址

如无特殊说明接口请求地址默认为

https://api.adapay.tech

另有个别接口地址为,已在相应接口中注明

https://page.adapay.tech

公共请求参数列表

Head 头参数

参数名称

类型

必填

说明

authorization

String(32)

Y

商户进件返回的api_key

signature

String

Y

加签密文

sdk_version

String

Y

sdk版本号(例Java_v1.0.2)

api_name

String

Y

接口名

seq_id

String

Y

序列号

公共返回参数列表

status

String

Y

交易状态:成功succeeded,处理中pending, 或者失败 failed

error_type

String(16)

N

错误类型,可以是 invalidrequesterro r、apierror、channelerror 或 card_error

error_code

String(64)

N

错误码, 由第三方支付渠道返回的错误代码

error_msg

String(128)

N

返回具体的错误描述。

invalid_param

String

N

当发生 参数错误时返回具体的参数名,如 id

signature

String(344)

Y

返回参数的签名串

支付sdk 相关接口

退款对象(Refund)

接口名称

提交方式

参考文档

接口地址

创建退款对象

POST

https://docs.adapay.tech/api/trade.html#refund-create

/v1/payments/

查询退款对象

GET

https://docs.adapay.tech/api/trade.html#query-refund

/v1/payments/refunds

支付确认对象(PaymentConfirm)

接口名称

提交方式

参考文档

接口地址

创建支付确认对象

POST

https://docs.adapay.tech/api/trade.html#payment-confirm-create

/v1/payments/confirm

查询支付确认对象

GET

https://docs.adapay.tech/api/trade.html#id49

/v1/payments/confirm/

查询支付确认对象列表

GET

https://docs.adapay.tech/api/trade.html#id53

/v1/payments/confirm/list

支付撤销对象(PaymentConfirm)

接口名称

提交方式

参考文档

接口地址

创建支付撤销对象

POST

https://docs.adapay.tech/api/trade.html#payment-reverse-create

/v1/payments/reverse

查询支付撤销对象

GET

https://docs.adapay.tech/api/trade.html#id63

/v1/payments/reverse/

查询支付撤销对象列表

GET

https://docs.adapay.tech/api/trade.html#id67

/v1/payments/reverse/list

企业用户(CorpMember)

接口名称

提交方式

参考文档

接口地址

企业用户开户

POST

https://docs.adapay.tech/api/trade.html#corp-member-create

/v1/corp_members

企业用户查询

GET

https://docs.adapay.tech/api/trade.html#query-corp-member

/v1/corp_members/:member_id

支付转账对象

接口名称

提交方式

参考文档

接口地址

创建账户转账对象

POST

https://docs.adapay.tech/api/trade.html#account-transfer-create

/v1/settle_accounts/transfer

查询账户转账对象列表

GET

https://docs.adapay.tech/api/trade.html#account-transfer-list

/v1/settle_accounts/transfer/list

账户管理(AccountManage)

账户冻结对象

接口名称

提交方式

参考文档

接口地址

创建账户冻结对象

POST

https://docs.adapay.tech/api/account.html#freeze-create

/v1/settle_accounts/freeze

查询账户冻结对象列表

GET

https://docs.adapay.tech/api/account.html#freeze-list

/v1/settle_accounts/freeze/list

账户解冻对象

接口名称

提交方式

参考文档

接口地址

创建账户解冻对象

POST

https://docs.adapay.tech/api/account.html#unfreeze-list

/v1/settle_accounts/unfreeze

查询账户解冻对象列表

GET

https://docs.adapay.tech/api/account.html#unfreeze-create

/v1/settle_accounts/un_freeze/list

钱包

接口名称

提交方式

参考文档

接口地址

创建取现对象

POST

https://docs.adapay.tech/api/wallet.html#cash

/v1/cashs

查询取现对象

GET

https://docs.adapay.tech/api/wallet.html#query-cash

/v1/cashs/stat

查询账户余额对象

GET

https://docs.adapay.tech/api/wallet.html#query-account-balance

/v1/settle_accounts/balance

钱包登录对象

POST

https://docs.adapay.tech/api/wallet.html#login

https://page.adapay.tech/v1/walletLogin

钱包支付对象

POST

https://docs.adapay.tech/api/wallet.html#account-payment

https://page.adapay.tech/v1/account/payment

创建收银台对象

POST

https://docs.adapay.tech/api/wallet.html#checkout-create

https://page.adapay.tech/v1/checkout

查询收银台对象列表

GET

https://docs.adapay.tech/api/wallet.html#query-checkout-list

https://page.adapay.tech/v1/checkout/list