Skip to main content

Khipu logo

Khipu is an alternative payment method exclusive to Chile, which we offer through Flow. It is an electronic payment platform that allows secure and fast online transactions, allowing the user to use their own checking accounts, credit cards and debit cards.

Integration via redirection for FLOW

To integrate by redirection, the user must be present at the time of payment, which must be processed through a browser. First we must generate a payment order, indicating email.

  "extra_data": {
"profile": {
"first_name": " ",
"last_name": " ",
"email": "test@gmail.com",
}
}

As service identifier, the service_uuid of the FLOW service you have activated in your Paylands Backend → Manage → Payment Services → Listing must be indicated.

Once the order is generated, the user must be redirected to the payment screen indicating the token of the order and in the query, the name of the APM:

We construct the redirection URL by replacing the token of the order returned from the previous call.

https://api.paylands.com/v1/sandbox/payment/process/{token}?apm=KHIPU

Once the user is redirected to this screen, the user will be able to select their bank to authorize the transaction. When you complete the payment, you will be redirected back to the OK or KO URL, depending on the payment result.

Integration via redirection for Payretailers

To integrate it through redirection, the user must be present at the time of payment, which must be processed through a browser. First of all we must generate a payment order, indicating the first_name, last_name, email, document_identification_number, phone, city, country, address1, zip_code, state_code.

  "extra_data": {
"checkout": {
"uuid": "C42043F9-B77C-4918-BD43-86C526B4F24D"
},
"profile": {
"first_name": "Kobe",
"last_name": "Bryant",
"email": "andreu.sanchez@paynopain.com",
"document_identification_number": "92309089",
"phone": {
"number": "02614235138",
"prefix": "54"
}
},
"billing_address": {
"city": "Castellon",
"country": "COL",
"address1": "Avinguda del Mar 23",
"zip_code": "12000",
"state_code": "CT"
}
}

As a service identifier, you must indicate the service_uuid of the Payretailers service that you have activated in your Paylands Backend → Manage → Payment Services → [List](https://backend.paylands.com/payment- services/list).

Once the order is generated, the user must be redirected to the payment screen indicating the order token and in the query, the name of the APM:

We construct the redirect URL by replacing the token with the value returned in the previous call.

https://api.paylands.com/v1/sandbox/payment/process/{token}?apm=KHIPU

Testing

For more information on how to test this payment method on each of your vendors, visit the FLOW documentation.

Custom fields

Optionally, within the extra_data you can include the payment_reason field, which allows you to indicate a description of the payment.

  "extra_data": {
"payment": {
"payment_reason": "Payment description"
}
}