Case Replay
- Endpoint:
POST /aggregate-pay/api/gateway/caseReplay - Tags: Chargeback Service
Parameters
| Field | In | Type | Required | Constraints | Description |
|---|---|---|---|---|---|
Content-Type | header | string | Yes | ||
sign | header | string | Yes | 签名信息请参考技术文档 |
Parameter Examples
Content-Type:"application/json"sign:"FPFVT3o227JrFRbqu19boZCpVVTF9KznxyRawUmxpfXilHV/0yK46haPhAjNu1hPUMy7Vw/ILXhfzffNm4Fj0apWknlTY9OJxnSoQxS9BTFtc61tn5yV1q69x/kkBl82/qwg+XTJ4fOzy7Mar3VaC1E2PlDA6RkkKBUyNE6RYgsdB+Su7an4+4HVTNAnoe74WyvBgxTLMNg28igBTdqxaO3w/UBY6ObVp7vkqkQGdL1Y+HgmMYaAVwrM3+ALWGId0sJ+YqTY4WJ+0xCRGhaSnybiIjZsQEYyID68WNUfuavDLDsEhaMm/HfQvf5p0R1Ltovp3wwJnEbQcjY458iX5A=="
Request Body
Content-Type: application/json
| Field | Type | Required | Constraints | Description | Enum |
|---|---|---|---|---|---|
spMerchantNo | string | No | Merchant ID of ISV service provider | ||
data | object | Yes | Case information | ||
data.batchId | string | No | maxLength: 64 | Case batch number, which must be filled in for batch reply, and must be blank for single reply | |
data.caseId | string | No | maxLength: 64 | Case number, which must be filled in for single reply, and must be blank for batch reply. | |
data.outUserId | string | Yes | maxLength: 64 | User ID | |
data.responseContent | string | Yes | maxLength: 256 | Merchant reply contents | |
data.representmentFile | array[string] | Yes | Each file path in the file list shall end with filename.extension. No Chinese characters or special symbols are allowed. Supported formats: PNG, JPG, ZIP, DOC, XLS, PDF. It is recommended to name files using case ID for easy traceability. Complete URL examples:["http://xxx/O20211118090801.ZIP", "http://xxx/O202111118090802.PDF"] | ||
version | string | Yes | API version. Current value: 1.5 | ||
keyVersion | string | Yes | Signature Algorithm Version, Current value: 1 | ||
requestTime | string | Yes | Request time, compliant with rfc3339 specification, format: yyyy-MM-dd'T'HH:mm:ss.SSSXXX The time must be within two minutes of the current time | ||
appId | string | Yes | Merchant AppId,The unique identifier assigned to the merchant app by PayerMax | ||
merchantNo | string | No | maxLength: 32 | Merchant Id, the unique identifier generated when the merchant signs the contract with PayerMax |
Example
json
{
"version": "1.4",
"keyVersion": "1",
"requestTime": "{{requestTime}}",
"appId": "127d5de5b5124d11b9132c6ec9cc61d3",
"merchantNo": "010113864671194",
"spMerchantNo": "",
"data": {
"batchId": "",
"caseId": "O20230608124011368140006803",
"outUserId": "uft_user_1686228003452",
"responseContent": "测试文件地址",
"representmentFile": [
"https://img6.bdstatic.com/img/image/public/imgcopyright_index1.jpg"
]
}
}Responses
200
| Field | Type | Required | Constraints | Description | Enum |
|---|---|---|---|---|---|
data | object | Yes | case data | ||
data.successCaseIds | array[string] | No | |||
data.failCaseIds | array[string] | No | |||
code | string | Yes | Return code, ‘APPLY_SUCCESS’ means success | ||
msg | string | Yes | Return message, ‘Success.’ |
