Skip to main content
GET
/
user
/
v1
/
cards
List cards
curl --request GET \
  --url https://api.machines.cash/user/v1/cards \
  --header 'Authorization: Bearer <token>'
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.machines.cash/user/v1/cards', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
import requests

url = "https://api.machines.cash/user/v1/cards"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
{
  "ok": true,
  "data": {},
  "summary": "success"
}
{
"error": "<string>",
"message": "<string>"
}
{
"error": "<string>",
"message": "<string>"
}
{
"error": "<string>",
"message": "<string>"
}
{
"error": "<string>",
"message": "<string>"
}
{
"error": "<string>",
"message": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer session token for User API operations. Legacy UserSessionBearer naming remains supported.

Response

Success

ok
boolean
data
object
summary
string
errors
object[]
next
string