Full integration overview
The following diagram illustrates the full integration sequence of requests and responses involved in completing an end-to-end pay by link process. This sequence diagram provides you with a visual representation to guide you through each step, offering a clear and intuitive understanding of the entire process.
From the initial request to the final response, every step is documented in detail in the next sections of this document.
(1) The customer is at the point of sale and desires to finance their purchase.
(2) The merchant sends a POST
Login requests with their credentials.
(2R) Nemuru returns an access token that will be used by the merchant to authenticate following requests.
(3) The merchant sends a POST
Create Pay by link requests with available customer and cart data.
(3R) Nemuru returns the payment url within the response or, alternatively, Nemuru sends an email to the customer which contains the url to the payment page.
(4) The merchant redirects the customer to the payment url (or Nemuru sends the payment email to the customer).
(5) The customer opens the payment url and completes the purchase.
(6) When the customer completes the purchase, Nemuru will send a callback to the merchant's notification_url
, provided in step 3, indicating the order is approved and requires a confirmation.
(6R) The merchant confirms the order by responding with autoconfirm: true
to indicate Nemuru that the order has to be autoconfirmed. Nemuru automatically confirms the order with the corresponding lender.
(7) Nemuru sends a callback to the merchant's notification_url
indicating the order is confirmed.
(7R) The merchant responds OK.
(8) Nemuru displays the confirmation message to the customer.
(9) Since the order was created with autoshipping
in step 3, Nemuru automatically captures the order with the corresponding lender and sends a callback to the merchant's notification_url
indicating the order has been correctly captured.
(9R) The merchant responds OK.