POST {version}/GetTransactionPaymentMethods
Get Payment Methods
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| version | string |
None. |
Body Parameters
Query| Name | Description | Type | Additional information |
|---|---|---|---|
| ActiveOnly | boolean |
None. |
|
| Ids | Collection of globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"ActiveOnly": true,
"Ids": [
"9c1f0f88-9e4e-46a6-b8dd-1e11c256d963",
"d0f5bb62-66a5-405a-9974-27d7b59dcb94"
]
}
application/xml, text/xml
Sample:
<Query xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aristotle.CM.Model">
<ActiveOnly>true</ActiveOnly>
<Ids xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>9c1f0f88-9e4e-46a6-b8dd-1e11c256d963</d2p1:guid>
<d2p1:guid>d0f5bb62-66a5-405a-9974-27d7b59dcb94</d2p1:guid>
</Ids>
</Query>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
List of Payment Methods
Collection of PaymentMethod| Name | Description | Type | Additional information |
|---|---|---|---|
| GUID | globally unique identifier |
None. |
|
| Text | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"GUID": "707c8a9f-8d5a-4562-a9e1-847d8bd89e93",
"Text": "sample string 2"
},
{
"GUID": "707c8a9f-8d5a-4562-a9e1-847d8bd89e93",
"Text": "sample string 2"
}
]
application/xml, text/xml
Sample:
<ArrayOfPaymentMethod xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aristotle.CM.Model">
<PaymentMethod>
<GUID>707c8a9f-8d5a-4562-a9e1-847d8bd89e93</GUID>
<Text>sample string 2</Text>
</PaymentMethod>
<PaymentMethod>
<GUID>707c8a9f-8d5a-4562-a9e1-847d8bd89e93</GUID>
<Text>sample string 2</Text>
</PaymentMethod>
</ArrayOfPaymentMethod>