GET api/pos/refunds?paymentId={paymentId}&accessToken={accessToken}&bioCode={bioCode}
Gets a list of refundsIds associated with the paymentId
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| paymentId |
Required: paymentId |
string |
None. |
| accessToken | string |
None. |
|
| bioCode | string |
None. |
Body Parameters
None.
Response Information
Resource Description
The refunds IDs that matched the query if success is true, otherwise errors
PosRefundsIdsViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| refundsIds | Collection of string |
None. |
|
| success | boolean |
None. |
|
| errors | Collection of string |
None. |
Response Formats
application/xml, text/xml
Sample:
<PosRefundsIdsViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/_1SA_MobilePay_POS_ViewModels.ViewModels">
<errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</errors>
<success>true</success>
<refundsIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</refundsIds>
</PosRefundsIdsViewModel>
application/json, text/json
Sample:
{
"refundsIds": [
"sample string 1",
"sample string 2"
],
"success": true,
"errors": [
"sample string 1",
"sample string 2"
]
}