question

ezpays avatar image
ezpays asked ·

How to check avs in charge API?

I want to know avs checking feature. That is, I want to make the payment of correct billing addresses.

PaymentsDeveloper Pay API
10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
David Marginian avatar image
David Marginian answered ·

When you tokenize the card (I am assuming you are still using the tokens endpoint) you need to include the zip:

{
    "card": {
          "number": "redacted",
          "exp_month": "redacted",
          "exp_year": "redacted",
          "address_zip": 56555,
          "cvv": "123"
    }      
}

When you make the charge the response's source will contain address_zip_check:


"source": {
    ....
    "address_zip_check": "pass",
 }


8 comments
10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

no, you are wrong on your API. I added address_zip. But I can not see the address zip check.

0 Likes 0 ·

I ran the requests, so I am not wrong. Are you looking at the response from the token endpoint instead of making a charge and looking at the charge response?

0 Likes 0 ·
ezpays avatar image ezpays David Marginian ♦♦ ·

screen-shot-2021-03-12-at-12447-am.png

look at this

0 Likes 0 ·
Show more comments

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community