Skip to content

add verification to api error response#16

Merged
hassan-sabeh-cko merged 1 commit intomasterfrom
chore/point-2462/braintree-update-apiErrorResponse
Nov 25, 2025
Merged

add verification to api error response#16
hassan-sabeh-cko merged 1 commit intomasterfrom
chore/point-2462/braintree-update-apiErrorResponse

Conversation

@hassan-sabeh-cko
Copy link
Copy Markdown

@hassan-sabeh-cko hassan-sabeh-cko commented Nov 25, 2025

##Description
Need to update the api error response struct to include card verifications since it seems that braintree

<?xml version="1.0" encoding="UTF-8"?>
<api-error-response>
  <errors>
    <errors type="array"></errors>
  </errors>
  <params>
    <customer>
      <credit-card>
        <options>
          <verify-card>true</verify-card>
          <verification-merchant-account-id>*REDACTED*</verification-merchant-account-id>
        </options>
        <cardholder-name>*REDACTED*</cardholder-name>
        <device-session-id nil="true"></device-session-id>
        <fraud-merchant-id nil="true"></fraud-merchant-id>
        <correlation-id nil="true"></correlation-id>
      </credit-card>
    </customer>
  </params>
  <message>Card Issuer Declined CVV</message>
  <verification>  <=======
     .....
  </verification> <=======
</api-error-response>

@hassan-sabeh-cko hassan-sabeh-cko marked this pull request as ready for review November 25, 2025 10:57
@hassan-sabeh-cko hassan-sabeh-cko merged commit 6dffa48 into master Nov 25, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants