Query

Query

Query

Retrieves a single payment type from an account.

Request

Method
URL
GET

Path Parameters

Name
Required
Type
Description
accountUniqueId

Guid
The unique ID of the account.
itemUniqueId

Guid
The unique ID of the payment type.

Headers

Name
Required
Type
Description
APIKey

Guid
A valid API key with a scope of AccountLists

Response

Headers

None

Status Code

Code
Description
200 OK
The payment type was found and is returned.
401 Unauthorized
The API key is missing, invalid, disabled, or does not have the correct scope.
403 Forbidden
The API key does not belong to this account, the account does not have the API-keys feature, or the key does not have the required scope.
404 Not Found
No payment type was found with that id for this account.

Body

Name
Type
Description
uniqueId
Guid
The unique ID of the payment type.
paymentType
Text
The name of the payment type.
active
Boolean
Indicates if the payment type is active or inactive.
creditOrDebit
Boolean
Indicates whether this payment type represents a credit/debit card payment (true) or something else (false).