curl --request POST \
--url https://api.upwell.com/api/rest/customer_payments \
--header 'Content-Type: application/json' \
--data '
{
"input": {
"checkDate": "2023-12-25",
"checkOrAchNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"currency": "AED",
"id": "<string>",
"paymentLineItems": {},
"sourceSystem": "<string>",
"sourceSystemId": "<string>",
"sourceSystemMeta": "<unknown>",
"tenantId": "<string>",
"totalAmount": 123,
"transactionDate": "2023-12-25",
"updatedAt": "2023-11-07T05:31:56Z"
}
}
'{
"createCustomerPayment": {
"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"
}
}Create a new customer payment
curl --request POST \
--url https://api.upwell.com/api/rest/customer_payments \
--header 'Content-Type: application/json' \
--data '
{
"input": {
"checkDate": "2023-12-25",
"checkOrAchNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"currency": "AED",
"id": "<string>",
"paymentLineItems": {},
"sourceSystem": "<string>",
"sourceSystemId": "<string>",
"sourceSystemMeta": "<unknown>",
"tenantId": "<string>",
"totalAmount": 123,
"transactionDate": "2023-12-25",
"updatedAt": "2023-11-07T05:31:56Z"
}
}
'{
"createCustomerPayment": {
"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"
}
}Your API key will be used for authentication of the request. Authorization: YOUR_API_KEY
Query parameters can also be provided in the request body as a JSON object
input type for inserting data into table "payments"
Show child attributes
Responses for POST /api/rest/customer_payments
Payment records
Show child attributes