Skip to main content

Partially refund a BNPL loan by external transaction ID

POST 

/partner/pre-approve/:externalTrxId/loan/partial-refund

Refunds part of the purchase financed by a BNPL (Buy Now, Pay Later) loan associated with a partner's external transaction. Only available within a 60-day window from the loan disbursement date (transferDate). To refund the whole purchase, use Cancel a BNPL loan by external transaction ID.

Refund amount​

refundAmount is the part of the purchase to refund, in CLP, on the same basis as the loanAmount returned by this API (the purchase amount). When a banca.me discount was applied to the customer, the refund is split proportionally between the financed amount and the discount, and only the financed part is applied to the loan. Otherwise, the whole refundAmount is applied. The response returns the applied amount in refundAmount.

refundAmount must be:

  • Greater than 0 and lower than loanAmount. Requesting the full loanAmount returns 412.
  • At most 95% of loanAmount.
  • At least the minimum loan amount of the risk policy the customer was pre-approved under.

Result​

The applied amount is compared with the installments that are not paid:

  • Settled loan: when the applied amount is equal to or greater than the principal of those installments, or than the financed amount divided by periods and multiplied by the number of those installments, the loan and those installments change to PARTIAL_REFUND_SETTLED. The part of the applied amount that exceeds the principal of those installments is refunded to the customer. The response describes the settled loan.
  • Replacement loan: otherwise, the loan and those installments change to PARTIAL_REFUND_REPLACED, and a replacement loan is created for the principal of those installments minus the applied amount. The replacement loan keeps the interest rate and transferDate, has one installment for each replaced installment (a single installment when its loan amount is 20,000 CLP or less), and its first installment is due on the due date of the first replaced installment. The response describes the replacement loan.

Paid installments keep their state. The customer is notified by email.

After a replacement, externalTrxId identifies the replacement loan: Retrieves loan details by external transaction ID returns it, and later partial refunds and cancellations apply to it. Each request applies a new refund, so repeating a request after a replacement refunds the amount again. Once the loan is settled or canceled, further requests receive 409.

This endpoint accepts at most one request every 15 seconds, and this limit is shared with Cancel a BNPL loan by external transaction ID; additional requests receive 429.

Request​

Responses​

Refund applied. Describes the replacement loan, or the settled loan when the refund covered the unpaid installments.