POST
/
vLatest
/
query
/
glasscore
/
payment
curl --request POST \
  --url https://api.glass.fm/vLatest/query/glasscore/payment \
  --header 'Content-Type: application/json' \
  --data '{
  "advancedFilter": {
    "linkOperator": "AND",
    "items": [
      {
        "columnField": "nameFirst",
        "operatorValue": "contains",
        "value": "John"
      }
    ]
  },
  "return": [
    "id",
    "firstName",
    "lastName"
  ],
  "isAdditionalData": false,
  "page": 1,
  "pageSize": 20,
  "sortBy": "createdAt",
  "sortDirection": "desc"
}'
{
  "amountToPay": 123,
  "id": 123,
  "InvoiceId": "<string>",
  "OrgId": 123,
  "PersonId": 123,
  "resptext": "<string>",
  "transaction_id": "<string>"
}

Body

application/json

Multiple query options are supported. You can build a complex query filling out the advancedFilter section. We also support "simple" queries which used by putting the key you want to filter by in the query section along with the value you want it to filter for. E.g., nameFirst=John will return all persons with a first name of John.

Response

200 - application/json

A list of Payments

The response is of type object.