Process Payment

Method: GET

URL: https://pay.onrampapi.com/process-payment.php?address=k1PrTuxSNpkdPZwdmCm4K3nMjAYo1sx17ea6uG0LunhFbr7SHBGQ8NBs3b5jkQw9RVoyWIbOyqzh7wtEipPbGg%3D%3D&amount=103.78&provider=moonpay&email=john%40example.com&currency=USD

Description: This endpoint will redirect the customer to the payment page. You should treat this as the payment URL. Your CMS should pass all the following parameters.

  • address: you need to pass the ecnrypted address_in generated from GET https://app.onrampapi.com/control/wallet.php | Passing your payout wallet address directly without the first step will result in a 400 bad request.

  • amount: Amount you need the customer to pay. For example 105.78 this should be the order total in your system. You can add more fees by passing bigger amounts to cover the payment processing fees.

  • provider: Possible values (moonpay - banxa - wert - transak - particle - guardarian - rampnetwork - mercuryo - utorg - transfi - alchemypay - paybis - changenow - stripe - topper - sardine - upi - robinhood - coinbase). More providers will be supported so you may need to revisit this page.

  • email: urlencoded customer email address

  • currency: Currency code, for example: USD or EUR or CAD wert, stripe, transfi, robinhood and rampnetwork providers values need to be in USD only! upi is INR curreny values only!

Please note that you are not allowed to use the payment link within embedded iframe, user must be redirected to the licensed payment provider page directly. Your system will be notified after customer payment using the predefined callback URL.