Skip to content

New restApi version#179

Merged
alexdll31 merged 3 commits intodevfrom
bump-rest-api-2-26-0
Apr 1, 2026
Merged

New restApi version#179
alexdll31 merged 3 commits intodevfrom
bump-rest-api-2-26-0

Conversation

@alexdll31
Copy link
Copy Markdown
Contributor

added api 2.26.0: new deferred tokenization endpoint
restApi getTransactionStatus also added some missing fields in the response:
batchNumber, holdAmount, increaseAmount and capturedAmount

corrected different points in androidSDK:

androideventlisteners.md — 4 changes
#1 — CRITICAL: HardwareStatusChanged wrong parameter type The method signature and table both say the second param is Device. The actual code is ConnectionMethod. Change everywhere in that section:

// WRONG
hardwareStatusChanged(HardwareStatus status, Device device)
// CORRECT
hardwareStatusChanged(HardwareStatus status, ConnectionMethod hardware)

#2 — CRITICAL: Events.Status missing NetworkStatusChanged in Extends The Extends list is missing NetworkStatusChanged. Add it alongside the existing three.

#3 — CRITICAL: Events.Status code example has the same wrong signature The code example inside the Status section also shows Device device — fix it to ConnectionMethod hardware.

#4 — Minor: PhysicalKeyboardEvent param table says PaxA80Keys type The table says the key param is type PaxA80Keys but the actual interface uses String. The code example below it is already correct. Just fix the table row to say String.

#5 — Minor: Add new NetworkStatusChanged section This interface exists in source but has zero documentation. Needs a new section with networkStatusChanged(NetworkStatus networkStatus, Device device).

androidobjects.md — 7 changes
#6 — CRITICAL: ConnectionStatus has a phantom Initializing value Initializing does NOT exist in the actual enum. Remove it from the possible values list.

#7 — Minor: FinancialStatus missing AUTHORISED_DEFERRED Add it to the possible values and the description table.

#8 — Minor: TransactionType missing 13 values Missing: TOKENIZED_OPERATION, UPDATE, PRINT_RECEIPT, TIP_ADJUSTMENT, PRE_AUTHORIZATION, PRE_AUTHORIZATION_INCREASE, PRE_AUTHORIZATION_CAPTURE, MOTO_SALE, MOTO_CANCEL, MOTO_REFUND, MOTO_REVERSAL, MOTO_PREAUTHORIZATION, TRANSACTION_STATUS.

#9 — CRITICAL: TransactionResult missing transactionReference field This is the field integrators must save as a fallback to query the gateway. It's in the source but completely absent from the docs table.

#10/#11 — Minor: Verify efttimestamp/recoveredTransaction field name casing Worth double-checking the JSON serialized key names match what's in the docs.

#12 — Low: TransactionResult missing batchNumber, customData, applicationLabel, accountType All present in source, none in docs.

added api 2.26.0
corrected different points in androidSDK:
Updated the YML file to use node 20 required for docusaurus latest versions
Node.js 24: This is the version GitHub Actions will force all actions to use starting June 2nd, 2026. By opting in now, you avoid the deprecation warnings and ensure compatibility.
Latest action versions: All actions now use their latest versions, which are built to run on Node.js 24 and won't trigger deprecation warnings.
webfactory/ssh-agent v0.10.0: This version specifically upgrades to Node.js 24 and eliminates the related warnings.
@alexdll31 alexdll31 merged commit 84e02c1 into dev Apr 1, 2026
2 checks passed
@alexdll31 alexdll31 deleted the bump-rest-api-2-26-0 branch April 1, 2026 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants