API Reference

πŸš€ JamsrPay Invoice API Flow

To receive crypto payouts from your customers, you must add your payout wallet. JamsrPay will use this wallet to transfer funds automatically after a successful transaction.

  1. Get Config

    EndPoint: GET /web/config
    πŸ‘‰ Retrieves available currencies and general settings (must be called before creating a payment).
  2. Create Payment

    EndPoint: POST /payment
    πŸ‘‰ Initiates a payment request with required details (amount, currency, etc.).
  3. Get Payment

    EndPoint: GET /payment
    πŸ‘‰ Fetches payment status & details for the created payment.
  4. Create Invoice

    EndPoint: POST /invoice
    πŸ‘‰ Generates an invoice tied to the payment.
  5. Get Invoice

    EndPoint: GET /invoice
    πŸ‘‰ Fetches the invoice details.
  6. Get Invoice Config

    Example: [GET /invoices/config](https://api.jamsrpay.com/web/invoices/{id}/config)
    πŸ‘‰ Provides UI/config data to render the public invoice page.

πŸ“– Scaler API Explorer

For interactive API exploration, you can use our Scalar UI:

This interface allows you to browse all available endpoints, view request/response formats, and test calls directly from your browser.