Documentation/API Reference

API REFERENCE

Batch Order Query

POSThttps://mapi.yabandpay.com/Payments
Live API
API PLAYGROUND · Live API

Batch Order Query

POSThttps://mapi.yabandpay.com/Payments
Automatically signed with your credentials

Request parameters2

Required fields first

Batch Order Query

start_timeRequiredstringdata.start_timeStart time
end_timeRequiredstringdata.end_timeEnd time

Credentials stay on this page. Your secret key is never stored or sent to the documentation server.

Query transaction order information by date range. This API exports a csv file directly.

ParameterTypeDescriptionRequired
userStringUID of the cashier or super administrator accountRequired
signStringSignatureRequired
methodStringv3.BatchQueryRequired
timeLongTimestampRequired
  • Parameters
ParameterTypeDescriptionRequired
start_timeStringStart timeRequired
end_timeStringEnd timeRequired

Signature example:

Sorted parameters concatenated into a URL-style query string

"end_time=1573523141&method=v3.BatchQuery&start_time=1569894340&time=1546588959&user=YOUR_CASHIER_UID"

Use stringA and secret_key to get stringSign

Get Signature:

"YOUR_SIGNATURE"

Request example:

{
    "user": "YOUR_CASHIER_UID",
	"sign": "YOUR_SIGNATURE",
	"method": "v3.BatchQuery",
	"time": 1546588959,
	"data": {
		"start_time" : "1569894340",
		"end_time" : "1573523141"
    }
}