Payments from your own page
The merchant's own webshop or page drives the checkout. The user adds products to a basket on the merchant's site, scans the OpenApp widget to pay, and completes the purchase in the OpenApp app. OpenApp calls the merchant's API to retrieve and confirm the basket, and the merchant's system receives the final order.
Required endpoints
| Endpoint | Direction | Purpose |
|---|
| Basket retrieval | OpenApp → Merchant | OpenApp fetches the basket the user built on the merchant's page |
| Basket recalculate | OpenApp → Merchant | Re-validates the basket when the user changes quantity or applies a coupon |
| Order placement | OpenApp → Merchant | Submits the confirmed order with user details and selected delivery method |
| Order status | Merchant → OpenApp | Notifies OpenApp as the order progresses (confirmed, shipped, delivered) |
Optional endpoints
| Endpoint | Direction | Purpose |
|---|
| Basket change callback | Merchant → OpenApp | Merchant notifies OpenApp if the basket changes on the merchant's side (e.g. price update, stock change) |
| Refunds | Merchant → OpenApp | Initiates a refund for a completed order |