Alterar status do link
/payment-links/{link_id}Changes the status and/or expiration of a payment link.
Header Parameters
Bearer Token (JWT). x-seller-id, country, and tenant are extracted from the token.
Path Parameters
UUID v4 of the payment link
Body application/json
Response
Status updated
Payment methods configuration. At least one method must be enabled (enabled: true). **Availability by country:** | Method | BR | MX | AR | CL | ES | UY | |--------|----|----|----|----|----|----| | credit | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | debit | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | | bankslip | ✓ | — | — | — | — | — | | instant_payment | ✓ | — | — | — | — | — | | google_pay | ✓ | — | — | — | — | — | | apple_pay | ✓ | — | — | — | — | — | | c2p_master | — | — | ✓ | — | — | — |
ISO 4217 code (3 letters). Main ones: BRL, ARS, CLP, MXN, EUR, UYU, USD, COP, PEN
Bad request - validation error
Forbidden
Not found
Unprocessable entity
Internal server error