post
https://api.my-rent.net/rents/payment_add/
Add a payment (or refund) to a reservation
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Records a payment (or refund) on a reservation. The received amount on the reservation is recalculated after the payment is saved.
The payment is always saved on the account from the user_guid header. A user_id sent in the body is ignored.
Send "return_id": "Y" to get the new payment ID back, then use it with Issue invoice for payment to create the invoice for this payment.
Send all values
Fields you do not send are saved as
0orN.exchangeanddirectiondefault to1. Always sendpaid.
Example request body
{
"rent_id": "123456",
"price": 250.00,
"payment_method_id": "3",
"currency_id": "2",
"exchange": 1,
"direction": 1,
"paid": "Y",
"price_with_tax": "Y",
"payment_date": "2026-05-20",
"erp_id": "PAY-98765",
"return_id": "Y"
}
Responses
| Code | Meaning |
|---|---|
| 200 | Payment saved. "ok", or { "status": "ok", "payment_id": "..." } when return_id is Y. |
| 400 | Missing rent_id or price, or worker_id does not belong to your account. |
| 401 | Missing or wrong b2b_guid / user_guid headers. |
| 403 | sorry: the reservation does not belong to the account in the headers. |
