Integration test - Dynamic model - Mercado Pago Developers
What are you looking for?

Do not know how to start integrating? 

Check the first steps

Test your integration

Create test users

Use test accounts to ensure that your integration supports all possible flows and scenarios. They have the same features as a real Mercado Pago account, which allows you to test the functioning of the integrations you are developing.

If you haven't created test users yet, go to Prerequisites to learn how to do it.

Test cards

You can use test cards of local payment methods and simulate different payment responses, without the need to use a real card.

For this, depending on your country, use one of the credit or debit cards we provide below.

Credit cards

CardNumberSecurity codeExpiration date
Mastercard5416 7526 0258 258012311/25
Visa4168 8188 4444 711512311/25
American Express3757 781744 61804123411/25

Debit cards

CardNumberSecurity codeExpiration date
Mastercard5241 0198 2664 695012311/25
Visa4023 6535 2391 437312311/25

To test different payment results, fill in the desired status in the cardholder's name:

Payment StatusDescriptionIdentity document
APROApproved payment(otro) 123456789
OTHEDeclined for general error(otro) 123456789
CONTPending payment-
CALLDeclined with validation to authorize-
FUNDDeclined for insufficient amount-
SECUDeclined for invalid security code-
EXPIDeclined due to due date issue-
FORMDeclined due to form error-

Test payment process

1. Assign an order to a checkout using your seller user.

To test the attended model, generate an order with the test user credentials you want to use as a seller and send an order to the previously created QR.

2. Make a payment with your buyer user.

  • A. Sign Mercado Pago App in with your buyer test user.
  • B. Click on Pay with QR and scan the POS QR code.
  • C. Choose a saved card or enter data of a new one, and pay.

3. Receive order notifications

Lastly, make sure you’ve received a status notification in your system. And it's done!

Validate your integration

We detailed all the necessary scenarios you should test to ensure your system's successful integration with Mercado Pago.

Validation events:

QR ModelLink
AttendedClick here
DynamicClick here