Merchant use Geoswift aggregated payment order close interface to close the order that unpaid on Geoswift platform.At present, only WeChat code scanning payment and WeChat APP payment orders are supported. When the payer has not paid for a long time, in order to prevent repeated payment, the merchant can take the initiative to close the order to prevent the payer from continuing to pay the order.
https://apis.geoswift.com/cp/closeOrder
Name | Type& Max | Description | Requirement |
---|---|---|---|
merchantId | varchar(9) | The unique identity of the merchant ID in Geoswift system. | M |
partnerId | varchar(9) | The unique ID of the service provider in the Geoswift system | C |
requestId | varchar(50) | The order number is generated by the merchant, the order number must be the unique on the transaction platform. Request/order which had been paid or canceled in Geoswift's platform can’t be submitted with the same request ID. | M |
payOrderRequestId | varchar(50) | The requestId of the original order. | M |
remark | varchar(300) | It is for merchants to remark request in Geoswift ,which would be returned to merchant synchronously. | O |
hmac | varchar(500) | The result of parameter signature,generated by the merchant.For the method of obtaining hmac,please reference to "Geoswift encryption and decryption process specification" | M |
The preceding parameter values cannot contain the following special characters: '" &<>()
Name | Description |
---|---|
merchantId | The merchant IDThe unique identity of the merchant ID in Geoswift system. |
partnerId | The unique ID of the service provider in the Geoswift system |
requestId | The order number is generated by the merchant, the order number must be the unique on the transaction platform. Request/order which had been paid or canceled in Geoswift's platform can’t be submitted with the same request ID. |
payOrderRequestId | The requestId of the original order. |
remark | remark |
serialNumber | Serial number of the order that is going to be closed. |
completeDateTime | The completion time of the order close request |
status | Response status |
SUCCESS | |
FAILED | |
ERROR | |
closeOrderStatus | INIT |
PROCESSING | |
SUCCESS | |
FAILED | |
errorMessage | Error message |
hmac | The result of parameter signature,generated by Geoswift.For the signature verification process,please reference to "Geoswift encryption and decryption process specification" |