TuitionPayVersion 1.0.0

Create a Domestic Bank Transfer Order (Only for cross-border tuition payment)

PUThttps://pay.globepay.co/api/v1.0/zl_gateway/partners/{partner_code}/order/{order_id}

This API provides an integration interface for cross-border tuition remittance. It is specifically designed for student tuition payment scenarios. The student or payer submits order details, identity information of the remitter and actual payer, along with the admission offer document. Based on this information, the system will generate the designated receiving account and reference code required for the remittance. Due to compliance and foreign exchange regulations, the admission offer and valid identification documents of the remitter are required to ensure the authenticity and legitimacy of the transaction.

FieldDescription
Accept

application/json

Content-Type

application/json

Path Variable

FieldTypeDescription
partner_codeString

Required, Partner code

order_idString

Required, Partner order ID, require to be unique for the same merchant (maximum length is 50 characters)

JSON keys

FieldTypeDescription
descriptionString

Required, order subject (maximum length is 128 characters, will be cut if exceeds)

priceint

Required, Price of the order. Use the base unit of the currency(e.g. 100 for GBP1.00).

payerNameString

Required, Name of the payer

payerPhoneString

Required, Payer’s phone number

payerIdCardString

Required, Payer’s ID number

payerUrlString

Required, Front side image of the payer’s ID card

payerBackUrlString

Required, Back side image of the payer’s ID card

realPayerNameString

Required, Name of the actual payer (if different from payer)

emergencyPhoneString

Required, Emergency contact phone number (must be domestic)

realPayerIdCardString

Required, Actual payer’s ID number

realPayerUrlString

Required, Front side image of the actual payer’s ID card

realPayerBackUrlString

Required, Back side image of the actual payer’s ID card

relationshipString

Required, Relationship: 01 - Parent; 02 - Other; 03 - Self

offerUrlString

Required, Offer (admission) document file URL

remittanceAmtString

Required, Actual foreign currency remittance amount

Query Params

FieldTypeDescription
timeLong

Required, UTC timestamp in milliseconds

nonce_strString

Required, Random string

signString

Required, Sign

Success 200

FieldTypeDescription
referenceString

Payment reference. Must be included by student when transferring funds

amountString

Actual amount required to be paid

order_idString

GlobePay Order ID, which is also WeChat order ID. The final order ID which is paid may be different from this one.

accountNameString

Receiving account name

accountNoString

Receiving account number

currencyString

Currency

Error Code

NameDescription
ORDER_MISMATCH

Order is not belong to this partner

ORDER_PAID

Order has already been paid

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

ERROR

NameDescription
return_code

Error Code

return_msg

Error Description

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