This interface allows OSOFTPAY merchant to receive payment on the web for their goods and services. This integration targets merchants wallet and deposits the goods and service amount into the target wallet. The popular method of consuming this API is via form get method (not post).
Note: These are the required/mandatory fields to initiate payment to OSOFTPAY Merchant Wallet
|MerchantNumber||This is a mandatory field that is provided by OSOFTPAY. It is used to identify the merchant receiving the payment. Note that this interface do not have a demo. It is straight to live once the merchantnumber is provided to you.||string|
|ServiceAmount||This is a mandatory field that you need to provide OSOFTPAY in your GET request as the amount you are paying. Please note that charges such as VAT and Osoftpay Charges applies to amount.||string|
|RetURL||This is a mandatory field that you need to provide OSOFTPAY in your GET request to receive notification of your transaction. A successful transaction always returns a Paycode. You need to further save the Paycode on your database and use it to confirm or verify payment status before goods and services be issued to clients.||url|
Note: The fields provided in the form above are required for wallet payment interface to be initiated. You can customize the form to receive values as inputs depending on your development platform but make sure the name property is same as used on the sample form.
Getting payment status requires that you send your Paycode received to an API endpoint to get the status of your transaction before goods and services are issued to your clients.
Here is a typical ASP.NET C# sample using HttpClient: