List transactions for a card
curl --request GET \
--url https://b2b-api-sandbox.easyonramp.com/api/v1/cards/{cardId}/transactions \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://b2b-api-sandbox.easyonramp.com/api/v1/cards/{cardId}/transactions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://b2b-api-sandbox.easyonramp.com/api/v1/cards/{cardId}/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://b2b-api-sandbox.easyonramp.com/api/v1/cards/{cardId}/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))
}{
"data": [
{
"id": "<string>",
"card": {
"id": "550e8400-e29b-41d4-a716-446655440002",
"name": "Jane Doe Card"
},
"user": {
"id": "507f1f77bcf86cd799439013",
"name": "Jane Doe"
},
"status": "<string>",
"amount": 123,
"currency": "<string>",
"merchantName": "<string>",
"authorizedAt": "<string>"
}
],
"pagination": {
"pages": 5,
"current_page": 2,
"next_page": 3,
"previous_page": 1
}
}Cards
List transactions for a card
List authorizations and settlements for one card. Filter with status. Sort with sort (authorizedAt, amount, status). Select fields with fields.
GET
/
api
/
v1
/
cards
/
{cardId}
/
transactions
List transactions for a card
curl --request GET \
--url https://b2b-api-sandbox.easyonramp.com/api/v1/cards/{cardId}/transactions \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://b2b-api-sandbox.easyonramp.com/api/v1/cards/{cardId}/transactions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://b2b-api-sandbox.easyonramp.com/api/v1/cards/{cardId}/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://b2b-api-sandbox.easyonramp.com/api/v1/cards/{cardId}/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))
}{
"data": [
{
"id": "<string>",
"card": {
"id": "550e8400-e29b-41d4-a716-446655440002",
"name": "Jane Doe Card"
},
"user": {
"id": "507f1f77bcf86cd799439013",
"name": "Jane Doe"
},
"status": "<string>",
"amount": 123,
"currency": "<string>",
"merchantName": "<string>",
"authorizedAt": "<string>"
}
],
"pagination": {
"pages": 5,
"current_page": 2,
"next_page": 3,
"previous_page": 1
}
}Authorizations
Bearer JWT issued to your business account during onboarding
Path Parameters
Query Parameters
Page number (1-based, default 1)
Example:
"1"
Page size (default 50, max 100)
Example:
"50"
Sort by authorizedAt, amount, or status. Prefix - for descending.
Example:
"-authorizedAt"
Comma-separated fields: id, card, user, status, amount, currency, merchantName, authorizedAt
Example:
"id,amount,status"
Available options:
pending, completed, declined, reversed Example:
"completed"