Skip to main content
The Orders API lets you list and filter orders in your Nova.Pay account, retrieve the full details of a single order, create new orders programmatically, and register external payments against existing orders. All endpoints are relative to the base URL https://pay.nova.money/api/v1.

List orders

This endpoint requires an API key passed in the request headers.
Retrieve a paginated list of orders. You can narrow results with date ranges, status filters, a free-text search, and more.

Query parameters

initial_date
date
Start of the date range filter (inclusive). Use YYYY-MM-DD format.
final_date
date
End of the date range filter (inclusive). Use YYYY-MM-DD format.
period_date_filter
string
The date field to apply the initial_date/final_date range against (e.g., created_at, paid_at).
page
integer
Page number for pagination. Defaults to 1.
limit
integer
Number of orders to return per page. Maximum value is 100.
q
string
Free-text search string. Matches against customer name, email, order ID, and other indexed fields.
cart_page_uuids
array of uuid strings
Filter by one or more cart page UUIDs.
company_ids
array of integers
Filter by one or more company IDs.
status
array of strings
Filter by order status. Accepted values:pending waiting_payment partially_paid paid cancelled partially_refunded refunded billed
meta
array of strings
Filter by metadata key-value pairs attached to orders.

Response — OrdersIndex


Retrieve an order

This endpoint requires an API key passed in the request headers.
Fetch the complete details of a single order by its numeric ID.

Path parameters

id
integer
required
The numeric ID of the order to retrieve.

Response — OrderData

id
integer
Unique numeric identifier for the order.
uid
string
Unique UUID string identifier for the order.
Public checkout link for the order.
due_date
date
The date by which the order must be paid.
coupon_code
string
Coupon code applied to this order, if any.
deal_id
integer
CRM deal ID associated with this order, if any.
observation
string
Internal observation or note attached to the order.
seller_id
integer
ID of the seller assigned to this order.
status
string
Current order status. One of: pending, waiting_payment, partially_paid, paid, cancelled, partially_refunded, refunded, billed.
meta
object
Arbitrary key-value metadata attached to the order.
utms
object
UTM tracking parameters captured at order creation (e.g., utm_source, utm_medium, utm_campaign).
discount
number
Total discount amount applied to the order.
total
number
Final total amount of the order after discounts.
created_at
datetime
ISO 8601 timestamp of when the order was created.
date
date
The order date.
scheduled_at
datetime
ISO 8601 timestamp of when the order is scheduled for, if applicable.
charge_page
object
The charge page associated with this order.
checkout_page
object
The checkout page associated with this order.
customer
object
The customer who placed the order.
seller
object
The seller assigned to this order.
items
array
Line items included in this order.
payments
array
Payment records associated with this order.
invoices
array
Fiscal invoices issued for this order.
freight
object
Shipping details for the order.

Example request


Create an order

Create a new order programmatically. You can supply customer info, line items, payment details, and shipping in a single request.

Request body — OrderCreateRequest

date
date
The order date in YYYY-MM-DD format. Defaults to today if omitted.
coupon
string
Coupon code to apply to the order.
main_product_id
integer
ID of the primary product for this order. Used for routing and coupon validation.
scheduled_at
datetime
ISO 8601 datetime for scheduling the order (e.g., for appointment-based products).
observation
string
Internal observation or note to attach to the order.
skip_content_release
boolean
When true, suppresses automatic content-release actions triggered on order creation.
calculate_retention
boolean
When true, applies retention pricing logic during order creation.
meta
object
Arbitrary key-value metadata to store on the order.
customer
object
required
Customer to associate with this order. Creates or updates the customer record.
crm_info
object
CRM integration settings for this order.
items
array
Line items for the order.
payments
array
Payment records to attach to the order at creation time.
freight
object
Shipping configuration for the order.

Response

Example request


Register an external payment

This endpoint requires an API key passed in the request headers.
Register an external payment transaction against an existing order. Use this when a payment is processed outside the standard Nova.Pay checkout flow and you need to record it manually.

Path parameters

id
integer
required
The numeric ID of the order to attach the payment to.

Request body

gateway
string
Gateway name (e.g., pagarme, stripe, manual).
gateway_id
string
Transaction or charge ID from the external gateway.
payment_plan_id
integer
ID of the payment plan associated with this payment.
installments
integer
Number of installments for the payment.
amount
number
Total payment amount in the account currency.
skip_content_release
boolean
When true, suppresses automatic content-release actions triggered by the payment status change.

Response

After calling this endpoint, you can verify the payment was recorded correctly by fetching the order with GET /orders/{id} and inspecting the payments array.