Payment Interface

The encrypted content of callback data is the channelCreditOrderSimpleInfo object from the query response

Payment Order Creation

post

V1 version, this interface will be deprecated in the future. Order is successful when ProcessCode==30, failed when ProcessCode==40, please refer to documentation for other statuses

Authorizations
AuthorizationstringRequired

Authorization Code

Body

Set Debit Transaction Request Class

amountnumber · doubleRequired

Payment Amount

sourceNostring · min: 1Required

Merchant Order Serial Number

callbackUrlstring | nullOptional

Callback Address

Responses
chevron-right
200

OK

post
/api/channel/Debit/Set
200

OK

Payment Order Creation V2

post

V2 encapsulates the original V1 request parameters into AES encrypted string, transmitted through Data field. Order is successful when ProcessCode==30, please refer to documentation for other statuses

Authorizations
AuthorizationstringRequired

Authorization Code

Body

Set Debit Transaction Request Class

datastring · min: 1Required

Encrypted Data

Responses
chevron-right
200

OK

post
/api/channel/Debit/Place
200

OK

Payment Order Query

post

V1 version, this interface will be deprecated in the future. Order is successful when ProcessCode==30, failed when ProcessCode==40, please refer to documentation for other statuses. The Data in callback contains encrypted channelDebitOrderSimpleInfo object

Authorizations
AuthorizationstringRequired

Authorization Code

Body

Get Debit Transaction Request Class

channelDebitOrderIdinteger | nullOptional

Transaction ID

sourceNostring | nullOptional

Client Source Number

Responses
chevron-right
200

OK

post
/api/channel/Debit/Get
200

OK

Payment Order Query V2

post

V2 encapsulates the original V1 request parameters into AES encrypted string, transmitted through Data field. Order is successful when ProcessCode==30, failed when ProcessCode==40, please refer to documentation for other statuses. The Data in callback contains encrypted channelDebitOrderSimpleInfo object

Authorizations
AuthorizationstringRequired

Authorization Code

Body

Set Debit Transaction Request Class

datastring · min: 1Required

Encrypted Data

Responses
chevron-right
200

OK

post
/api/channel/Debit/GetV2
200

OK

Last updated