Transaction status
小于 1 分钟
Pakistan region transaction status inquiry API (PKR).
Request
Request Path:
sandbox:
https://sandbox-gateway.smilepayz.com/v2.0/inquiry-status
production:https://gateway.smilepayz.com/v2.0/inquiry-status
Header Parameters
| Field | Required | Type | Description |
|---|---|---|---|
Content-Type | M | String | application/json request body. |
X-TIMESTAMP | M | String | Format: yyyy-MM-ddTHH:mm:ss±HH:mm |
X-SIGNATURE | M | String | Signature of JSON body (see product Signature doc). |
X-PARTNER-ID | M | String | Your merchantID. |
Body Parameters
| Field | Required | Type | Description |
|---|---|---|---|
tradeType | M | Number | 1 = Pay-in, 2 = Pay-out. |
orderNo | C | String(32) | Merchant order number. |
tradeNo | C | String(32) | Smilepayz trade number. |
At least one of tradeNo or orderNo must be sent.
Example Body
{
"tradeType": 2,
"orderNo": "PKR_PAYOUT_10001"
}
Response
| Field | Required | Type | Description |
|---|---|---|---|
code | M | String | 00 success; see Error codes. |
message | M | String | Result message. |
tradeNo | O | String | Smilepayz trade number. |
tradeType | O | Number | 1 Pay-in / 2 Pay-out. |
paymentMethod | O | String | See Payment methods. |
money.currency | O | String | PKR. |
money.amount | O | Number | Order amount. |
status | O | String | INIT, PROCESSING, SUCCESS, FAILED, or EXPIRED. |

