curl --request POST \
--url https://api.upwell.com/api/rest/bulk-customer-payment-line-items \
--header 'Content-Type: application/json' \
--data '
{
"inputs": [
{
"checkDate": "2023-12-25",
"checkOrAchNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"currency": "AED",
"customerId": "<string>",
"exchangeRate": "<string>",
"fees": 123,
"id": "<string>",
"invoiceId": "<string>",
"notes": "<string>",
"paymentId": "<string>",
"sourceSystem": "<string>",
"sourceSystemId": "<string>",
"sourceSystemMeta": "<unknown>",
"status": "<string>",
"tenantId": "<string>",
"totalAmount": 123,
"totalAmountWithFees": 123,
"transactionDate": "2023-12-25",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
}
'{
"createCustomerPaymentLineItems": {
"returning": [
{
"checkDate": "2023-12-25",
"checkOrAchNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"currency": "AED",
"customerId": "<string>",
"exchangeRate": "<string>",
"fees": 123,
"id": "<string>",
"invoiceId": "<string>",
"notes": "<string>",
"paymentId": "<string>",
"sourceSystemId": "<string>",
"sourceSystemMeta": "<unknown>",
"status": "<string>",
"totalAmount": 123,
"totalAmountWithFees": 123,
"transactionDate": "2023-12-25",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
}
}Create multiple customer payment line items at once
curl --request POST \
--url https://api.upwell.com/api/rest/bulk-customer-payment-line-items \
--header 'Content-Type: application/json' \
--data '
{
"inputs": [
{
"checkDate": "2023-12-25",
"checkOrAchNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"currency": "AED",
"customerId": "<string>",
"exchangeRate": "<string>",
"fees": 123,
"id": "<string>",
"invoiceId": "<string>",
"notes": "<string>",
"paymentId": "<string>",
"sourceSystem": "<string>",
"sourceSystemId": "<string>",
"sourceSystemMeta": "<unknown>",
"status": "<string>",
"tenantId": "<string>",
"totalAmount": 123,
"totalAmountWithFees": 123,
"transactionDate": "2023-12-25",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
}
'{
"createCustomerPaymentLineItems": {
"returning": [
{
"checkDate": "2023-12-25",
"checkOrAchNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"currency": "AED",
"customerId": "<string>",
"exchangeRate": "<string>",
"fees": 123,
"id": "<string>",
"invoiceId": "<string>",
"notes": "<string>",
"paymentId": "<string>",
"sourceSystemId": "<string>",
"sourceSystemMeta": "<unknown>",
"status": "<string>",
"totalAmount": 123,
"totalAmountWithFees": 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
Show child attributes
A date string, such as 2024-02-03 (YYYY-MM-DD)
A timestamp with timezone in ISO 8601 format, such as 2024-12-16T21:57:14.525733+00:00
AED, AUD, BRL, CAD, CHF, CNY, EGP, EUR, GBP, HKD, IDR, INR, JPY, KRW, MXN, MYR, NZD, QAR, SAR, SGD, THB, TRY, TWD, USD, VND, ZAR A date string, such as 2024-02-03 (YYYY-MM-DD)
A timestamp with timezone in ISO 8601 format, such as 2024-12-16T21:57:14.525733+00:00
Responses for POST /api/rest/bulk-customer-payment-line-items
response of any mutation on the table "payment_line_items"
Show child attributes
Show child attributes
A date string, such as 2024-02-03 (YYYY-MM-DD)
A timestamp with timezone in ISO 8601 format, such as 2024-12-16T21:57:14.525733+00:00
AED, AUD, BRL, CAD, CHF, CNY, EGP, EUR, GBP, HKD, IDR, INR, JPY, KRW, MXN, MYR, NZD, QAR, SAR, SGD, THB, TRY, TWD, USD, VND, ZAR A date string, such as 2024-02-03 (YYYY-MM-DD)
A timestamp with timezone in ISO 8601 format, such as 2024-12-16T21:57:14.525733+00:00