Query code for payment method

Created by Weebo Support, Modified on Fri, 17 Jun 2022 at 01:02 AM by Weebo Support

Query code for payment method

interface address

hostname/openapi/v1/ticketOpenApi/queryAllPayMethod

Request header

User-Agent: openApi

Content-Type: application/json; charset=utf-8

accept-encoding: gzip,deflate

time-stamp: 1437528688233

data-signature: BF706E6AC693BA3B1BABD32E6713431D

Request method

POST

Request body

{

     "appId": "abcdefghijklmn"

}

parameter name

Is it necessary

Types of

Instructions

appId

Yes

String

KBYIO configured access credentials

Return result

{

     "status": "success",

     "messages": [],

     "data": [

          {

               "code": "payCode_1",

               "name": "Cash"

          }

          {

               "code": "payCode_2",

               "name": "Recharge Card"

          }

     ]

}

Field name

Types of

Instructions

status

String

Whether the request is processed correctly, return success or error, case-insensitive

messages

String[]

Processing result message

errorCode

int

operation process error code, see error code table

data

List

Entity information

code

String

Payment method code

name

String

Payment method name

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article