Skip to main content
POST
/
api
/
rest
/
customer_payment_line_items
Create One Customer Payment Line Item
curl --request POST \
  --url https://api.upwell.com/api/rest/customer_payment_line_items \
  --header 'Content-Type: application/json' \
  --data '
{
  "input": {
    "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"
  }
}
'
{
  "createCustomerPaymentLineItem": {
    "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"
  }
}

Headers

authorization
string

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

Body

application/json

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

input
PaymentLineItemsInsertInput Ā· object

input type for inserting data into table "payment_line_items"

Response

200 - application/json

Responses for POST /api/rest/customer_payment_line_items

createCustomerPaymentLineItem
PaymentLineItems Ā· object

columns and relationships of "payment_line_items"