Payments

Obter Pagamento do Pedido

get
Autorizações
AuthorizationstringObrigatório
Bearer authentication header of the form Bearer <token>.
Parâmetros de rota
order_idstringObrigatório
idstringObrigatório
Respostas
get
/orders/{order_id}/payments/{id}

Atualizar Pagamento do Pedido

put
Autorizações
AuthorizationstringObrigatório
Bearer authentication header of the form Bearer <token>.
Parâmetros de rota
order_idstringObrigatório
idstringObrigatório
Corpo
payment_method_idstringObrigatório
amountnumberObrigatório
installmentsinteger · int32Obrigatório
Respostas
put
/orders/{order_id}/payments/{id}

Remover Pagamento do Pedido

delete
Autorizações
AuthorizationstringObrigatório
Bearer authentication header of the form Bearer <token>.
Parâmetros de rota
order_idstringObrigatório
idstringObrigatório
Respostas
chevron-right
204

Payment removed successfully

application/json
delete
/orders/{order_id}/payments/{id}

Listar Pagamentos do Pedido

get
Autorizações
AuthorizationstringObrigatório
Bearer authentication header of the form Bearer <token>.
Parâmetros de rota
order_idstringObrigatório
Parâmetros de consulta
searchstringOpcionalDefault: ""
pageinteger · int32OpcionalDefault: 0
perPageinteger · int32OpcionalDefault: 25
sortstringOpcionalDefault: ""
dirstringOpcionalDefault: asc
Respostas
get
/orders/{order_id}/payments

Criar Pagamento do Pedido

post
Autorizações
AuthorizationstringObrigatório
Bearer authentication header of the form Bearer <token>.
Parâmetros de rota
order_idstringObrigatório
Corpo
idstringOpcional
payment_method_idstringObrigatório
amountnumberObrigatório
installmentsinteger · int32Obrigatório
installment_idstringOpcional
transaction_idstringOpcional
Respostas
post
/orders/{order_id}/payments