GET V2/Pay/GetPaymentMethod
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of PaymentTypeName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Code | string |
None. |
|
Desc | string |
None. |
|
Name | string |
None. |
|
Img | string |
None. |
|
PaymentDiscount | Collection of PaymentDiscounts |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": 1, "Code": "sample string 2", "Desc": "sample string 3", "Name": "sample string 4", "Img": "sample string 5", "PaymentDiscount": [ { "Id": 1, "PaymentId": 2, "Amount": 3.0, "IsPercentage": true, "Discount": 5.0, "NameTranId": "65811768-e7d4-4377-90f5-619e454e28d6", "DescribeTranId": "a7e9118c-2e68-402b-a469-68b4ce2532e5", "Remark": "sample string 8", "Logo": "sample string 9", "EffectiveTime": "2025-04-04 14:37:57", "ExpirationTime": "2025-04-04 14:37:57", "Name": "sample string 10", "Describe": "sample string 11", "Names": [ { "Lang": { "Id": 1, "Text": "sample string 2", "Code": "sample string 3" }, "Language": 0, "Desc": "sample string 1" }, { "Lang": { "Id": 1, "Text": "sample string 2", "Code": "sample string 3" }, "Language": 0, "Desc": "sample string 1" } ], "Describes": [ { "Lang": { "Id": 1, "Text": "sample string 2", "Code": "sample string 3" }, "Language": 0, "Desc": "sample string 1" }, { "Lang": { "Id": 1, "Text": "sample string 2", "Code": "sample string 3" }, "Language": 0, "Desc": "sample string 1" } ], "PaymentName": "sample string 12" }, { "Id": 1, "PaymentId": 2, "Amount": 3.0, "IsPercentage": true, "Discount": 5.0, "NameTranId": "65811768-e7d4-4377-90f5-619e454e28d6", "DescribeTranId": "a7e9118c-2e68-402b-a469-68b4ce2532e5", "Remark": "sample string 8", "Logo": "sample string 9", "EffectiveTime": "2025-04-04 14:37:57", "ExpirationTime": "2025-04-04 14:37:57", "Name": "sample string 10", "Describe": "sample string 11", "Names": [ { "Lang": { "Id": 1, "Text": "sample string 2", "Code": "sample string 3" }, "Language": 0, "Desc": "sample string 1" }, { "Lang": { "Id": 1, "Text": "sample string 2", "Code": "sample string 3" }, "Language": 0, "Desc": "sample string 1" } ], "Describes": [ { "Lang": { "Id": 1, "Text": "sample string 2", "Code": "sample string 3" }, "Language": 0, "Desc": "sample string 1" }, { "Lang": { "Id": 1, "Text": "sample string 2", "Code": "sample string 3" }, "Language": 0, "Desc": "sample string 1" } ], "PaymentName": "sample string 12" } ] }, { "Id": 1, "Code": "sample string 2", "Desc": "sample string 3", "Name": "sample string 4", "Img": "sample string 5", "PaymentDiscount": [ { "Id": 1, "PaymentId": 2, "Amount": 3.0, "IsPercentage": true, "Discount": 5.0, "NameTranId": "65811768-e7d4-4377-90f5-619e454e28d6", "DescribeTranId": "a7e9118c-2e68-402b-a469-68b4ce2532e5", "Remark": "sample string 8", "Logo": "sample string 9", "EffectiveTime": "2025-04-04 14:37:57", "ExpirationTime": "2025-04-04 14:37:57", "Name": "sample string 10", "Describe": "sample string 11", "Names": [ { "Lang": { "Id": 1, "Text": "sample string 2", "Code": "sample string 3" }, "Language": 0, "Desc": "sample string 1" }, { "Lang": { "Id": 1, "Text": "sample string 2", "Code": "sample string 3" }, "Language": 0, "Desc": "sample string 1" } ], "Describes": [ { "Lang": { "Id": 1, "Text": "sample string 2", "Code": "sample string 3" }, "Language": 0, "Desc": "sample string 1" }, { "Lang": { "Id": 1, "Text": "sample string 2", "Code": "sample string 3" }, "Language": 0, "Desc": "sample string 1" } ], "PaymentName": "sample string 12" }, { "Id": 1, "PaymentId": 2, "Amount": 3.0, "IsPercentage": true, "Discount": 5.0, "NameTranId": "65811768-e7d4-4377-90f5-619e454e28d6", "DescribeTranId": "a7e9118c-2e68-402b-a469-68b4ce2532e5", "Remark": "sample string 8", "Logo": "sample string 9", "EffectiveTime": "2025-04-04 14:37:57", "ExpirationTime": "2025-04-04 14:37:57", "Name": "sample string 10", "Describe": "sample string 11", "Names": [ { "Lang": { "Id": 1, "Text": "sample string 2", "Code": "sample string 3" }, "Language": 0, "Desc": "sample string 1" }, { "Lang": { "Id": 1, "Text": "sample string 2", "Code": "sample string 3" }, "Language": 0, "Desc": "sample string 1" } ], "Describes": [ { "Lang": { "Id": 1, "Text": "sample string 2", "Code": "sample string 3" }, "Language": 0, "Desc": "sample string 1" }, { "Lang": { "Id": 1, "Text": "sample string 2", "Code": "sample string 3" }, "Language": 0, "Desc": "sample string 1" } ], "PaymentName": "sample string 12" } ] } ]