CommonApiVersion 1.0.0

Query Settlement Details

GEThttps://pay.globepay.co/api/v1.0/gateway/partners/{partner_code}/transactions

This Api will list all transactions with the settlement this day, containing all payment methods(include no gateway methods) and all payment channels such as payment, GlobePay discount cashback, refunds, credit for failure refunds, system pay back, cashback account income/outcome, etc.
Notice: A payment order or refund order can contains several transaction records

FieldDescription
Accept

application/json

Content-Type

application/json

Path Variable

FieldTypeDescription
partner_codeString

Required, Partner code

Query Params

FieldTypeDescription
dateString

Required, Transaction date. Format as 'yyyyMMdd',GMT+8

timeLong

Required, UTC timestamp in milliseconds

nonce_strString

Required, Random string

signString

Required, Sign

ROOT

FieldTypeDescription
return_codeString

Execution result,SUCCESS

result_codeString

Process result

settle_fromString

Transaction date from,yyyyMMdd

settle_toString

Transaction date to, yyyyMMdd

settle_daysString

Settle delay(T+n)

transaction_countint

transaction record count

order_countint

payment order count

refund_countint

refund order count

total_creditint

Total credit amount (GBP cent)

total_debitint

Total debit amount (GBP cent)

total_surchargeint

Total surcharge amount(GBP cent)

total_transferint

Total amount sending to merchant's bank account(GBP cent)

settle_surchargeint

Total settlement surcharge amount(GBP cent)

dispute_surchargeint

Total dispute surcharge amount(GBP cent)

transactionsJSON[]

transaction list

transactions

FieldTypeDescription
transaction_timeString

Trade time, format as yyyyMMddHHmmss,GMT+8

order_idString

GlobePay Order ID

partner_order_idString

Partner Order ID

channel_order_idString

Order ID in payment channel (Alipay/Alipay Plus/Wechat)

refund_idString

GlobePay Refund ID (Only in refunds or refunds failure cashback)

partner_refund_idString

Partner refund ID (Only in refunds or refunds failure cashback)

gatewayString

Payment method

  • 0: GlobePay EftPOS Payment Code (Scan Payment Code displaying in customer's device)
  • 1: GlobePay EftPOS Order Code (Customer scan QR Code displaying on POS screen)
  • 2: GlobePay Static Merchant QRCode
  • 3: QRCode Gateway
  • 4: JSAPI Gateway
  • 5: Gateway for third-party EftPOS Payment Code
  • 6: Gateway for third-party EftPOS Order Code
  • 7: GlobePay Static Merchant QRCode (Public number mode scan code payment)
  • 8: H5 Payment Gateway
  • 9: Payment Gateway
  • 10: SDK
  • 11: Bill Order(From GFPay App)
  • 12: Mini Program
  • 13: Origin Payment Code
  • 14: Share Link(From GFPay App)
channelString

Payment Channel (Alipay, Wechat, AlipayPlus)

typeString

Trade Direction

  • Credit: Income
  • Debit: Outcome
currencyString

currency(GBP/CNY)

total_amountint

Total payment amount, which uses the base unit of order currency

input_amountint

Order input amount, which uses the base unit of order currency

settle_amountint

Amount to make settlement, GBP cents

surcharge_rateString

Transaction fee rate for the relevant payment channel (x%)

surchargeint

Transaction fees charged for the relevant transaction, GBP cents

transfer_amountint

Amount send to merchant's bank account, GBP cents

exchange_ratedouble

Using exchange rate

remarkString

Remark

ERROR

NameDescription
return_code

Error Code

return_msg

Error Description

Error Code

NameDescription
SYSTEMERROR

Exception inside system

INVALID_SHORT_ID

Partner code is invalid or there is no partner associated with this code

SIGN_TIMEOUT

Sign expired, the difference between time and the server time is more than 5 minutes

INVALID_SIGN

Invalid sign

PARAM_INVALID

Parameters are invalid. See return_msg for more details.

NOT_PERMITTED

Gateway payment permission has not been enabled for this partner

INVALID_CHANNEL

Channel name is not available, check the Capitalize

PCI DSS Compliant

Security & Compliance

  • PCI DSSPayment Card Industry Data Security Standard compliant
  • TLS 1.2+API accepts TLS 1.2 / 1.3 encrypted connections only
  • SHA-256Every API request must carry a SHA-256 signature

On this page