Create Invoice
Creates a new invoice. The response includes a shareable invoiceUrl that can be sent to the payer to complete payment.
When to Use
▾
Use this endpoint when:
- Billing a customer for a one-off payment
- Sending a payment request by email or link instead of an in-app checkout
Set shouldSendEmail to true to have Revenue Monster email the invoice to the payer automatically.
How to Use
▾
/api/v3/invoice- Send the invoice details → receive the created invoice with its
invoiceUrl - Share the
invoiceUrlwith the payer (or let RM email it) - The invoice stays
PENDINGuntil paid or expired
Request Parameters
▾
Store ID
Example: 1608714483132458121
Merchant-defined unique reference ID
Example: my-order-001
Email for payment notification to the merchant
Example: [email protected]
Email for payment notification to the payer
Example: [email protected]
Payer name
Example: John Doe
Subject line for the invoice email
Example: Your Invoice #001
Whether to send the invoice email to the payer
Example: true
Invoice expiry date time (ISO 8601)
Example: 2026-05-21T08:02:00.000Z
Invoice amount in cents (e.g. 100 = RM 1.00)
Example: 100
Currency code
Example: MYR
Invoice description
Example: Order #001
URL to redirect the payer after payment
Example: https://example.com/success
Additional remarks
Response Parameters
▾
Created invoice object. See [Get Invoices](./get-invoices) for the full field list.
Result code ("SUCCESS" on success).