Edit Client Payments
Production
https://{{subdomain}}.daftra.com/api2
Production
https://{{subdomain}}.daftra.com/api2
PUT
https://{{subdomain}}.daftra.com/api2
Client Payments
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request PUT 'https://.daftra.com/api2/client_payments/' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer ' \
--header 'apikey: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"ClientPayment": {
"client_id": 0,
"status": 0,
"payment_method": "string",
"amount": 0,
"currency_code": "USD",
"transaction_id": "string",
"treasury_id": 0,
"date": "2025-03-24 21:22:32",
"staff_id": 0,
"notes": "string",
"receipt_notes": "string"
}
}'
Response Response Example
200 - Example 1
{
"code": 200,
"result": "successful"
}
Request
Path Params
id
stringÂ
required
format
stringÂ
required
Header Params
Accept
stringÂ
optional
Default:
application/json
Content-Type
stringÂ
optional
Default:
application/json
Authorization
stringÂ
optional
Default:
Bearer {{access_token}}
apikey
stringÂ
deprecated
Default:
{{apikey}}
Body Params application/json