PayNow

StoreInvoiceDto

Represents an invoice raised against a store's own subscription.

idFlakeIdRequired
created_atstringRequired
When the invoice was raised.
currencystringRequired
The currency the invoice was issued in.
descriptionstringRequired
The description of what was billed.
gatewaystringRequired
The payment gateway that issued the invoice.
gateway_invoice_idstringRequired
The identifier of the invoice within the payment gateway.
invoice_urlstringRequired
The hosted invoice URL recorded when the invoice was raised. May expire; request 'invoices/{invoice_id}/url' for a freshly issued link.
is_paidbooleanRequired
Whether the invoice has been paid.
plan_pricing_idFlakeIdRequired
subscription_idFlakeIdRequired
totalintegerRequired
The invoiced total, in the smallest currency unit.
updated_atstringOptional
When the invoice was last updated.
Example
{
  "id": "411486491630370816",
  "created_at": "2024-01-01T00:00:00Z",
  "currency": "string",
  "description": "string",
  "gateway": "string",
  "gateway_invoice_id": "string",
  "invoice_url": "string",
  "is_paid": true,
  "plan_pricing_id": "411486491630370816",
  "subscription_id": "411486491630370816",
  "total": 0,
  "updated_at": "2024-01-01T00:00:00Z"
}