GET api/returnmoney/{sessionID}/{invID}/{allMoney}/{hash}

Refund to seller

Request Information

URI Parameters

NameDescriptionTypeAdditional information
sessionID

Session ID (obtained at login)

string

Required

invID

Invoice number

integer

Required

allMoney

Full/partial refund flag

integer

Required

hash

MD5 hash

string

Required

Body Parameters

None.

Response Information

Resource Description

ReturnMoneyResponse
NameDescriptionTypeAdditional information
retval

Return code (0 - ok, otherwise - error)

integer

None.

desc

Text description of the return code (error description)

string

None.

Response Formats

application/json, text/json

Sample:
{
  "retval": 1,
  "desc": "sample string 2"
}

application/xml, text/xml

Sample:
<returnmoney.response>
  <retval>1</retval>
  <desc>sample string 2</desc>
</returnmoney.response>