Accounts API

Get last payment for account

GET /rest/v1/subjects/accounts/:account_id/last_payment

Request

Headers

Accept: application/json
Content-Type: application/json

Route

GET /rest/v1/subjects/accounts/78299501/last_payment

Response

Headers

Content-Type: application/json; charset=utf-8
Content-Length: 679

Status

200 OK

Body

{"last_payment":{"n_doc_id":78302101,"d_doc":"2015-08-30T00:00:00+03:00","d_time":"2015-08-30T14:26:53+03:00","vc_name":"\u041f\u043b\u0430\u0442\u0435\u0436\u043d\u043e\u0435 \u043f\u043e\u0440\u0443\u0447\u0435\u043d\u0438\u0435 \u2116\u041f\u041f-15/12 \u043e\u0442 30.08.2015","vc_code":"\u041f\u041f-15/12 \u043e\u0442 30.08.2015","vc_rem":null,"payer":{"n_subject_id":78290101,"n_account_id":null},"recipient":{"n_subject_id":99,"n_account_id":50185501},"beneficiary":{"n_subject_id":78299201,"n_account_id":78299501},"content":[{"d_oper":"2015-08-30T14:26:53+03:00","n_pay_type_id":40230901,"n_currency_id":1044,"n_sum":"2000","n_sum_tax":"305.08","n_tax_rate_id":3005}]}}