Atualizar link de pagamento
Atualiza um link de pagamento existente
Autorizações
Parâmetros de rota
uuidstringObrigatório
Corpo
titlestringObrigatórioExample:
Link de Pagamento
valuenumber · doubleObrigatórioExample:
100
typestring · enumObrigatórioExample:
SINGLE
Valores possíveis: maxInstallmentsintegerOpcionalExample:
12
expirationDatestring · dateOpcionalExample:
2024-12-31
Respostas
200
Link de pagamento atualizado com sucesso
application/json
put
PUT /v1/payment-links/{uuid} HTTP/1.1
Host: api.barte.com
X-Token-Api: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 108
{
"title": "Link de Pagamento",
"value": 100,
"type": "SINGLE",
"maxInstallments": 12,
"expirationDate": "2024-12-31"
}
200
Link de pagamento atualizado com sucesso
{
"uuid": "550e8400-e29b-41d4-a716-446655440000",
"title": "Link de Pagamento",
"value": 100,
"type": "SINGLE",
"status": "ACTIVE",
"url": "https://pay.barte.com/link/550e8400"
}
Atualizado
Isto foi útil?