Complete payment method addition
Endpoint
Section titled “Endpoint”POST /v1/billing/payment-methods/{id}/complete
Authentication
Section titled “Authentication”No authentication required.
Path Parameters
Section titled “Path Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Payment method request ID returned from POST /billing/payment-methods |
cURL Example
Section titled “cURL Example”curl -X POST "https://api.sapiom.ai/v1/billing/payment-methods/:id/complete" \ -H "Authorization: Bearer YOUR_API_KEY"Response
Section titled “Response”{ "paymentMethod": null, "requiresReview": false, "reviewReason": "Card used across 4 accounts"}Error Responses
Section titled “Error Responses”| Status | Code | Description |
|---|---|---|
| 400 | - | Request expired, not completed with provider, or card blocked |
| 401 | - | Unauthorized |
| 404 | - | Request not found |
| 409 | - | Request already completed or card already registered |
See Error Codes for full reference.