Skip to main content

Create authorization

Allow to create an authorization for a payment authorized externally

Path Parameters
uuid string REQUIRED

The identifier of the payment intent

Request Body REQUIRED
type string

Possible values: [SALE, REFUND]

Type of the transaction

amount decimal

Amount of the transaction

cft_amount decimal

CFT included in amount

status string

Possible values: [APPROVED, DENIED]

Status of the authorization

mechant_id string
terminal_id string
customer object
full_name string

Name of the customer

email string

Email of the customer

channel string

Possible values: [QR]

Channel of the transaction

payment_method object
type string

Possible values: [TRANSFER, CARD, CASH, AGENCY]

Type of the payment method

reference_number string

Reference number of the payment method

ticket_number string

Ticket number of payment

agency object
authorization_code string

Authorization code of the agency

name string

Name of the agency

transfer object
authorization_code string

Authorization code of the transfer

network string REQUIRED

Possible values: [PIX, COELSA, UENO]

network of the transfer

origin object
account_number string

Account number of the origin

holder object
full_name string

Name of the holder

identification object
type string

Type of identification

value string

Value of the identification

destination object
account_number string

Account number of the destination

holder object
full_name string

Name of the holder

identification object
type string

Type of identification

value string

Value of the identification

card object
authorization_code string

Authorization code of the card

scheme string

Scheme of the card

type string

Possible values: [CREDIT, DEBIT]

Type of the card

issuer string

Issuer of the card

input_mode string

Input mode of the card

number string

Possible values: Value must match regular expression ^\d{6,8}\*+\d{4}$

Number of the card

installments object
installment_id integer

ID of the installment

installments integer

Number of installments

holder object
full_name string

Name of the card holder

result object
code string

Result code

detail string

Detail of the result

Responses
204

No Content

400

Invalid input

500

Server error