API Docs – Search Transaction Status
API DOCS
Paywiser Integration Guide
Search Transaction Status
To search a transaction using Rest API end point, the data can be sent using GET to https://merchant.paywiser.com/api/api.php/{{parent_txid}}/getstatus?hash={{hash}}. The result of the transaction will be sent as a json response.
Name | Data Type | Description |
---|---|---|
parent_txid | String | Parent transaction id |
hash | String | md5 hash of sid+ rcode |
Response
Name | Data Type | Description |
---|---|---|
sid | String | Has the sid where transaction was processed |
status | String | Has the value “OK” for a successful transaction, or “EXC” for a failed transaction. |
parent_txid | String | Parent transaction id |
txid | String | The transaction ID |
tx_action | String | The state change txaction, e.g. “PREAUTH” or “SETTLEMENT” |
amount | String | The amount processed. |
currency | String | The currency in which the transaction was processed |
error_msg | String | The error message |
tid | String | From the original transaction |
ref1 | String | From the original transaction |
ref2 | String | From the original transaction |
ref3 | String | From the original transaction |
ref4 | String | From the original transaction |
vrfy | String | This is a sha 256 hash so the data can be verified. To generate hash with sha256 the string of sid;rcode;txid;status;amount;currency;tx_action |