Actions7
Create Payment Link
AI-generatedSummary
Create a payment link by specifying customer details, order items, payment methods, and optional additional settings, which returns link information for customers to complete payment.
Inputs
- Customer Name — Full customer name to associate with the payment link.
- Customer Email — Customer email to associate with the payment link.
- Customer CPF/CNPJ — Customer CPF (11 digits) or CNPJ (14 digits), used as tax identification.
- Order Items — List of products or services included in the order; each item requires product name, quantity, and amount in cents.
- Payment Methods — Allowed payment methods for the link; possible values include Credit Card, PIX, and Bank Slip (boleto).
- Additional Fields — Optional extra settings like reference ID, redirect URL, notification URL, installments count, statement descriptor, and response simplification flag.
Output shape
a single object containing details of the created payment link.
The response includes the payment link data returned by the PagBank Connect API. If 'Simplify' is set in additional fields, the response is a simplified version. Errors during creation are thrown as node operation errors with descriptive messages.