Skip to content

Commit

Permalink
Merge pull request #2150 from SwedbankPay/DEVP-335-Update-info-about-…
Browse files Browse the repository at this point in the history
…loyaltypan-in-SaleToAcquirerData

Comment on AcuirerData
  • Loading branch information
the-anders-jarold authored Mar 6, 2024
2 parents 9bad877 + 981f750 commit 41c72ef
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 2 deletions.
8 changes: 8 additions & 0 deletions _includes/pax-acquirerdata.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{:.code-view-header}
**Possible values in AcquirerData. Either any of them or both**

```json

{"purchaseOrderNumber":"<ordernumber>","loyaltyPan":"<pan>"}

```
12 changes: 12 additions & 0 deletions pax-terminal/NET/includes/acquirerdata.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
title: AcquirerData
description: |
The content is base64 encoded and sent to the terminal i SaleToAcquirerData in a PaymentRequest
permalink: /:path/AcquirerData/
hide_from_sidebar: true
---
### Special data sent to host

This field is used for special purposes and is normally left empty.

{%include pax-acquirerdata.md%}
5 changes: 3 additions & 2 deletions pax-terminal/NET/includes/transactionsetup.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ TransactionSetup holds properties for a transaction and may be passed as an inpu
```

{:.table .table-striped}
| :------------- | :-------------- |:--------------- |:---|
| string |AcquirerData | Additional data to be sent to host. Used for PurchaseOrderNumber. JSON format | Optional |
| :--- | :--- |:--- |:--- |
| string |[AcquirerData][acquirerdata] | Additional data to be sent to host. Used for sending special data to PosPay and that may be forwarded to other systems for customer purpose. JSON format. Content need to be agreed on | Optional |
| decimal |Amount |Total amount | Mandatory |
| string |APMReference |Used only if refund of a transaction made using alternative payment method. The reference originates from the response of the APM transaction | Only for Refund of APM transaction |
| decimal |CashBack |included in Amount | Optional |
Expand All @@ -48,3 +48,4 @@ string |TransactionID |A transaction id that may be set by sale system for track
```

[saleitem]: /pax-terminal/NET/includes/saleitem
[acquirerdata]: /pax-terminal/NET/includes/acquirerdata

0 comments on commit 41c72ef

Please sign in to comment.