List Transactions (without pagination)
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.valox.co/api/v1/transactions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://api.valox.co/api/v1/transactions \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.valox.co/api/v1/transactions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.valox.co/api/v1/transactions"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.valox.co/api/v1/transactions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.valox.co/api/v1/transactions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body[
{
"threadId": "1234567890",
"createdAt": "2023-11-07T05:31:56Z",
"clearedAt": "2023-11-07T05:31:56Z",
"country": {
"name": "<string>",
"numeric": "<string>",
"alpha2": "<string>",
"alpha3": "<string>"
},
"isPending": true,
"mcc": "<string>",
"merchant": {
"name": "<string>",
"city": "<string>",
"country": {
"name": "<string>",
"numeric": "<string>",
"alpha2": "<string>",
"alpha3": "<string>"
}
},
"billingAmount": "<string>",
"billingCurrency": {
"symbol": "<string>",
"code": "<string>",
"decimals": 123,
"name": "<string>"
},
"transactionAmount": "<string>",
"transactionCurrency": {
"symbol": "<string>",
"code": "<string>",
"decimals": 123,
"name": "<string>"
},
"transactionType": "<string>",
"cardToken": "<string>",
"transactions": [
{
"status": "Unsubmitted",
"to": "<string>",
"value": "<string>",
"data": "<string>",
"hash": "<string>"
}
],
"kind": "Payment",
"status": "Approved"
}
]{
"message": "<string>"
}{
"error": "Internal server error"
}Transactions
List Transactions (without pagination)
deprecated
This endpoint is deprecated. Please use /api/v1/cards/transactions instead. Retrieves transactions for all activated cards of the authenticated user
GET
/
api
/
v1
/
transactions
List Transactions (without pagination)
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.valox.co/api/v1/transactions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://api.valox.co/api/v1/transactions \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.valox.co/api/v1/transactions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.valox.co/api/v1/transactions"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.valox.co/api/v1/transactions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.valox.co/api/v1/transactions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body[
{
"threadId": "1234567890",
"createdAt": "2023-11-07T05:31:56Z",
"clearedAt": "2023-11-07T05:31:56Z",
"country": {
"name": "<string>",
"numeric": "<string>",
"alpha2": "<string>",
"alpha3": "<string>"
},
"isPending": true,
"mcc": "<string>",
"merchant": {
"name": "<string>",
"city": "<string>",
"country": {
"name": "<string>",
"numeric": "<string>",
"alpha2": "<string>",
"alpha3": "<string>"
}
},
"billingAmount": "<string>",
"billingCurrency": {
"symbol": "<string>",
"code": "<string>",
"decimals": 123,
"name": "<string>"
},
"transactionAmount": "<string>",
"transactionCurrency": {
"symbol": "<string>",
"code": "<string>",
"decimals": 123,
"name": "<string>"
},
"transactionType": "<string>",
"cardToken": "<string>",
"transactions": [
{
"status": "Unsubmitted",
"to": "<string>",
"value": "<string>",
"data": "<string>",
"hash": "<string>"
}
],
"kind": "Payment",
"status": "Approved"
}
]{
"message": "<string>"
}{
"error": "Internal server error"
}Authorizations
Query Parameters
Response
Successful response
- Option 1
- Option 2
- Option 3
Whether the transaction is pending settlement.
- For Payments: true when authorized but not yet cleared, false when settled
- For Refunds: can be true if additional clearing steps are pending, typically false since they require both auth + clearing to appear
- For Reversals: typically false as they're usually processed quickly
First 2 digits of the DE3 field (ISO 8583), representing the transaction type code. Common values include (not limited to):
- "00": Purchase (POS)
- "01": Withdrawal (ATM)
- "10": Account Funding
- "20": Return of Goods
- "28": Prepaid Load
- "30": Balance Inquiry
- "70": PIN Change
- "72": PIN Unblock

