Check the Status of a Transaction
August 03, 2023
Learn how to check the status of a transfer
Kushki gives you two options to check the status of a transfer:
- Webhook for one-time transfer payments.
- Use Kushki’s API.
This article explains how to check the status of a wire transfer transaction through Kushki’s API.
How to obtain the status of a transaction?
First, you must identify the token of the transaction that you want to check. Then, make a call to our transaction status query endpoint from your back end and include token
as the path parameter of the request.
- Javascript
- Python
- PHP
var request = require("request");var options = {method: 'GET',headers: ['Private-Merchant-Id': '0c0b08cd92fc491fb37365170164f7e9', // Replace this with your Private Key'Content-Type': 'application/json']url: 'https://api-uat.kushkipagos.com/transfer/v1/status/0f1afedfdef74411be54394cc9a2c145', // Ambiente de pruebaheaders: {'content-type': 'application/json'}};request(options, function (error, response, body) {if (error) throw new Error(error);console.log(body);});
import requestsurl = "https://api-uat.kushkipagos.com/transfer/v1/status/0f1afedfdef74411be54394cc9a2c145"payload = {}headers = {'Content-Type': 'application/json','Private-Merchant-Id': '0c0b08cd92fc491fb37365170164f7e9' // Replace this with your Private Key}response = requests.request("GET", url, headers=headers, data=payload)print(response.text)
$client = new http\Client;$request = new http\Client\Request;$request->setRequestUrl('https://api-uat.kushkipagos.com/transfer/v1/status/0f1afedfdef74411be54394cc9a2c145');$request->setRequestMethod('GET');$request->setHeaders(array('Private-Merchant-Id' => '0c0b08cd92fc491fb37365170164f7e9', // Replace this with your Private Key'Content-Type' => 'application/json'));$client->enqueue($request)->send();$response = $client->getResponse();echo $response->getBody();