Check Status
To process a transaction using txshield, send parameters with HTTPS POST via jason format to https://office.paywiser.com/api/v1/index.php/{ptxid}/getstatus?hash=.
HTTP Request
GET https://office.paywiser.com/api/v1/index.php/{ptxid}/getstatus?hash=
Query Parameters
Parameter | Required | Description |
---|---|---|
ptxid | Yes | Parent txid of the transaction |
hash | Yes | md5 hash of strings concatenation from sid + rcode e.g. (in PHP): md5(‘22’.‘222b6c’) |
Response
Parameter | DataType | 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. |
parrent_txid | String | Parent transaction id |
txid | String | The transaction ID |
tx_action | String | Default Value - CREDIT |
amount | String | The amount processed. |
currency | String | The currency in which the transaction was processed |
comment | String | Response from the gateway |
reference | String | Reference |
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 ensure your post back data was not modified. To generate hash with sha256 the string of sid;rcode;txid;status;amount;currency;txaction |