Create Payment Line
Creates a new payment line. The API consumer must provide a unique GUID for the paymentLineId. Supports Cash and EFT (with external payment data storage) payments. Returns the saleId and a refresh object with SystemIds of updated entities and totals.
Authentication
Path parameters
Your Entra Tenant ID. More details.
Your Business Central Environment. More details.
Your Business Central Company. More details.
Headers
Used for API versioning. More details.
Request
Type of payment (Cash or EFT)
For EFT payments - masked card number
For EFT payments - PSP reference number
For EFT payments - PAN token for recurring payments
For EFT payments - card application ID (AID) for payment method mapping
For EFT payments - whether the payment was successful
For EFT payments - receipt lines to store
Response
Array of SystemIds (UUIDs) for sale lines that were deleted
Array of SystemIds (UUIDs) for payment lines that were deleted
