Skip to main content
POST
Criar configuração de pagamento

Authorizations

User-Token
string
header
required
User-Secret-Key
string
header
required

Path Parameters

alias
string
required

Alias da loja

paymentId
integer
required

ID da forma de pagamento

Body

application/json
payment_id
integer
required
Example:

6

affiliation_id
integer
required
Example:

3

active
boolean
required
Example:

true

default_display
boolean
required
Example:

false

accumulate_discount
boolean
Example:

false

ignore_promotions
boolean
Example:

false

percent_discount
number<float>
Example:

0

min_installment_value
number<float>
Example:

25

max_installments_without_tax
integer
Example:

1

billet_expire_days
integer
Example:

1

Response

Configuração de pagamento criada com sucesso

payment_id
integer
required
affiliation_id
integer
required
active
boolean
required
default_display
boolean
required
id
integer
spread
boolean
ignore_promotions
boolean
accumulate_discount
boolean
percent_discount
number<float>
min_installment_value
number<float>
max_installments_without_tax
integer
billet_expire_days
integer
days_to_cancel_unpaid_billets
integer
hours_to_cancel_unpaid_pix
integer
hours_to_expire_pix_code
number
billet_instructions
string
installments
object
affiliation
object
payment
object
created_at
string<date-time>
read-only
updated_at
string<date-time>
read-only