Authorization: Bearer ********************curl --location --request PUT '/vendorpayments//refunds/' \
--header 'Content-Type: application/json' \
--data-raw '{
"date": "2017-01-10",
"refund_mode": "Cash",
"reference_number": "string",
"amount": 2000,
"exchange_rate": 1,
"to_account_id": "460000000048001",
"description": "Payment Refund"
}'{
"code": 0,
"message": "The refund information has been saved.",
"vendorpayment_refund": [
{
"vendorpayment_refund_id": "460000000000007",
"vendorpayment_id": "460000000012345",
"date": "2013-10-01",
"refund_mode": "Cash",
"reference_number": " ",
"amount": 2000,
"exchange_rate": 1,
"to_account_id": "460000000048001",
"to_account_name": "Corporate Account",
"description": "The New York State Department of Taxation and Finance"
}
]
}