Get last payment for account
GET /rest/v1/subjects/accounts/:account_id/last_payment
Request
Headers
Route
GET /rest/v1/subjects/accounts/78299501/last_payment
Response
Headers
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": "Платежное поручение №ПП-15/12 от 30.08.2015",
"vc_code": "ПП-15/12 от 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
}
]
}
}