Skip to main content
GET
/
api
/
public
/
v1
/
payment-instruments
/
{paymentInstrumentId}
Get payment instrument by ID
curl --request GET \
  --url https://app.tagadapay.com/api/public/v1/payment-instruments/{paymentInstrumentId} \
  --header 'Authorization: Bearer <token>'
{
  "id": "pi_123",
  "type": "card",
  "customerId": "cus_123",
  "accountId": "acc_123",
  "isActive": true,
  "isDefault": false,
  "tokenizer": "basistheory",
  "createdAt": "2024-03-20T10:30:00Z",
  "card": {
    "last4": "1234",
    "brand": "visa",
    "expYear": 2025,
    "expMonth": 12
  },
  "customer": {
    "id": "cus_123",
    "email": "john@example.com",
    "firstName": "John",
    "lastName": "Doe"
  },
  "cardEnrichment": {
    "funding": "credit",
    "segment": "premium"
  },
  "processorTokens": []
}

Authorizations

Authorization
string
header
required

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

Path Parameters

paymentInstrumentId
string
required

Response

Successful response

The response is of type any.