AVS Test Guide: Response Codes and Sandbox Checks

Our Cards

Choose from any of our gift cards to give to your loved ones

giftcardimage

Where to Use?

Redeem your gift cards at any of our Merchants

Where to Buy?

You can purchase a gift card from any of these locations

ABOUT US

about

What is ONYX GiftCards?

Onyx Gift Cards is a Grenadian company designed to introduce, market and manage gift cards systems in Grenada for retailers and corporations. We are enthusiastic about the effect and influence we will have on the local market. We intend to expand our systems regionally with a range of product offerings and services.

What is a Gift Card?

Gift cards are the preferred way of giving and receiving gifts. They carry a monetary value that can be redeemed for gifts at your favorite store.
Onyx GiftCards are “Open Gift Cards” which means that they can be redeemed at multiple merchant locations. They are standard credit card size, can fit into the average wallet and made of PVC plastic. Onyx GiftCards are Barcoded for security and safety for the consumer and bear a disclaimer at the back.
Onyx Giftcards can be bought with a branded Card backer which is black in colour and is designed to fit the card. There is an area to write a brief message to the recipient as well.

How it Works?

  • Buy an Onyx Gift Card at these local stores
  • Give your gift card to friends, family, co-workers, etc.
  • The recipient can shop at our select merchants nationwide
  • Your friends, family, co-workers, etc. will present their gift card at checkout to pay for your item(s)
  • They will walk away happy with the best gift ever...the gift of Choice

Why ONYX GiftCards?

  • Save TIME. No need to run around looking for the perfect gift
  • Redeem from a variety of business island-wide. We will continue adding businesses as fast as ONYX grows.
  • ONYX Gift Cards do not expire
  • Cards are valued at convinient amounts to meet every need and occasion

An AVS test is a transaction you run in a payment gateway's sandbox or test mode to confirm that the gateway passes billing address data to the card network and returns the correct Address Verification System response code. It tests your integration, not the cardholder. That distinction matters, because AVS is a fraud signal produced by the issuing bank, and a test environment can only confirm that your code reads and acts on that signal.

What an AVS test checks

When a card is authorized, the issuer compares the numeric portions of the billing address you sent with the address on file. A test verifies four things:

AVS response codes

Codes are single letters, and the same letter can carry slightly different meanings depending on the card network and the issuer's country. The common set:

Treat G, I, S, and U as unknown rather than bad. Declining every response that is not a Y will cost you legitimate international orders.

How to run an AVS test

  1. Switch to the gateway's test or sandbox credentials. Never test with live card numbers.
  2. Use the documented test card numbers, which return fixed AVS results for specific ZIP and street values.
  3. Submit one order per AVS outcome: full match, ZIP-only match, street-only match, and no match.
  4. Compare the code your application logged with the code the gateway documents for that test card.
  5. Confirm the follow-on action fires as designed, such as an order hold or a manual review queue entry.
  6. Repeat on mobile and on any secondary checkout flow that accepts payment.

Strengths and limits of AVS

Pros

Cons

Where an AVS test fits in your stack

Run it at integration time, after every gateway upgrade, and whenever you change checkout or address validation logic. For a new market, test first and then set policy. A US store can require a full match on domestic cards while softening the rule for cards issued abroad. If you sell digital goods with instant delivery, weight AVS lower and lean on device and behavior signals. If you ship physical goods, weight it higher, because you can hold an order until the address is confirmed. The reasonable use case is a merchant or developer validating their own configuration with sandbox data.

One line you should not cross

Testing your own gateway setup with sandbox credentials is routine engineering. Running AVS checks against card numbers you do not own, or buying card data to see which records pass, is payment card fraud and a federal crime in the US. The same tooling that makes AVS simple to integrate makes that misuse simple to trace.

Contact Us

Latest

Read our complete guide: Should You Buy CVV From a Card Shop? The Honest Buyer's Guide