Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ All notable changes to this project will be documented in this file.

## [3.1.20]
- Added `MerchantErrorMessage` and `MerchantErrorCode` fields to `Transaction` in API response, exposing the failure reason and error code for failed/declined payments.
- Added credit card schemes section on `/getTerminals` for `CreditCard` terminals.

## [3.1.19]
- Changed `CardType` values for the `CardInformation` `Type` element to the BIN interchange group classifications: `Consumer Credit`, `Consumer Debit`, `Corporate Credit`, `Corporate Debit`.
Expand Down
10 changes: 9 additions & 1 deletion src/main/resources/xsd/APIResponse.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@

<xs:complexType name="Schemes">
<xs:sequence>
<xs:element name="Scheme" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="Scheme" type="Scheme" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="DualBrandPair" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="schemeA" type="xs:string" use="required"/>
Expand All @@ -265,6 +265,14 @@
</xs:sequence>
</xs:complexType>

<xs:complexType name="Scheme">
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="code" type="xs:string"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>

<xs:complexType name="FormTemplates">
<xs:sequence>
<xs:element name="FormTemplate" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
Expand Down
Loading