Skip to main content
POST
Deactivate a payment link
Send no body and no Content-Type (or the body {}). Checkouts already made are not affected, and the link can be activated again. Deactivating a link that is already DEACTIVATED changes nothing and answers it as it is; an EXPIRED link can’t be deactivated. Any member of the organization, or an admin of the realm, can deactivate one; updatedBy is set to the ID of the authenticated caller. Answers the link.

Path Parameters

realmId
string<uuid>
required

ID of your realm.

Format: UUID

organizationId
string<uuid>
required

ID of your organization: the one that sells through the link.

Format: UUID

ID of the payment link.

Format: UUID

Response

Successful response

A payment link.

id
string
required

ID of the payment link. The checkout page of the link is addressed by it.

Example:

"5c1e8d2a-7b4f-4e3a-9d6c-2a1b0f9e8d7c"

name
string
required

Name of the link.

Example:

"Plano anual"

status
enum<string>
required

ACTIVE: payers can check out. DEACTIVATED: switched off; it can be activated again. EXPIRED: its expirationDate passed; final.

Available options:
ACTIVE,
DEACTIVATED,
EXPIRED
Example:

"DEACTIVATED"

products
object[]
required

What the link sells.

expirationDate
string<date-time> | null
required

Last day the link can be paid (midnight UTC of that day), or null when it never expires.

Example:

"2026-12-31T00:00:00.000Z"

type
enum<string>
required

ONE_TIME: each checkout charges once. RECURRENT: monthly, numberOfInstallments times.

Available options:
RECURRENT,
ONE_TIME
Example:

"ONE_TIME"

paymentMethod
enum<string>[]
required

The ways the payer can choose from at checkout.


Example: ["PIX","BANK_SLIP"]

Available options:
BANK_SLIP,
PIX_INITIATION,
PIX,
PIX_AUTOMATIC
secondaryPaymentMethod
enum<string>[]
required

Other ways each invoice can also be paid. Empty when there are none.


Example: ["PIX"]

Available options:
BANK_SLIP,
PIX_INITIATION,
PIX,
PIX_AUTOMATIC
description
string

What the link sells. Absent when it has none.

Example:

"Acesso completo por 12 meses."

firstPaymentDate
object

When the first payment of a checkout is due, per payment method.

numberOfInstallments
integer

How many monthly payments a checkout of a RECURRENT link creates, or null (1).

Example:

null

createdAt
string<date-time>

When the link was created.

Example:

"2026-10-26T14:30:00.000Z"

updatedAt
string<date-time>

When the link was last changed.

Example:

"2026-10-28T09:15:00.000Z"