Skip to main content

Update an invoice payment

The PUT /pic/link/invoice-payments/update endpoint allows you to update a payment. πŸ‘”πŸ’ΌπŸ€

Authorization​

This endpoint requires authentication through Basic Auth with the username and password of the backend that will consume it. To create and configure a backend, follow the backends tutorial

Request parameters​


This request does not contain parameters of type Path

Examples​

curl --location 'https://<identifier>.api.appliqloud.com/pic/link/invoice-payments/update' \
--request PUT \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic <token>' \
--data '{
"inputs": [
{
"paymentId": "6000098",
"purchaseInvoiceId": "1",
"paymentDate": "2024-08-09",
"amount": 1250.0,
"currencyId": "MXN"
}
]
}'
caution

Make sure to modify the <identifier> and <token> fields with your company identifier and authentication token respectively.

Responses​


Payments were updated successfully

{
"success": [
{
"paymentId": "6000098",
"invoicePaymentStatus": "TRANSFERRED",
"purchaseInvoiceId": "20001",
"vendorBusinessPartnerId": "1",
"paymentDate": "2024-08-09",
"amount": 1250.0,
"currency": "USD"
}
],
"errors": []
}