Xprizo Instant Payments (Payment Link)
Introduction
The PaymentXprizo LinkInstant Payments feature in(or XprizoPayment Link) allows users to create a shareable payment link by entering the product amount. This link can be shared with both Xprizo and non-Xprizo users, enabling them to make payments via various cards. Additionally, a QR code is generated along with the link for easy transactions. When the link is shared with another user, the specified amount is directly added to that user's wallet, streamlining the payment process and ensuring funds are quickly and securely transferred.
How to create a Payment URL?Link?
Follow the steps written in the image below to be able to create the Payment URL.
To receive the notifications for the payment you've received through webhook then you can set this by navigating to the settings of your profile page this process will be done from the UI side, For reference click on the link below.
To perform the same process with the help of API click on the below link for the reference.
Creating a Payment Link via the Xprizo Wallet API
Add a Product
First, you need to add a product by calling the /Item/AddProduct endpoint:
- set description, ex: "Test Product";
List the Products you have added in the Xprizo Platform
To get the list of products, call the /Item/ProductList endpoint:
- For each product in the response, note “id”.
Get a payment link using the Xprizo API
To generate a payment link for a product purchase:
- Call the /Item/SetProductRedirectUrl endpoint,
- set the “id” query param to the id you got from the response of the /Item/ProductList endpoint;
- set “value” query param to a URL to which user will be redirected on completion of the payment.
- in the “id” path variable, set the id you got from the response of the /Item/ProductList endpoint;
To complete the payment flow, the user must enter their card details, and click “Proceed to Pay”.
- Once the payment is completed, the user will be redirected to the URL previously set in the call to the /Item/SetProductRedirectUrl endpoint.
