Request payment

Updated on 30 Mar 2023

There can be different types of implementations for a Request Payment functionality. Some E-wallet systems generate QR codes that can be sent to make a transfer, some provide the possibility for users to shake their phones and find each other in the Ewallet app to proceed with a payment request etc. 

SDK.finance provides the base for this use case implementation: User (Merchant) can make payment requests in the system using the “Invoicing” functionality. 

Having access to the source code You can customize the flow according to your business logic.

The Invoicing functionality is provided on the UI in a Merchant’s dashboard. 

The flow of money request will be the following:
1. User (currently Merchant) creates invoice and specifies invoice recipient (by contact of user used for registration)
2. Recipient receives invoice and can pay for it from his wallet

 

APIs for this Use case:

POST​/invoicesCreate an invoice
POST​/invoices​/calculateCalculate commission for invoice as merchant
POST​/invoices​/viewView invoices
GET​/invoices​/{identifier}View invoice details
DELETE​/invoices​/{identifier}Delete invoice
POST​/invoices​/{identifier}​/calculateCalculate commission for specified invoice as payer
GET​/invoices​/{identifier}​/files​/{fileId}Get file attached to the invoice
POST​/invoices​/{identifier}​/payPay for the invoice