5-step integration guide to go-live with Sprinque
Required steps:
- Create authentication endpoint to provide a temporary token to the Merchant SDK;
- Integrate the Merchant SDK and use the temporary token from Step 1 to initiate the SDK on the UI side;
- Handle business credit assessment webhook after the manual review;
- Handle pending order webhook when the order is placed against the buyer business under manual review;
- Integrate the capture endpoint (send invoice PDF to Sprinque);
To simulate buyer's credit assesment decision please send "APPROVE-" or "REJECT-" registration number prefix when registering a business buyer. Or you can adjust the credit assessment from the buyer details page. Check this video for explanation.
Good-to-have steps:
- Integrate void API to cancel the order before it's captured;
- Integrate refund API to cancel the order after capture or in case of partial return;
- Integrate get single buyer business details API (to check credit limit and show/hide Sprinque in the checkout for example);
Updated 9 months ago