Skip to main content
Use this corridor when a payer in Chile needs to pay by card in CLP. Your server creates the payin; CBPay returns a hosted payment_url. Open it in a popup or redirect. Card data stays in the hosted fields and 3-D Secure runs inside the checkout modal when the issuer requests it.

Create the payin

idempotency_key is mandatory in the body or Idempotency-Key header. CLP is an integer currency: "150000.50" returns 422 core_rejected. Replaying the same key returns the original payin with idempotency_hit: true; never create a second key after an ambiguous result.

Hosted checkout and stored cards

Open payment_url in a popup. The checkout shows the waiting modal only for CL/CLP/card, validates the integer CLP amount before submit, and reports availability with a status indicator. Saving a card requires both the integrator’s offer and the payer’s consent. Later one-click and merchant- initiated charges use the server-side stored-card endpoint; the PAN is never sent to your server. The universal checkout quotes CL/CLP/card when the catalog reports it as available. Always read GET /platform/v1/payins/methods before showing the option.

Payer document (optional)

For card payins, customer is sent to the core as bill_to. You may provide document_type and document_number for fraud scoring. The document is optional: omitting both fields is valid. For CL, document_type defaults to RUT when a number is present and document_number must be a valid Chilean RUT (modulo 11, with or without punctuation). An invalid RUT is rejected before the charge claim with 400 invalid_payload. Other countries accept plain text up to 50 characters; markup and longer values are rejected.

Knowing whether the card was saved

When save_card: true was offered and the payer consented, an approved complete response includes card_saved. true means the credential was stored and can be used through the stored-card flow. false means the sale was approved but the card was not stored; show a clear message and do not charge the payer again. The field is omitted when saving was not offered or requested.

Issuer installments

For Chilean CLP card payins, the hosted checkout can offer issuer-financed installments. The payer first tokenizes the new card; only when the token reports deferred payment options does the page display the curated choices 3, 6, 12, 24, 36, and 48, limited to the issuer’s reported maximum. The payer then confirms the selected term and the checkout sends it in the public session completion request:
months is an integer. Omit it, or send 0 or 1, for a single payment. Values from 2 through 48 request issuer installments. The value is validated before the payment claim, so -2 or 99 returns 400 invalid_payload without consuming an attempt. Installments are supported only for a new front-tokenized card in the Chile issuer-installment flow. They are not supported for stored-card merchant-initiated charges (MIT), and the Commerce Installments beta is not part of this contract. Real verification rails reject an installment request; the front-token Kushki rail and the simulator are the supported paths. Never submit a second charge after an ambiguous result. An approved response includes the approved term as a receipt field, and the same value is retained in the charge audit payload:

UF card payins

The Chile card corridor also accepts currency: "UF". Send the amount as a decimal string with up to two decimal places:
The response keeps currency: "UF" and amount: "1.50" in the payin and receipt. The card rail charges the UF amount natively and converts it to CLP internally; 1 UF is approximately 41,274 CLP and the exact value depends on the applicable UF rate. UF amounts can be combined with issuer installments: include the same months field described above in the front-token complete request. The approved term is returned in the receipt. UF accepts at most two fractional digits. "1.50" is valid, while "1.501" returns 422 core_rejected (“amount has too many decimals for this currency”) before the payment claim. CLP remains an integer currency, so "150000.50" returns the same honest pre-claim rejection. As with every payin, read the resource after an ambiguous result and do not submit a second charge. For the current conversion context, read:
The response includes the uf key from the OXR CLF ISO source. Settlement converts UF to USDT at the applicable spot rate; the displayed UF rate is not a promise of a fixed settlement price. An approved UF webhook preserves currency: "UF" and the UF amount:

Pre-authorized payins (holds)

With capture_method: "manual" the hosted checkout authorizes (holds) instead of charging. You capture (charge in full) or void (release, no money moves) later from your integration or the admin panel:
The payin stays pending with capture_method: "manual" while the hold is open. The issuer releases un-captured holds automatically (7 days debit, 28 days credit); the payin then closes as expired and you are notified.
Rules: v1 captures the total only (partial_capture_unsupported otherwise); manual requires an interactive payment (stored cards charge immediately) and cannot combine with installments. A 201 means done (verdict: completed, capture credits through the normal flow); a 202 means ambiguous — retry with the SAME key, never a new one. No OTP is required (a capture credits your account, a void moves nothing). Concurrent capture+void is single-flighted: one wins, the other gets a 409.

Read, void, and refund

An authorized card payment can be voided before settlement. A refund is semi-automatic: creation may return pending, and a signed notification closes it. Both operations require idempotency and never retry an ambiguous dispatch automatically.

Errors

Webhooks

Verify the signature before processing. Relevant events are payin_credited, payin_refunded, dispute, and card_stored.

FAQ

CLP must be an integer. UF accepts up to two decimal places, for example "1.50"; three or more decimal places return 422 core_rejected.
Read the resource or repeat the request with the same idempotency key. Do not submit a new charge.
A refund can remain pending until the signed notification confirms it.
7 days on debit cards, 28 on credit (issuer policy). Capture or void before then; expired holds close automatically with a notification.
Not in v1: capture takes the full authorized amount. Partial capture is a documented future phase.
No: pre-authorization requires a new card paid in full on the hosted page. Stored cards charge immediately and installments settle at once.
Last modified on November 6, 2026