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": [
"3bbf0dad-eafe-4dbc-8248-ab3ba4271e27",
"5e3650d0-7507-4556-90c2-cecbea582e28"
]
}
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>3bbf0dad-eafe-4dbc-8248-ab3ba4271e27</d2p1:guid>
<d2p1:guid>5e3650d0-7507-4556-90c2-cecbea582e28</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": "c52b5ba1-e40a-4615-b57a-c4e1965d500e",
"Text": "sample string 2"
},
{
"GUID": "c52b5ba1-e40a-4615-b57a-c4e1965d500e",
"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>c52b5ba1-e40a-4615-b57a-c4e1965d500e</GUID>
<Text>sample string 2</Text>
</PaymentMethod>
<PaymentMethod>
<GUID>c52b5ba1-e40a-4615-b57a-c4e1965d500e</GUID>
<Text>sample string 2</Text>
</PaymentMethod>
</ArrayOfPaymentMethod>