PhysicalSaleTransactionData
Physical sale data used to create the terminal transaction.
DEPRECATED - Use terminal.id instead
The ID of the Softpay point of sale to associate the physical sale with.
uuid"01924737-9c18-71c0-ab1a-88698eaceabf"The transaction type to process. Use PAYMENT for purchases and PAYOUT for refunds. Defaults to PAYMENT if not given.
Note that PAYOUT requires the feature to be enabled by SoftPay.
"PAYMENT""PAYMENT""PAYOUT""PAYMENT"The amount must be defined in minor units. E.g. 2,50 DKK must be set as 250.
1000The currency code of the payment. For Danish Kroner defined as DKK. ISO 4217 alpha-3 (e.g., DKK)
^[A-Z]{3}$"DKK"The URL to receive the webhook with the final transaction result.
urilength <= 1024"https://example.com/notification"This is the transaction reference, similar to an order ID.
The reference SHOULD be unique for each payment, as some acquirers enforce per-payment uniqueness.
Using a duplicate reference may result in failed payments or make reconciliation difficult.
Only ASCII alphanumeric characters and dashes are allowed.
^[A-Za-z0-9-]{1,36}$1 <= length <= 36"store-sale-1"A list of pass through attributes that is sent back to the merchant on webhooks. Max size is 1kb.
An optional merchant defined customer id used to uniquely identify a user in the merchant system.
"User159"Customer info associated with the sale. It is recommended to send all the info that is available.