Skip to main content
Accept Khipu payments with dLocal as the payment service provider (PSP).

Supported workflows

Before you begin

Complete these steps before you send your first Khipu payment through dLocal:
  1. Set up a dLocal integration in your workspace. Follow the dLocal integration setup guide if you don’t have one yet.
  2. Ask dLocal to enable Khipu on your dLocal account.
  3. In the Payrails Portal, go to Settings → Integrations, open your dLocal integration, select Khipu under Payment methods, and save.
  4. Add Khipu as a payment option in your workflow.

Request fields for dLocal

Send these fields in the authorize request, in addition to the standard authorize fields. Required fields must be present for the payment to succeed. Payrails sends Optional fields to the PSP when you include them.

Authorize a Khipu payment

Call authorize a payment with khipu as the paymentMethodCode. The response includes the redirect to the Khipu payment page. CLP has no minor unit, so send whole amounts.
Authorize request
After the customer confirms the transfer, they return to your success or error URL. Confirm the result through webhook notifications or the execution status before you fulfill the order.

How dLocal handles Khipu

  • dLocal returns a redirect URL to the Khipu payment page. The payment stays pending until the customer confirms the transfer, and Payrails completes it from the dLocal notification.
  • Cancel a Khipu payment only while it’s still pending, before the customer confirms the transfer. After that, refund the payment instead.
  • Each Khipu payment is a new customer-initiated payment.
Last modified on October 5, 2026