curl --request POST \
--url https://api.quidkey.com/v1/merchants/{id}/transactions:search \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"type": [],
"status": [],
"currency": [
"<string>"
],
"amount": {
"gte": 4503599627370495,
"gt": 4503599627370495,
"lte": 4503599627370495,
"lt": 4503599627370495
},
"created_at": {
"gte": "2023-11-07T05:31:56Z",
"gt": "2023-11-07T05:31:56Z",
"lte": "2023-11-07T05:31:56Z",
"lt": "2023-11-07T05:31:56Z"
},
"payment_link_id": [
"<string>"
],
"payout_id": [
"<string>"
],
"order_id": [
"<string>"
],
"is_test": false,
"q": "<string>",
"customer_email": "jsmith@example.com"
}
'import requests
url = "https://api.quidkey.com/v1/merchants/{id}/transactions:search"
payload = {
"type": [],
"status": [],
"currency": ["<string>"],
"amount": {
"gte": 4503599627370495,
"gt": 4503599627370495,
"lte": 4503599627370495,
"lt": 4503599627370495
},
"created_at": {
"gte": "2023-11-07T05:31:56Z",
"gt": "2023-11-07T05:31:56Z",
"lte": "2023-11-07T05:31:56Z",
"lt": "2023-11-07T05:31:56Z"
},
"payment_link_id": ["<string>"],
"payout_id": ["<string>"],
"order_id": ["<string>"],
"is_test": False,
"q": "<string>",
"customer_email": "jsmith@example.com"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
type: [],
status: [],
currency: ['<string>'],
amount: {
gte: 4503599627370495,
gt: 4503599627370495,
lte: 4503599627370495,
lt: 4503599627370495
},
created_at: {
gte: '2023-11-07T05:31:56Z',
gt: '2023-11-07T05:31:56Z',
lte: '2023-11-07T05:31:56Z',
lt: '2023-11-07T05:31:56Z'
},
payment_link_id: ['<string>'],
payout_id: ['<string>'],
order_id: ['<string>'],
is_test: false,
q: '<string>',
customer_email: 'jsmith@example.com'
})
};
fetch('https://api.quidkey.com/v1/merchants/{id}/transactions:search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.quidkey.com/v1/merchants/{id}/transactions:search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'type' => [
],
'status' => [
],
'currency' => [
'<string>'
],
'amount' => [
'gte' => 4503599627370495,
'gt' => 4503599627370495,
'lte' => 4503599627370495,
'lt' => 4503599627370495
],
'created_at' => [
'gte' => '2023-11-07T05:31:56Z',
'gt' => '2023-11-07T05:31:56Z',
'lte' => '2023-11-07T05:31:56Z',
'lt' => '2023-11-07T05:31:56Z'
],
'payment_link_id' => [
'<string>'
],
'payout_id' => [
'<string>'
],
'order_id' => [
'<string>'
],
'is_test' => false,
'q' => '<string>',
'customer_email' => 'jsmith@example.com'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.quidkey.com/v1/merchants/{id}/transactions:search"
payload := strings.NewReader("{\n \"type\": [],\n \"status\": [],\n \"currency\": [\n \"<string>\"\n ],\n \"amount\": {\n \"gte\": 4503599627370495,\n \"gt\": 4503599627370495,\n \"lte\": 4503599627370495,\n \"lt\": 4503599627370495\n },\n \"created_at\": {\n \"gte\": \"2023-11-07T05:31:56Z\",\n \"gt\": \"2023-11-07T05:31:56Z\",\n \"lte\": \"2023-11-07T05:31:56Z\",\n \"lt\": \"2023-11-07T05:31:56Z\"\n },\n \"payment_link_id\": [\n \"<string>\"\n ],\n \"payout_id\": [\n \"<string>\"\n ],\n \"order_id\": [\n \"<string>\"\n ],\n \"is_test\": false,\n \"q\": \"<string>\",\n \"customer_email\": \"jsmith@example.com\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.quidkey.com/v1/merchants/{id}/transactions:search")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"type\": [],\n \"status\": [],\n \"currency\": [\n \"<string>\"\n ],\n \"amount\": {\n \"gte\": 4503599627370495,\n \"gt\": 4503599627370495,\n \"lte\": 4503599627370495,\n \"lt\": 4503599627370495\n },\n \"created_at\": {\n \"gte\": \"2023-11-07T05:31:56Z\",\n \"gt\": \"2023-11-07T05:31:56Z\",\n \"lte\": \"2023-11-07T05:31:56Z\",\n \"lt\": \"2023-11-07T05:31:56Z\"\n },\n \"payment_link_id\": [\n \"<string>\"\n ],\n \"payout_id\": [\n \"<string>\"\n ],\n \"order_id\": [\n \"<string>\"\n ],\n \"is_test\": false,\n \"q\": \"<string>\",\n \"customer_email\": \"jsmith@example.com\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.quidkey.com/v1/merchants/{id}/transactions:search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"type\": [],\n \"status\": [],\n \"currency\": [\n \"<string>\"\n ],\n \"amount\": {\n \"gte\": 4503599627370495,\n \"gt\": 4503599627370495,\n \"lte\": 4503599627370495,\n \"lt\": 4503599627370495\n },\n \"created_at\": {\n \"gte\": \"2023-11-07T05:31:56Z\",\n \"gt\": \"2023-11-07T05:31:56Z\",\n \"lte\": \"2023-11-07T05:31:56Z\",\n \"lt\": \"2023-11-07T05:31:56Z\"\n },\n \"payment_link_id\": [\n \"<string>\"\n ],\n \"payout_id\": [\n \"<string>\"\n ],\n \"order_id\": [\n \"<string>\"\n ],\n \"is_test\": false,\n \"q\": \"<string>\",\n \"customer_email\": \"jsmith@example.com\"\n}"
response = http.request(request)
puts response.read_body{
"result": [
{
"_type": "transaction",
"_uri": "<string>",
"_view": "summary",
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"type": "payment",
"is_test": true,
"transaction_number": "<string>",
"status": "pending",
"amount": {
"value": 4503599627370495,
"currency": "<string>"
},
"payout_amount": {
"value": 4503599627370495,
"currency": "<string>"
},
"exchange_rate": {
"rate": "<string>",
"from_currency": "<string>",
"to_currency": "<string>"
},
"routing": "virtual_account",
"refund_status": "refunding",
"can_refund": true,
"order": {
"order_id": "<string>"
},
"platform": "api",
"merchant": {
"_link": "<string>",
"_type": "merchant",
"id": "<string>"
},
"customer_details": {
"_link": "<string>",
"_type": "customer_details",
"id": "<string>"
},
"payout": {
"_link": "<string>",
"_type": "payout",
"id": "<string>"
}
}
],
"entities": {},
"not_included": [
{
"link": {
"_link": "<string>",
"_type": "<string>",
"id": "<string>"
},
"reason": "no_permission"
}
],
"pagination": {
"type": "cursor",
"limit": 50,
"next_cursor": "<string>",
"has_more": true
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"field": "<string>",
"message": "<string>"
}
],
"retryable": true,
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"field": "<string>",
"message": "<string>"
}
],
"retryable": true,
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"field": "<string>",
"message": "<string>"
}
],
"retryable": true,
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"field": "<string>",
"message": "<string>"
}
],
"retryable": true,
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"field": "<string>",
"message": "<string>"
}
],
"retryable": true,
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"field": "<string>",
"message": "<string>"
}
],
"retryable": true,
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"field": "<string>",
"message": "<string>"
}
],
"retryable": true,
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"field": "<string>",
"message": "<string>"
}
],
"retryable": true,
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"field": "<string>",
"message": "<string>"
}
],
"retryable": true,
"request_id": "<string>"
}
}Search transactions
Takes the list’s filters in a JSON body, plus q and customer_email, which carry personal data and don’t belong in a query string. Answers as the list does, in the same order, as JSON or as a file. The “Transaction export” reference lists the columns of its file. A file also needs transactions:get, since each row is a full transaction.
With Accept: text/csv or Accept: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, answers the whole result as one file, with one row per record. A file takes no limit, cursor or include, and a result of more than 10000 rows answers EXPORT_TOO_LARGE.
Credentials: partner, merchant
Permission: transactions:list
curl --request POST \
--url https://api.quidkey.com/v1/merchants/{id}/transactions:search \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"type": [],
"status": [],
"currency": [
"<string>"
],
"amount": {
"gte": 4503599627370495,
"gt": 4503599627370495,
"lte": 4503599627370495,
"lt": 4503599627370495
},
"created_at": {
"gte": "2023-11-07T05:31:56Z",
"gt": "2023-11-07T05:31:56Z",
"lte": "2023-11-07T05:31:56Z",
"lt": "2023-11-07T05:31:56Z"
},
"payment_link_id": [
"<string>"
],
"payout_id": [
"<string>"
],
"order_id": [
"<string>"
],
"is_test": false,
"q": "<string>",
"customer_email": "jsmith@example.com"
}
'import requests
url = "https://api.quidkey.com/v1/merchants/{id}/transactions:search"
payload = {
"type": [],
"status": [],
"currency": ["<string>"],
"amount": {
"gte": 4503599627370495,
"gt": 4503599627370495,
"lte": 4503599627370495,
"lt": 4503599627370495
},
"created_at": {
"gte": "2023-11-07T05:31:56Z",
"gt": "2023-11-07T05:31:56Z",
"lte": "2023-11-07T05:31:56Z",
"lt": "2023-11-07T05:31:56Z"
},
"payment_link_id": ["<string>"],
"payout_id": ["<string>"],
"order_id": ["<string>"],
"is_test": False,
"q": "<string>",
"customer_email": "jsmith@example.com"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
type: [],
status: [],
currency: ['<string>'],
amount: {
gte: 4503599627370495,
gt: 4503599627370495,
lte: 4503599627370495,
lt: 4503599627370495
},
created_at: {
gte: '2023-11-07T05:31:56Z',
gt: '2023-11-07T05:31:56Z',
lte: '2023-11-07T05:31:56Z',
lt: '2023-11-07T05:31:56Z'
},
payment_link_id: ['<string>'],
payout_id: ['<string>'],
order_id: ['<string>'],
is_test: false,
q: '<string>',
customer_email: 'jsmith@example.com'
})
};
fetch('https://api.quidkey.com/v1/merchants/{id}/transactions:search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.quidkey.com/v1/merchants/{id}/transactions:search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'type' => [
],
'status' => [
],
'currency' => [
'<string>'
],
'amount' => [
'gte' => 4503599627370495,
'gt' => 4503599627370495,
'lte' => 4503599627370495,
'lt' => 4503599627370495
],
'created_at' => [
'gte' => '2023-11-07T05:31:56Z',
'gt' => '2023-11-07T05:31:56Z',
'lte' => '2023-11-07T05:31:56Z',
'lt' => '2023-11-07T05:31:56Z'
],
'payment_link_id' => [
'<string>'
],
'payout_id' => [
'<string>'
],
'order_id' => [
'<string>'
],
'is_test' => false,
'q' => '<string>',
'customer_email' => 'jsmith@example.com'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.quidkey.com/v1/merchants/{id}/transactions:search"
payload := strings.NewReader("{\n \"type\": [],\n \"status\": [],\n \"currency\": [\n \"<string>\"\n ],\n \"amount\": {\n \"gte\": 4503599627370495,\n \"gt\": 4503599627370495,\n \"lte\": 4503599627370495,\n \"lt\": 4503599627370495\n },\n \"created_at\": {\n \"gte\": \"2023-11-07T05:31:56Z\",\n \"gt\": \"2023-11-07T05:31:56Z\",\n \"lte\": \"2023-11-07T05:31:56Z\",\n \"lt\": \"2023-11-07T05:31:56Z\"\n },\n \"payment_link_id\": [\n \"<string>\"\n ],\n \"payout_id\": [\n \"<string>\"\n ],\n \"order_id\": [\n \"<string>\"\n ],\n \"is_test\": false,\n \"q\": \"<string>\",\n \"customer_email\": \"jsmith@example.com\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.quidkey.com/v1/merchants/{id}/transactions:search")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"type\": [],\n \"status\": [],\n \"currency\": [\n \"<string>\"\n ],\n \"amount\": {\n \"gte\": 4503599627370495,\n \"gt\": 4503599627370495,\n \"lte\": 4503599627370495,\n \"lt\": 4503599627370495\n },\n \"created_at\": {\n \"gte\": \"2023-11-07T05:31:56Z\",\n \"gt\": \"2023-11-07T05:31:56Z\",\n \"lte\": \"2023-11-07T05:31:56Z\",\n \"lt\": \"2023-11-07T05:31:56Z\"\n },\n \"payment_link_id\": [\n \"<string>\"\n ],\n \"payout_id\": [\n \"<string>\"\n ],\n \"order_id\": [\n \"<string>\"\n ],\n \"is_test\": false,\n \"q\": \"<string>\",\n \"customer_email\": \"jsmith@example.com\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.quidkey.com/v1/merchants/{id}/transactions:search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"type\": [],\n \"status\": [],\n \"currency\": [\n \"<string>\"\n ],\n \"amount\": {\n \"gte\": 4503599627370495,\n \"gt\": 4503599627370495,\n \"lte\": 4503599627370495,\n \"lt\": 4503599627370495\n },\n \"created_at\": {\n \"gte\": \"2023-11-07T05:31:56Z\",\n \"gt\": \"2023-11-07T05:31:56Z\",\n \"lte\": \"2023-11-07T05:31:56Z\",\n \"lt\": \"2023-11-07T05:31:56Z\"\n },\n \"payment_link_id\": [\n \"<string>\"\n ],\n \"payout_id\": [\n \"<string>\"\n ],\n \"order_id\": [\n \"<string>\"\n ],\n \"is_test\": false,\n \"q\": \"<string>\",\n \"customer_email\": \"jsmith@example.com\"\n}"
response = http.request(request)
puts response.read_body{
"result": [
{
"_type": "transaction",
"_uri": "<string>",
"_view": "summary",
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"type": "payment",
"is_test": true,
"transaction_number": "<string>",
"status": "pending",
"amount": {
"value": 4503599627370495,
"currency": "<string>"
},
"payout_amount": {
"value": 4503599627370495,
"currency": "<string>"
},
"exchange_rate": {
"rate": "<string>",
"from_currency": "<string>",
"to_currency": "<string>"
},
"routing": "virtual_account",
"refund_status": "refunding",
"can_refund": true,
"order": {
"order_id": "<string>"
},
"platform": "api",
"merchant": {
"_link": "<string>",
"_type": "merchant",
"id": "<string>"
},
"customer_details": {
"_link": "<string>",
"_type": "customer_details",
"id": "<string>"
},
"payout": {
"_link": "<string>",
"_type": "payout",
"id": "<string>"
}
}
],
"entities": {},
"not_included": [
{
"link": {
"_link": "<string>",
"_type": "<string>",
"id": "<string>"
},
"reason": "no_permission"
}
],
"pagination": {
"type": "cursor",
"limit": 50,
"next_cursor": "<string>",
"has_more": true
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"field": "<string>",
"message": "<string>"
}
],
"retryable": true,
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"field": "<string>",
"message": "<string>"
}
],
"retryable": true,
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"field": "<string>",
"message": "<string>"
}
],
"retryable": true,
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"field": "<string>",
"message": "<string>"
}
],
"retryable": true,
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"field": "<string>",
"message": "<string>"
}
],
"retryable": true,
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"field": "<string>",
"message": "<string>"
}
],
"retryable": true,
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"field": "<string>",
"message": "<string>"
}
],
"retryable": true,
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"field": "<string>",
"message": "<string>"
}
],
"retryable": true,
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"field": "<string>",
"message": "<string>"
}
],
"retryable": true,
"request_id": "<string>"
}
}Authorizations
Query Parameters
Body
Response
A list of transaction, in the summary view. Or the whole result as one file, for an Accept that asks for one.