https://pay.nova.money/api/v1
Retrieve cart page details
Fetch the configuration and current state of a cart by its unique identifier.Path parameters
The Cart UID.
Response
Returns a CartShow object.The Cart UID.
Payment gateway handling transactions for this cart (e.g.
"stripe").Hex colour code for the hosted payment page brand colour.
Navigation menu items displayed on the hosted page.
Title shown to customers on the hosted payment page.
Gateway public key used for client-side card tokenisation.
URL of the logo image shown on the hosted page.
ISO 4217 currency code (e.g.
"BRL", "USD").Whether coupon code entry is available for this cart.
Whether the customer can split payment across two credit cards.
ID of the Nova.Pay company that owns this cart.
Shipping / freight amount applied to the cart.
Pre-filled customer information.
Items currently in the cart.
Arbitrary code snippet injected into the hosted payment page.
The pre-selected payment plan for this cart.
Third-party integration configuration attached to this cart.
Create a cart
Create a new cart from a CartPage. This endpoint requires authentication via API key and returns a hosted payment link you can redirect your customer to.This endpoint requires your API key in the
Authorization: Bearer YOUR_API_KEY header.Path parameters
The CartPage UUID from which the cart will be created.
Request body
The payment method for this cart. One of:
credit_card, bank_slip, pix.Shipping / freight cost to add to the cart total.
Override the computed cart total. If omitted, Nova.Pay calculates the total from the items.
Pre-fill customer details so the customer doesn’t need to re-enter them on the hosted page.
The line items to include in the cart.
Arbitrary key-value pairs you want to attach to this cart for your own tracking purposes.
Response
List payments for a cart
Returns all payments submitted against a cart.Path parameters
The Cart UID.
Query parameters
Filter to specific payments by
gateway_id or internal payment ID. Pass multiple values as repeated query params: ids[]=pay_abc123&ids[]=pay_def456.Response
Returns an array of PaymentStatus objects, or HTTP 204 No Content if no payments exist for this cart.Example response
Pay a cart
Submit payment for an existing cart. You can pay with a credit card (including a two-card split), Pix, or bank slip (boleto).Path parameters
The Cart UID to pay.
Request body
The ID of the selected payment plan in the format
"{plan_id}-{installments}" (e.g. "42-3" for plan 42 paid in 3 instalments). Retrieve available plans from the Payment Plans endpoint.Coupon code to apply a discount to this payment.
Stripe PaymentMethod confirmation token ID, used when the gateway is Stripe.
Tokenised card data for the primary (or only) credit card.
ID of a saved card on file to use for the primary credit card charge.
Payment plan ID applied specifically to the primary card (used in two-card splits).
Amount to charge to the primary credit card (used in two-card splits).
Tokenised card data for the secondary credit card (two-card split).
ID of a saved card to use for the secondary credit card charge.
Payment plan ID for the secondary card.
Amount to charge to the secondary credit card.
Nova.Pay customer ID to associate with this payment.
Customer phone number (used if not already on the cart).
Customer email address (used if not already on the cart).
Override the default gateway for this payment.
List of string tags to attach to the resulting order for filtering and reporting.
ISO 8601 datetime for scheduling the payment at a future time (requires
require_scheduling on the page).Free-text note attached to the order.
Arbitrary key-value pairs attached to the order.
Response
Returns a CartPayResult object. Fields present in the response depend on the payment method used.The resulting status of the order (e.g.
"paid", "waiting_payment", "pending").Array of payment objects created for this order.
URL of the generated boleto (bank slip) PDF. Present only for
bank_slip payments.Base64-encoded Pix QR code image. Present only for
pix payments.URL to the Pix QR code image. Present only for
pix payments.ISO 8601 datetime at which the Pix QR code expires. Present only for
pix payments.URL to redirect the customer to after payment (e.g. a thank-you page).
Example — credit card payment
Request body