This will allow you to search for a payment transaction inside Kartra, and to verify whether the transaction exists, or not.
Type | Parameters | Values |
POST | cmd* | search_transaction |
POST | transaction_id* | integer |
* Required fields Here is an example:
'actions' => [ '0' => [ 'cmd' => 'search_transaction', 'transaction_id' => 1 ] ]
Success message:
{ "status": "Success", "message": "Transaction exists" }
Error Cases:
Type Number | Message | Cause |
247 | Transaction doesn't exist |
|
{ "status": "Error", "message": "Transaction doesn't exist", "type": "247" }