E-commerce checkout: creating an escrow from your shop
This is what happens when a customer pays through your shop:
- Your shop calls
createSessionwith the order total and details. RahaKaitse creates a checkout session (valid 24 hours) and an order, and returns acheckoutUrl. - The customer is redirected (or sees a modal) to the secure RahaKaitse checkout page. They see your shop's name, the items, the total and the platform fee. They connect or create a wallet and confirm. The payment is locked in an escrow in your favour: the seller is your company wallet.
- Back to your shop. After the customer signs, they are redirected to your
returnUrl(your "thank you" page), with details of the order added to the address. - You fulfil the order. Ship the goods or deliver the service.
- The customer confirms delivery in RahaKaitse and the money is released to your wallet. If there is a problem, the normal dispute process applies. If the customer does nothing, the escrow completes automatically after the deadline plus 7 days.
The escrow deadline for the order is set by expiryDays (up to 90 days for products). The customer pays the platform fee on top of your price. Your orderRef helps you match RahaKaitse orders to your own order numbers.