List payment methods
Endpoint
Section titled “Endpoint”GET /v1/billing/payment-methods
Authentication
Section titled “Authentication”No authentication required.
cURL Example
Section titled “cURL Example”curl -X GET "https://api.sapiom.ai/v1/billing/payment-methods" \ -H "Authorization: Bearer YOUR_API_KEY"Response
Section titled “Response”{ "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" } ]}Error Responses
Section titled “Error Responses”| Status | Code | Description |
|---|---|---|
| 401 | - | Unauthorized |
See Error Codes for full reference.