Debt Payment

With this service, you can pay the full debt using a room or tracking number.
POST /integrators/payments/debts/pay

Filter parameters

You must provide at least one parameter: either room number (roomNumber) or tracking code (waybillNumber).
Field Type Required Example Description
roomNumber string Conditional IG00001
Required if waybillNumber is missing.
Customer's room number.
waybillNumber string Conditional TY7200934421231
Required if roomNumber is missing.
Parcel tracking in the Inex system.
paymentId string Yes IN0001 Payment number in your system. (max:255 characters).

Duplicate paymentId

Please note. When attempting to pay a debt again with a duplicate paymentId, our system will not return an error; if it exists, it will return the previous successful response.

Response Structure 200 OK

Attribute Type Example Description
data.transactionId string 223IN1233 Transaction identifier reflected in the Inex system.

Possible Responses

Code Description
200 OK Payment was successfully completed.
404 Not Found Customer or parcel not found.
403 Forbidden You do not have permission to perform this operation
422 Unprocessable Validation error (invalid type or missing field).