Refresh the EveryPay API reference against the current v4 spec - #9
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
A field-level diff of
docs/everypay-api.mdagainst the current published v4 OpenAPI spec (support.every-pay.com/apidoc/main/openapi.yaml, stillinfo.version: '4') surfaced a few things the distilled reference misstated or was missing. No payment states, endpoints, or required fields changed - the plugin's state mapper and request/response handling remain in sync with the spec.billing_stateISO 3166-2), and omitting the fields for card payments risks higher decline rates / degraded fraud screening / limited dispute resolution - not "card limits".phone_number {country_code, number}and note that email + phone are flagged "soon mandatory for all card payment requests" (upcoming Visa/Mastercard requirements).order_referencelength caps (255 card / 120 Open Banking) and thestructured_referenceOpen Banking field.detailed=trueon the status query (detailed_fraud_check_results).event_namelist (fraud + dispute events, token events) including thestatus_update/status_updatedconfusable and itsacquiring_completed_atcompanion field.request_token,token_agreement,token_consent_agreed, zero-amount card save) - groundwork for the tokenization roadmap item.A follow-up PR adds the defensive truncation of address fields to the new 2026-10-01 limits in
EveryPayOneOffPayloadFactory.🤖 Generated with Claude Code