MoneroPaymentRequestPayload_V1: MoneroPaymentRequestPayload & {
    amount: string;
    change_indicator_url: string;
    currency: string;
    custom_label: string;
    days_per_billing_cycle: number;
    number_of_payments: number;
    payment_id: RandomId;
    sellers_wallet: string;
    start_date: string;
}

Type declaration

  • amount: string

    The amount field specifies the quantity of the specified currency to be transferred. The actual Monero amount sent will be based on this value and the current exchange rate.

    Example

    "19.99" (for 19.99 USD worth of Moneroassuming "Currency" was set to USD)
    "0.5" (for 0.5 XMRassuming "Currency" was set to XMR)
  • change_indicator_url: string

    The change_indicator_url is a field designed for large merchants who wish to have the flexibility to request modifications to an existing payment request. It's important to note that the merchant cannot enforce these changes. When a change is requested, all related automatic payments are paused until the customer reviews and either confirms or rejects the changes (canceling the payment request).

    More information on the official docs

    Example

    "" (for small merchants who do not want to use this feature)
    "https://www.example.com/api/monero-request"
    "https://mywebsite.com/update-monero-payments"
  • currency: string

    All payments are made in Monero. The currency field is used to specify the currency in which the payment amount is denominated. This allows merchants to base their prices on a variety of currencies.

    Example

    "USD"
    "GBP"
    "XMR"
  • custom_label: string

    The custom_label is a string field allowing users to attach a descriptive label to the payment request. This label can be any text that helps identify or categorize the payment for the user.

    Example

    "Monthly Subscription"
    "Donation to XYZ"
    "Invoice #12345" (For one-time payments)
  • days_per_billing_cycle: number

    The days_per_billing_cycle field defines the frequency of payments for recurring payments.

    Example

    30 (for monthly payments)
    7 (for weekly payments)
  • number_of_payments: number

    The number_of_payments field indicates how many times a payment will occur.

    Example

    1 (for a one-time payment)
    6 (for six scheduled payments)
    0 (for payments that will recur until canceled)
  • payment_id: RandomId

    The payment_id is a unique identifier generated for the payment request. It is used when generating an integrated address for Monero payments. Merchants can identify which customer made a payment based on this ID, ensuring privacy for the customer.

    Example

    "9fc88080d1d5dc09"
    
  • sellers_wallet: string

    The sellers_wallet field holds the Monero wallet address where payments will be sent. This address must not be a subaddress since integrated addresses (which combine a Monero address and a payment ID) don't support subaddresses.

    Example

    "4At3X5rvVypTofgmueN9s9QtrzdRe5BueFrskAZi17BoYbhzysozzoMFB6zWnTKdGC6AxEAbEE5czFR3hbEEJbsm4hCeX2S"
    
  • start_date: string

    The start_date field indicates when the first payment or subscription should commence.

    Example

    2023-04-26T13:45:33.123Z
    2023-10-26T04:55:37.443Z

Generated using TypeDoc