Custom integration steps

Step 1 - Request credentials to aCuotaz:

Your store must request:

Step 2 - Enable your store checkout to create orders

Your store must assign a unique order alphanumeric string (uuid4) to identify the order through the whole process. This identifier will be the order_id

Then your store will call the create order API to obtain an order URL to redirect the customer to aCuotaz website

URL: /pos/order/create

Method: POST

You must send the following information: amount, order_id, client_id, redirection URLs (canceled order, rejected order, successful order). In addition, you can send customer data such as address, dni, email, name, and phone to reduce your customer´s effort when filling the credit application form.

Success Response:

Code: 200 OK
{
    redirect_to: "https://apurata.com/pos?client={client_id}&acuotaz_order={ObjectId()}",
    status: "new_order"|"already_created"
}

For more information, please visit: Create order API

💡 Best practice
To ensure a smooth user experience, we recommend hiding aCuotaz as a payment option when the total amount is outside the financing limits (either too low or too high).

Step 3 - Consider webhook events

Webhook events represent the status of orders.

Order statuses

FUNDED and VALIDATED Events

It is important to note that the VALIDATED and FUNDED events can occur simultaneously in the processing flow. The FUNDED event implies that identity validation has already been completed successfully, but the event VALIDATED will be sent anyways

aCuotaz process flow

To know more about the process customers have to follow when using aCuotaz and event details, check the following link: flow tutorial

Step 4 - Create webhook

You must create a webhook so aCuotaz can inform you about your order statuses. Once created, you must provide the URL to aCuotaz team.

Your webhook URL should have the following format: http://yourecommerce.com/api/v1/webhooks/acuotaz/

Webhook:

How you manage each event depends on your internal processes. However, the most important event to pay attention to is when the order status changes to ¨funded¨. This event signals that the order was paid and that it is safe to deliver the product. All orders with statuses ¨funded¨ are billable to aCuotaz.

It is important to highlight that capturing these events is your responsibility, in order to avoid possible errors.

For more information, please visit: Webhooks

Step 5 - Snippets

A high number of aCuotaz orders is directly correlated with how much awareness of the product your store can create. To maximize awareness, we use snippets to allow you to show relevant information about aCuotaz in 3 key pages: product page, cart page, and checkout.

For more information, please visit: Snippets

Step 6 - Testing

To test the whole process, you can use the information provided in the following link: Testing

Process flow summary