Mark the invoice payment status
POST
/invoices/{invoiceId}/payments
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api-sandbox.saaslogic.io/v1/invoices/a5e1343d-bf22-4bf9-b4e1-914f39bdbc16/payments' \
--header 'Authorization;' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data-raw '{
"invoiceId": "a5e1343d-bf22-4bf9-b4e1-914f39bdbc16",
"paymentDate": "2024-07-25T15:00:00",
"amount": 1500,
"refNo": "ref123456",
"paymentMethod": "Bank Transfer",
"remarks": "Payment for July invoice"
}'
Response Response Example
{
"message": "UN_AUTHORIZED"
}
Request
Path Params
invoiceId
string
required
Example:
a5e1343d-bf22-4bf9-b4e1-914f39bdbc16
Header Params
Authorization
string
required
Default:
Bearer {{bearerToken}}
Content-Type
string
optional
Default:
application/json
Accept
string
optional
Default:
application/json
Body Params application/json