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
200

OK

application/json
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
installmentsnumberObrigatório
Respostas
200

Payment updated successfully

application/json
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
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
200

OK

application/json
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
installmentsnumberObrigatório
Respostas
post
/orders/{order_id}/payments