Endpoints
Create card charge
Process a card payment
POST
Processes a card payment.
Body parameters
string
required
Unique identifier for this transaction in your application.
number
required
Transaction amount in BRL.
number
Number of card installments.
string
required
IPv4 of the customer performing the transaction.
object
required
Customer information, including address when required by the card processor.
string
required
Customer full name.
string
required
Customer email address.
string
required
Customer phone number.
string
required
Customer document, such as CPF or CNPJ for Brazilian customers.
object
required
Customer billing address.
string
required
Customer country code, such as
BR.string
required
Customer ZIP code.
string
required
Customer state code, such as
SP.string
required
Customer city.
string
required
Customer street.
string
required
Customer neighborhood.
string
required
Customer address number.
string
Customer address complement.
object
required
Card data used to process the payment.
string
required
Cardholder name.
string
required
Card number.
string
required
Card expiration date in
YYYY-MM format.string
required
Card security code.
string
Statement descriptor displayed on the card charge.
string
URL that will receive payment status webhook notifications.
array
Products included in the transaction.
string
required
Product identifier in your application.
string
required
Product name.
number
Product quantity.
number
required
Product unit price in BRL.
number
Shipping fee in BRL.
number
Additional fee in BRL.
number
Discount amount in BRL.
array
Payment split configuration.
string
required
Producer ID that will receive the split amount.
number
required
Amount sent to the split receiver, in BRL.
object
Free-form metadata associated with the transaction.
Request example
Payload example
Response
string
required
Transaction ID generated by the Gateway API.
string
required
Initial transaction status.
number
required
Transaction fee amount.
object
required
Order information and hosted order URL.

