Kartra Documentation TECHNICAL DOCUMENTATION

Action: Search payment transaction

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
  • The transaction you are trying to find does not exist in our database.

An example of an error message:

{
  "status": "Error",
  "message": "Transaction doesn't exist",
  "type": "247"
}

© 2021 Kartra All Rights Reserved