Activate payment request

View as Markdown
## Activate payment request Moves the payment request `:id` to the `ACTIVE` status (numeric 3), making it payable again. The request must belong to the store resolved from the API key. ### Authentication Send the merchant API key in `x-api-key`. Requires scope `Merchant.payment_link.update`. Optionally scope with `x-application-account-id`. ### Path parameters - `id` — payment request id. There is **no request body**. Returns the updated payment request shaped by its type (PaymentLinkResponseDto or BillingInvoiceResponseDto). --- **Notas:** Handler: lifecycleService.setActive(user, id, true). Accepts deprecated alias PATCH /v1/payment-links/:id/activate. Counterpart of /deactivate.

Authentication

x-api-keystring
API Key authentication via header

Path parameters

idstringRequired
Id of the payment request to activate.

Headers

x-application-account-idstringOptional

Scope the request to a specific store / account instead of the one resolved from the API key. Aliases: the x-account-id header, or the application_account_id / account_id query parameter.