Skip to content

API-58 docs: add Billing object for MoTo AVS support#196

Open
ecunado wants to merge 2 commits into
devfrom
docs/avs-moto-billing
Open

API-58 docs: add Billing object for MoTo AVS support#196
ecunado wants to merge 2 commits into
devfrom
docs/avs-moto-billing

Conversation

@ecunado

@ecunado ecunado commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Documents the new billing object (zipCode, address) used for Address Verification Service (AVS), on:
    • The Transaction Request Object, for moToSale and moToPreAuthorization operations sent via POST /transactions.
    • The MotoSaleRequest object, for POST /moto/sale (server-to-server MOTO sale via card token, no terminal involved).
  • Adds a dedicated ## Billing reference section in restobjects.md, modeled on the existing Money Remittance Options / Bypass Options sections.

Context

  • Terminal-side AVS support already shipped in hapi-android (PRs #3104, #3107, #3108, #3115).
  • cloudapi request/validation/OpenAPI-spec support for both /transactions and /moto/sale is implemented on branch feature/avs-moto (ticket API-58, cloudapi PR #456).
  • Confirmed via the Viscus repo that AVS is already supported end-to-end on Viscus's POST /ecomm/v1/moto/sale, gated by the merchant's avsEnabled agreement flag — billing is intentionally absent from refund/reversal, since AVS only applies at authorization time.

Test plan

  • Visual review of the rendered restobjects.md page in the docs site
  • Confirm the #billing anchor link resolves correctly from both the Transaction Request Object and MotoSaleRequest properties tables

Documents the new billing field (zipCode, address) accepted by
POST /transactions for moToSale and moToPreAuthorization, used for
Address Verification Service. Matches the cloudapi implementation on
feature/avs-moto and the terminal-side support shipped in hapi-android.
@ecunado ecunado changed the title docs: add Billing object for MoTo AVS support API-58 docs: add Billing object for MoTo AVS support Jul 22, 2026
POST /moto/sale now accepts the same optional billing address used for
Address Verification Service (AVS) as the Transaction Request Object,
matching Viscus's ecomm API support for AVS on MOTO sale.
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.

1 participant