Update a Payment Method
POST/v1/payment-methods/:id
See the ONVO documentation for integration details and examples.
When you update the details of a card payment method, ONVO verifies the card again. If verification fails, the endpoint responds with 400 and code: "cards.invalid_card_info".
For handled declines, the response can include details.card. gateway_declined identifies a non-technical gateway/acquirer rule; processor_error identifies a technical failure. Use the top-level error fields as a fallback when details is absent.
Request
Responses
- 201
- 400
Bad Request. When updating a card payment method, it can also mean card verification failed.