Change payment card
POST/v1/payments/:id/change-card
Replaces the credit card on a failed Pagar.me payment. The new card must be pre-registered in payment_methods.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 422
- 429
- 500
Card changed.
Request body failed validation.
Missing or invalid bearer token.
Token is valid but lacks permission for this operation.
Resource not found in the current organization.
Request body failed validation.
Rate limit exceeded.
Unexpected server error.