GwalletPay uses a redirect-based payment flow where users are sent to a hosted invoice page to complete the payment and then redirected back to your application.
How It Works
Create Invoice
↓
User opens hosted invoice page
↓
User completes payment
↓
GwalletPay redirects user back to your websiteHosted Payment Page URL
After creating an invoice, GwalletPay redirect to the hosted payment page URL.
👉 The user must be redirected to this URL to complete the payment.
Format
https://payment.gwalletnodes.net/payments/{invoice_id}Example
https://payment.gwalletnodes.net/payments/ndg9cn Redirecting the User
After calling the Create Invoice API, you will receive a response containing the invoice ID .
👉 You should redirect the user to the hosted payment page:
Example (Frontend)
window.location.href = "https://payment.gwalletnodes.net/payments/{invoice_id}"; What Happens Next
- User opens hosted payment page
- User sends crypto payment
- Transaction is processed
- User is redirected back to your
redirect_url