Skip to main content
POST
/
api
/
public
/
v1
/
payment-instruments
/
list
curl --request POST \
  --url https://app.tagadapay.com/api/public/v1/payment-instruments/list \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "page": 1,
  "pageSize": 20,
  "sortBy": {
    "field": "createdAt",
    "direction": "desc"
  }
}
'
{
  "items": [
    {
      "id": "pi_123",
      "type": "card",
      "customerId": "cus_123",
      "accountId": "acc_123",
      "isActive": true,
      "isDefault": false,
      "tokenizer": "basistheory",
      "createdAt": "2024-03-20T10:30:00Z",
      "updatedAt": "2024-03-20T10:30:00Z",
      "card": {
        "last4": "1234",
        "brand": "visa",
        "expYear": 2025,
        "expMonth": 12
      },
      "metadata": {}
    }
  ],
  "total": 50,
  "page": 1,
  "pageSize": 20,
  "totalPages": 3
}

Authorizations

Authorization
string
header
required

Enter your API key as: Bearer your-api-key

Body

application/json
page
integer
default:1
Required range: x >= 1
pageSize
integer
default:20
Required range: 1 <= x <= 100
sortBy
object
filters
object

Response

Successful response