© 2024 Clarivate
GET /api/.../paymentmethods/{id}
Return a specific payment method in the system.
{
"PaymentMethodID":11,
"Description":"Cash"
}
Code | Description |
---|---|
200 | OK. Success |
GET /api/.../paymentmethods
Return list of all payment methods in the system.
GET /api/.../paymentmethods?orgid={orgid}
Return a list of payment methods that belong to a specific organization.
GET /api/.../paymentmethods?txncode={txncode}
Return a list of payment methods that applies to a specific transaction type.
Note: Credit Card payment method is only included if all of the following are true:
Name | Type | Required | Description |
---|---|---|---|
orgid | Integer | No | The unique id assigned to the organization. Used to filter the list. |
txncode | Integer | No | Patron transaction code id. Used to filter the list. |
[
{ "PaymentMethodID":11,
"Description":"Cash"
},
{
"PaymentMethodID":14,"Description":"Check"
},
{
"PaymentMethodID":16,
"Description":"Collection Agency"
},
{
"PaymentMethodID":12,
"Description":"Credit card"
},
{
"PaymentMethodID":13,
"Description":"Debit card"
},
{
"PaymentMethodID":17,
"Description":"Smart card"
},
{
"PaymentMethodID":15,
"Description":"Voucher"
}
]
[
{ "PaymentMethodID":11,
"Description":"Cash"
},
{
"PaymentMethodID": 13,
"Description": "Debit card"
},
{
"PaymentMethodID": 14,
"Description": "Check"
},
{
"PaymentMethodID": 15,
"Description": "Voucher"
},
{
"PaymentMethodID": 17,
"Description": "Smart card"
}
]
PatronAccountTxnCode { Charge = 1, Deposit = 4, Credit = 8, }
Code | Description |
---|---|
200 | OK. Success |