Remove payment method
Endpoint
Section titled “Endpoint”DELETE /v1/billing/payment-methods/{id}
Authentication
Section titled “Authentication”No authentication required.
Path Parameters
Section titled “Path Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Payment method ID |
cURL Example
Section titled “cURL Example”curl -X DELETE "https://api.sapiom.ai/v1/billing/payment-methods/:id" \ -H "Authorization: Bearer YOUR_API_KEY"Response
Section titled “Response”Error Responses
Section titled “Error Responses”| Status | Code | Description |
|---|---|---|
| 401 | - | Unauthorized |
| 404 | - | Payment method not found |
See Error Codes for full reference.