Tariscope 4.6.Tariscope API guide
Tariscope API Methods
9. accounts.payment
This is a POST method that allows you to enter information about payments from the subscriber for the provided communication services into the Tariscope database.
Request parameters:
- id – subscriber identifier in the Tariscope system;
- paymentday – payment date in the format: yyyy-mm-dd;
- payment – payment amount for communication services;
- paymenttype – payment type (not specified – 0, cash – 1, by receipt – 2, by account – 3);
- bank – bank through which the payment was made.
Data returned by the request:
- subscriberid – subscriber identifier in the Tariscope system;
- paymentid – payment record identifier;
- paymentday – payment date in the format: yyyy-mm-dd.
Example of a request.
Subscriber with ID 6193 paid on 05/17/2023 to the account via PrivatBank for communication services in the amount of UAH 370.00. This means: id=6193, paymentday=2023-05-17, payment=370.00, paymenttype=3, bank=PrivatBank