payment_method field on each payment plan tells you which methods are offered for a given product configuration.
Credit Card
Nova.Pay routes credit card payments through either Pagar.me or Stripe depending on your account configuration.Pagar.me
To protect raw card data, tokenize the card client-side using the Pagar.me.js SDK before sending the payment request. Pass the resulting token incredit_card_0_token. For a returning customer with a saved card, use credit_card_0_card_id instead.
Stripe
Tokenize the card using Stripe.js and pass the resulting confirmation token inconfirmation_token_id.
Split payments (two cards)
You can split a single order across two credit cards by sending bothcredit_card_0_* and credit_card_1_* field sets. Include a credit_card_0_amount and credit_card_1_amount to specify how much to charge to each card. The amounts must sum to the order total.
- Credit Card (Pagar.me)
- Credit Card (Stripe)
- Split (Two Cards)
- Saved Card
Credit card response
The resulting order status after the payment attempt. Typically
paid on immediate approval or pending if further action is required.Pix
Pix is Brazil’s instant payment network. When a customer selects Pix, Nova.Pay generates a QR code and a copy-paste string. The customer scans or pastes the code in their banking app, and payment is confirmed in seconds.- Request
- Response
Pix response fields
The Pix Copia e Cola string. Display this in a text box so the customer can copy it into their banking app.
URL of the QR code image. Render this as an
<img> so the customer can scan it with their phone camera.The date and time at which the Pix charge expires. After this timestamp the QR code is no longer valid and the order will transition to
cancelled.The order status after a Pix payment request is
waiting_payment. It transitions to paid once the customer completes the transfer in their banking app. Poll GET /orders/{id} or listen for the webhook event to detect confirmation.Bank Slip (Boleto)
A bank slip (boleto bancário) is a Brazilian payment voucher that the customer prints or saves and pays at a bank branch, ATM, or internet banking portal. Settlement is not instant — confirmation typically arrives within one to two business days.- Request
- Response
Bank slip response fields
Direct URL to the printable boleto PDF. Redirect the customer to this URL or embed it in your confirmation page so they can print or save the voucher.
Choosing a Payment Plan
Before presenting payment options to the customer, fetch the available plans for the current checkout context:payment_method field — use it to group or filter the options you display:
id as payment_plan_id when you submit the payment request.