CustomVersion 1.0.0
Redeclare
https://pay.globepay.co/api/v1.0/customs/partners/{partner_code}/redeclare/report/{client_report_id}Used to resubmit the attachment information of the order required by the merchant.
Header
| Field | Description |
|---|---|
Accept | application/json |
Content-Type | application/json |
Path Variable
| Field | Type | Description |
|---|---|---|
partner_code | String | Required, Partner code |
client_report_id | String | Required, Client declare ID |
Query Params
| Field | Type | Description |
|---|---|---|
time | Long | Required, UTC timestamp in milliseconds |
nonce_str | String | Required, Random string |
sign | String | Required, Sign |
Success 200
| Field | Type | Description |
|---|---|---|
report_id | String | GlobePay declare ID |
client_report_id | String | Client declare ID |
report_status | String | Result status: PROCCESSING,SUBMITED,FAILED,SUCCESS |
channel | String | Channel |
custom | String | Customs No. |
mch_custom_no | String | Customs record ID |
mch_custom_name | String | Customs record name |
order_id | String | GlobePay Order ID |
transaction_id | String | Channel Order ID |
order_currency | String | Currency |
order_amount | Double | Order Amount |
report_time | String | Declare Time |
creation_date | String | Create Time |
last_update_date | String | Update Time |
error_code | String | Error Code |
error_msg | String | Error Description |
Error Code
| Name | Description |
|---|---|
ORDER_MISMATCH | Order is not belong to this partner |
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
| Name | Description |
|---|---|
return_code | Error Code |
return_msg | Error Description |
