Proof
Tips
- All requests are
Post
requests, and the data format isjson
Request URL
/v1/paypro/indonesia/query/voucher
Request Method
- Post
Header
Name | Required | Type | Desc |
---|---|---|---|
merchantNo | Y | string | - |
sign | Y | string | encrypt |
Request Body Parameters
Name | Required | Type | Desc |
---|---|---|---|
tradeNo | Y | string | Paypro transaction number |
timestamp | Y | string | Timestamp |
Request Example
{
"timestamp": "1728613320708",
"tradeNo": "test_00000002"
}
Successful Response Example
Parameter name | Required | Type | Description |
---|---|---|---|
msg | yes | string | Request result |
code | yes | string | Request response code |
timestamp | yes | string | Timestamp๏ผ1715941383720๏ผ |
success | yes | string | Results |
data | yes | Object | Return object |
data.url | yes | string | URL address of payment voucher |
data.message | yes | string | description |
{
"msg": "success",
"code": "0000",
"timestamp": 1728613339884,
"success": true,
"data": {
"url": "https://voucher.paypro.tech/temp/20251021/a853c493cbee440cb5ea76c4efa9e919/8713255807.pdf",
"message": "Voucher generation succeeded"
}
}