List card payments
curl --request GET \
--url https://api.sandbox.iron.xyz/api/cards/paymentsimport requests
url = "https://api.sandbox.iron.xyz/api/cards/payments"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.sandbox.iron.xyz/api/cards/payments', 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.sandbox.iron.xyz/api/cards/payments",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.sandbox.iron.xyz/api/cards/payments"
req, _ := http.NewRequest("GET", url, nil)
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.sandbox.iron.xyz/api/cards/payments")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sandbox.iron.xyz/api/cards/payments")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"items": [
{
"amount": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"card_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"customer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"merchant": {
"city": "<string>",
"country": "<string>",
"descriptor": "<string>",
"mcc": "<string>",
"acceptor_id": "<string>",
"acquiring_institution_id": "<string>",
"phone_number": "<string>",
"postal_code": "<string>",
"state": "<string>",
"street_address": "<string>"
},
"merchant_amount": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"status": "created",
"updated_at": "2023-11-07T05:31:56Z",
"expires_at": "2023-11-07T05:31:56Z",
"network": "amex",
"original_amount": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"original_merchant_amount": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"result": "approved",
"token_type": "apple_pay"
}
],
"cursor": "<string>",
"prev_cursor": null
}Cards
List card payments
GET
/
cards
/
payments
List card payments
curl --request GET \
--url https://api.sandbox.iron.xyz/api/cards/paymentsimport requests
url = "https://api.sandbox.iron.xyz/api/cards/payments"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.sandbox.iron.xyz/api/cards/payments', 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.sandbox.iron.xyz/api/cards/payments",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.sandbox.iron.xyz/api/cards/payments"
req, _ := http.NewRequest("GET", url, nil)
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.sandbox.iron.xyz/api/cards/payments")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.sandbox.iron.xyz/api/cards/payments")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"items": [
{
"amount": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"card_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"customer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"merchant": {
"city": "<string>",
"country": "<string>",
"descriptor": "<string>",
"mcc": "<string>",
"acceptor_id": "<string>",
"acquiring_institution_id": "<string>",
"phone_number": "<string>",
"postal_code": "<string>",
"state": "<string>",
"street_address": "<string>"
},
"merchant_amount": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"status": "created",
"updated_at": "2023-11-07T05:31:56Z",
"expires_at": "2023-11-07T05:31:56Z",
"network": "amex",
"original_amount": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"original_merchant_amount": {
"amount": "100.5",
"currency": {
"code": "USD",
"type": "Fiat"
}
},
"result": "approved",
"token_type": "apple_pay"
}
],
"cursor": "<string>",
"prev_cursor": null
}Headers
Optional sub-partner UUID; lists that sub-partner's card payments
Selects the API version for this request, as an ISO date (YYYY-MM-DD). Omit to use the default version (2025-03-13). Supported versions: 2025-03-13, 2026-07-01, 2026-08-01, 2026-10-01, 2026-10-15.
Query Parameters
Only this customer's payments
Only payments made with this card
Paging: the requested page size (max 100)
Required range:
1 <= x <= 100Paging: the cursor field from the previous page
Response
200 - application/json; charset=utf-8
Was this page helpful?