Parse EFT Response (Local)

Submits the raw Adyen SaleToPOI response JSON from the TTP SDK and processes the payment result. If the terminal approved the payment, a payment line is created on the sale and delta fields are included in the response. The request body is the Adyen SaleToPOI response object returned directly by the TTP SDK — passed through as-is.

Authentication

x-np-api-keystring
API Key authentication via header

Path parameters

tenantstringRequired

Your Entra Tenant ID. More details.

environmentstringRequired

Your Business Central Environment. More details.

companystringRequired

Your Business Central Company. More details.

saleIdUUIDRequired
The id of a POS sale. This can be provided by the API consumer when creating a new sale.
transactionIdUUIDRequired

System-generated identifier for an EFT transaction request, used for polling status and cancellation.

Headers

x-api-versiondateOptional

Used for API versioning. More details.

Request

This endpoint expects any.

Response

This endpoint returns an object.
transactionIdUUID

System-generated identifier for an EFT transaction request, used for polling status and cancellation.

successfulboolean
resultCodestring

Result code from the Adyen terminal (always present, empty string when not available)

resultMessagestring

Human-readable result message (always present)

cardNumberstring

Masked card number, e.g. “****1234” (always present)

cardNamestring

Card brand name, e.g. “Visa” (always present)

authorizationNumberstring

Authorization number from the terminal (always present)

refreshedSaleLineslist of objects
Sale lines created or modified by the EFT payment. Present only when successful.
refreshedPaymentLineslist of objects
Payment lines created by the EFT payment. Present only when successful.
deletedSaleLineslist of strings
SystemIds of sale lines deleted during the payment. Present only when successful.
deletedPaymentLineslist of strings
SystemIds of payment lines deleted during the payment. Present only when successful.
totalSalesAmountInclVatdouble
Total of all sale lines including VAT. Present only when successful.
totalPaymentAmountdouble
Total of all payment lines. Present only when successful.