Skip to main content
POST
/
api
/
rest
/
customer_payments
/
search
Search Customer Payments
curl --request POST \
  --url https://api.upwell.com/api/rest/customer_payments/search \
  --header 'Content-Type: application/json' \
  --data '
{
  "limit": 10,
  "offset": 0,
  "orderBy": {},
  "where": {}
}
'
{
  "customerPayments": [
    {
      "checkDate": "2023-12-25",
      "checkOrAchNumber": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "currency": "AED",
      "id": "<string>",
      "paymentLineItems": [
        {
          "createdAt": "2023-11-07T05:31:56Z",
          "customerId": "<string>",
          "id": "<string>",
          "invoiceId": "<string>",
          "sourceSystem": "<string>",
          "sourceSystemId": "<string>",
          "status": "<string>",
          "totalAmount": 123,
          "updatedAt": "2023-11-07T05:31:56Z"
        }
      ],
      "sourceSystem": "<string>",
      "sourceSystemId": "<string>",
      "sourceSystemMeta": "<unknown>",
      "totalAmount": 123,
      "transactionDate": "2023-12-25",
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ]
}

Headers

authorization
string

Your API key will be used for authentication of the request. Authorization: YOUR_API_KEY

Query Parameters

limit
integer
default:10
offset
integer
default:0

Body

application/json

Query parameters can also be provided in the request body as a JSON object

limit
integer | null
default:10
offset
integer | null
default:0
orderBy
object[] | null
where
PaymentsBoolExp Ā· object

Boolean expression to filter rows from the table "payments". All fields are combined with a logical 'AND'.

Response

200 - application/json

Responses for POST /api/rest/customer_payments/search

customerPayments
Payments Ā· object[]