Skip to content
Go To Dashboard

List payment methods

GET /v1/billing/payment-methods

No authentication required.

Terminal window
curl -X GET "https://api.sapiom.ai/v1/billing/payment-methods" \
-H "Authorization: Bearer YOUR_API_KEY"
{
"paymentMethods": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"cardBrand": "visa",
"cardLast4": "4242",
"cardExpMonth": 12,
"cardExpYear": 2025,
"cardFunding": "credit",
"isDefault": true,
"status": "active",
"createdAt": "2024-01-15T10:30:00.000Z"
}
]
}
StatusCodeDescription
401-Unauthorized

See Error Codes for full reference.