Configure the payment link
This guide shows you how to add product images and configure installments by country and card brand. You can do both before or while you create a payment link.
How it works
The two settings are independent of each other. Keep the following in mind:
- Product images — upload an image first to get an
image_id, then reference thatimage_idin theproductsarray when creating or updating the link. You can optionally retrieve an image's binary content by its identifier. Accepted formats are PNG and JPEG, up to 250 MB. - Business configurations — you can enable or disable specific payment methods (credit, debit, Boleto, Pix, and others). Your choice determines which methods the buyer sees at checkout.
- Installments (credit only) — installments are configured per credit card brand, inside
payment.credit.brands[].supported_installments. Ifsupported_installmentsisnullor absent, the buyer pays in full in a single installment. Card-based methods (credit,debit) use abrands[]array to configure each brand, while other methods use only the{ "enabled": true }toggle. - How the installment fields relate —
installmentslists the valid counts,installments_with_interestmarks which of those carry interest, andinstallments_with_increaseassigns a percentage rate to groups of installments. - Region-specific schemas — the
schemadetermines the installment rules and varies by country (for example,plan_ahora/plan_emisor_accelerated/plan_getnet_integral/plan_nin Argentina,plan_lojista/plan_emissorin Brazil,plan_emisor/cuota_comercioin Chile andplan_prosain Mexico).
The product image configuration follows a short sequence:
Before you begin
- Get an access token. See Authentication.
Product images
image_id in the image_id field of each item in the products array when you create or update the link.Step 1 — Upload the image
| Endpoint |
|---|
POST /payment-links/products/images |
Request requirements
Content-Type: multipart/form-data- Accepted formats:
image/png,image/jpeg - Maximum size: 250 MB
| Attribute | Type | Description | Example |
|---|---|---|---|
file | binary | Image file (PNG or JPEG, max 250 MB) | product-photo.png |
Example request
Example response
Step 2 — Reference the image in a product
Step 3 (optional) — Retrieve the image
Use this endpoint to retrieve the binary content of an image by its identifier.
| Endpoint |
|---|
GET /payment-links/products/images/{image_id} |
| Field | Type | Description | Example |
|---|---|---|---|
image_id | string | Unique identifier of the image | 3fa85f64-5717-4562-b3fc-2c963f66afa6 |
Example request
Content-Type (image/png or image/jpeg).Example response
Business configurations
You can configure your payment link by enabling or disabling specific payment methods. These settings determine which methods the buyer sees at checkout, such as credit cards, debit cards, Boleto (bank slip), Pix (instant payment), or Click to Pay (Argentina only).
Installments
payment.credit.brands[].supported_installments. Each entry is an InstallmentPlan object representing an installment schema offered by the acquirer or issuer.credit, debit) have a brands[] array for per-brand configuration. Other methods use only the { "enabled": true } toggle. Installments apply only to credit card payments. If supported_installments is null or absent, the buyer pays in full in a single installment.For each country's installment rules, see Installment rules and availability.
| Endpoint |
|---|
POST /payment-links/business-configurations |
| Field | Type | Description | Example |
|---|---|---|---|
enabled | boolean | Enables or disables this brand | true or false |
brand | string | Card brand | VISA, MASTERCARD, AMEX, ELO, CABAL |
schema | string | Schema identifier. Determines the installment rules and varies by region | plan_lojista |
| Field | Type | Description | Example |
|---|---|---|---|
currencies | string | Currency codes (default: the currency of the seller's country) | ARS, BRL, CLP or MXN |
threeds | boolean | Requires 3D Secure authentication for this brand | true or false |
supported_installments | object | Installment plans (credit only). Null or absent = single payment | --- |
schema_name | string | Human-readable plan name | Plan Lojista |
installments | integer[] | Available installment counts | [2,3,6,12] |
installments_with_interest | integer[] | Subset of installments that carry interest. If empty, all installments are interest-free | [6,9,12] |
installments_with_increase | object | Groups of installments with an applied surcharge rate | --- |
Example request
How the fields relate
installmentslists the valid installment counts. For example,[2, 3, 6, 12]allows the buyer to pay in 2, 3, 6, or 12 installments.installments_with_interestindicates which of those installments carry interest. Ifinstallments = [2,3,6,12]andinstallments_with_interest = [6,12], then payments in 2 or 3 installments are interest-free, while payments in 6 or 12 installments carry interest.installments_with_increaseprovides rate-based pricing: each entry groups installments and assigns a percentage rate.
| Field | Type | Required | Description |
|---|---|---|---|
installments | integer[] | Yes | Installment counts to which this rate applies |
rate | number | Yes | Surcharge rate as a percentage (e.g., 1.5 = 1.5%) |
Example:
In this example, payments in 3 or 6 installments carry a 1.5% surcharge, and payments in 9 or 12 installments carry a 2.99% surcharge.
Regional schemas
| Country | Schema(s) | Currency | Typical brands |
|---|---|---|---|
| Argentina (AR) | plan_ahora, plan_emisor_accelerated, plan_getnet_integral, plan_n | ARS | VISA, MASTERCARD, AMEX, CABAL |
| Brazil (BR) | plan_lojista, plan_emissor | BRL | VISA, MASTERCARD, AMEX, ELO, HIPERCARD |
| Chile (CL) | plan_emisor, cuota_comercio | CLP | VISA, MASTERCARD, AMEX |
| Mexico (MX) | plan_prosa | MXN | VISA, MASTERCARD, AMEX, CARNET |
Pending confirmation (Argentina): the source also listsplan_getnet_simplesin one table. Confirm whether it is a valid schema.
Examples by country
Next steps
On this page