GwalletPay Payment API Flow

Before initiating payments, make sure you have added your payout wallet. GwalletPay will automatically transfer funds to this wallet after successful transactions.


Payment Flow Overview

1. Get Available Currencies

Endpoint: GET /web/config
Retrieves available currencies and system configuration.

⚠️

This must be called before creating a payment.

 https://pay-api.gwalletnodes.net/scalar#tag/currency/GET/web/config


2. Create Payment

Endpoint: POST /web/payments
Creates a new payment request with amount, currency and other details.
https://pay-api.gwalletnodes.net/scalar#tag/payment/POST/web/payments


3. Get Payment

Endpoint: GET /web/payments/{id}

Fetch the status and details of a specific payment.

 https://pay-api.gwalletnodes.net/scalar#tag/payment/GET/web/payments/{id}


4. Create Invoice

Endpoint: POST /web/invoices
Generate an invoice linked to the created payment.https://pay-api.gwalletnodes.net/scalar#tag/invoice/POST/web/invoices


5. Get Invoice

Endpoint: GET / web/invoices/{id}

Retrieve invoice details including payment status.

https://pay-api.gwalletnodes.net/scalar#tag/invoice/GET/web/invoices/{id}


6. Get Invoice Config

Endpoint: GET /web/invoices/{id}/config

Returns UI and configuration data required to render the hosted invoice page.

https://pay-api.gwalletnodes.net/scalar#tag/invoice/GET/web/invoices/{id}/config


📖 API Explorer (Try it Live)

You can explore and test all endpoints using our interactive API explorer:

This interface allows you to:

  • Test APIs directly from browser
  • View request & response formats
  • Understand parameters quickly