Test Card Payment Methods

Overview

When testing your PayNearMe integration in Sandbox, it’s important to use the designated test accounts rather than real payment details. PayNearMe provides a set of sample credit and debit cards that allow you to simulate both successful and declined transactions across the Consumer Portal, Embedded Client, and API. These test credentials make it possible to validate payment flows, verify error-handling logic, and reproduce specific decline scenarios—ensuring your integration is reliable before moving into production.

Consumer Portal Testing

PayNearMe provides test credit card, debit card, and bank account details in the Consumer Portal and Embedded Client that you can add by clicking the View button and then selecting one of the provided values. The portal automatically pre-fills the required payment method data to test both successful and declined transactions.

API Testing

When testing in the API you can use the following card PANs to simulate successful transactions in the PayNearMe platform. All other required fields can be of your choosing as long as they're submitted in a valid format.

Payment Method TypeTest Accounts
Debit CardsUse the following account numbers in the payment_method_card_number_pii parameter:
  • 9999925615744358
  • 9999924503863867
  • 9999926275252757
  • 9999926481617389
  • 9999-9268-6336-2265
Credit CardsUse the following account numbers in the payment_method_card_number_pii parameter:
  • 9999916516806651
  • 9999914004280406
  • 9999915317077884
  • 9999915568082161
  • 9999915852074023

Decline Testing

When testing decline scenarios you can use the test accounts listed above with the following amounts to simulate specific decline codes. These amounts should be inclusive of the convenience fee for the transaction. The following table includes links to each decline code that can be tested.

Network Code

Decline Message

Amount

05

This card is not permitted to make this payment.

213.89

12

This payment with this card is invalid.

213.83

14

This card number is invalid.

213.79

51

There are insufficient funds on this card to complete this payment.

213.73

54

This card is expired.

213.71

57

This card is not permitted to make this kind of payment.

213.67

61

This payment exceeds this card’s withdrawal limit.

NOTE: This message only occurs with disbursement transactions.

213.61

62

This card is restricted and cannot make this payment.

213.59

NZ

This payment didn't complete because the security code was invalid.

213.53

AVS Testing

AVS testing can be performed using specific CVV values that will trigger decline codes associated with AVS failures.

Network CodeDecline MessageCVV ValueTesting Parameters
05Do Not Honor999
  • Provided ZIP code does not match
  • Security Code does not match
05Do Not Honor998
  • Address matches
  • Provided ZIP code does not match
05Do Not Honor997Information not available
05Do Not Honor996AVS system unavailable, retry payment