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
Openpayment_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
Whensave_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 choices3, 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 acceptscurrency: "UF". Send the amount as a
decimal string with up to two decimal places:
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:
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)
Withcapture_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:
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.
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
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 arepayin_credited, payin_refunded, dispute, and card_stored.
FAQ
Can I send decimal CLP or UF?
Can I send decimal CLP or UF?
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.What if the create request times out?
What if the create request times out?
Read the resource or repeat the request with the same idempotency key. Do
not submit a new charge.
When is a refund final?
When is a refund final?
A refund can remain
pending until the signed notification confirms it.How long does a hold last?
How long does a hold last?
7 days on debit cards, 28 on credit (issuer policy). Capture or void before
then; expired holds close automatically with a notification.
Can I capture half now and half later?
Can I capture half now and half later?
Not in v1: capture takes the full authorized amount. Partial capture is a
documented future phase.
Can I combine a hold with installments or a stored card?
Can I combine a hold with installments or a stored card?
No: pre-authorization requires a new card paid in full on the hosted page.
Stored cards charge immediately and installments settle at once.