pixiPaySetInvoiceCapture

API Call made for Payment-Apps to set invoices to paid or to unpaid after capturing the amount

Since pixi version: LOU Official - Update 46 (6.9.46.27927) Additional notes: @Success - Was the capture successful? IF not(@Success = 0), the call sets the PayedSum in Invoices to "0" and all connected payment data for the invoice will be reset to unpaid. IF yes(@Success = 1), the call will create manual booking event in Customer Account.


Request

POST https://apigateway.descartes.com/tms/pixi/pixiPaySetInvoiceCapture

Request body

Name Type Required Description
PayID string true

Unique TransactionID

Type: varchar(50)

Default value:

Example: 31HA07BC812E3C3FDD691A7818766939

Available from: LOU Official - Update 46 (6.9.46.27927)

EventID string false

Mandatory when @Success = 1 - the EventID of the payment event in Customer Account

Type: varchar(3)

Default value:

Example: MIN

Available from: LOU Official - Update 46 (6.9.46.27927)

Message string true

Message will be saved to the Credit Card Log in pixi Control Center

Type: varchar(200)

Default value:

Example: Amount of 46.18 EUR was captured

Available from: LOU Official - Update 46 (6.9.46.27927)

PayCode string true

CC = Credit Card

Type: varchar(50)

Default value:

Example: CC

Available from: LOU Official - Update 46 (6.9.46.27927)

Success boolean true

@Success = 0 -> PaidSum = 0, @Success = 1 -> PaidSum > 0

Type: bit

Default value:

Example: 0 or 1

Available from: LOU Official - Update 46 (6.9.46.27927)

InvoiceNr string true

Invoice number of the invoice that was captured

Type: varchar(20)

Default value:

Example: DEM0000021

Available from: LOU Official - Update 46 (6.9.46.27927)

CaptureSum number true

Sum that should be captured. @PaidSum in pixiSetInvoicePaid

Type: money

Default value:

Example: 46.18

Available from: LOU Official - Update 46 (6.9.46.27927)

SetRemainingOrdersToHAL boolean true

If items of the order remain on ANG (e.g. for partial deliveries) they can be set back to HAL =1

Type: bit

Default value:

Example: 0 or 1

Available from: LOU Official - Update 46 (6.9.46.27927)


Response

1. Return status

Name Type Description
Status string

Result of API Call

Type: varchar(10)

Available from: 25.06 (25.6.0.58802)

Message string

Extended Result of API Call

Type: varchar(100)

Available from: 25.06 (25.6.0.58802)