Gift Card
This page discuss the extended information for queuing up scenarios, please also check the base API.
Order Status
Notification can start from any status below and status can be skipped if necessary, but not in reverse. |
Below is the extra fields of this scenario, please also check the base API fields. |
This page discuss the extended information for queuing up scenarios, please also check the base API.
Order Status
success
success
"},{"code":"PARAM_ILLEGAL","value":"F","message":"Request is invalid, usually missing parameters.","action":"","actionLake":""},{"code":"ORDER_STATUS_INVALID","value":"F","message":"The order status is illegal. The status is not matched or the state machine does not support changes to this status","action":"","actionLake":""},{"code":"UNKNOWN_EXCEPTION","value":"U","message":"Unknown error. Merchants can try later first & contact with AlipayHK","action":"","actionLake":""},{"code":"UN_SUPPORT_BUSINESS","value":"F","message":"The service is not supported. eg: The merchant is not onboard & the API is offline","action":"","actionLake":""}],"moreCodes":[],"request":[{"name":"tradeNo","description":"The transaction number provided by Alipay.
The transaction number provided by Alipay.
The original amount of this order.
The original amount of this order.
","editType":"object","type":"object","warning":"","warningLake":"","kvs":[{"name":"value","description":"Value in cents.
Value in cents.
","editType":"string","type":"string","warning":"","warningLake":"","required":true},{"name":"currency","description":"A 3-letter ISO 4217 currency code, i.e. HKD
A 3-letter ISO 4217 currency code, i.e. HKD
The actual amount user paid for this order.
The actual amount user paid for this order.
","editType":"object","type":"object","warning":"","warningLake":"","kvs":[{"name":"value","description":"Value in cents.
Value in cents.
","editType":"string","type":"string","warning":"","warningLake":"","required":true},{"name":"currency","description":"A 3-letter ISO 4217 currency code, i.e. HKD
A 3-letter ISO 4217 currency code, i.e. HKD
Type of issue mode.
- Gift card: SALE
Type of issue mode.
- Gift card: SALE
Activity ID, obtained offline from AlipayHK.
Activity ID, obtained offline from AlipayHK.
","editType":"string","type":"string","warning":"","warningLake":"","required":true}]}],"response":[{"name":"result","description":"Result of response
Result of response
","editType":"object","type":"object","warning":"","warningLake":"","required":true,"kvs":[]},{"name":"orderId","description":"The order ID from AlipayHK
The order ID from AlipayHK
","editType":"string","type":"string","warning":"","warningLake":"","required":true},{"name":"orderStatus","description":"Refer 'Order Status' tab above.
Refer 'Order Status' tab above.
","editType":"string","type":"string","warning":"","warningLake":"","required":true},{"name":"distributeResult","description":"Business result
Business result
","editType":"object","type":"ArrayGift Card ID
Gift Card ID
","editType":"string","type":"string","warning":"","warningLake":""},{"name":"detailLink","description":"URL reference to the details of this gift card, starts with alipayhk://
.
URL reference to the details of this gift card, starts with alipayhk://
.