Skip to main content

Overview

Use these test card numbers in the Yuno sandbox environment to simulate various payment outcomes. These cards work with any expiry date in the future and any 3-digit CVV.
Test cards only work in the sandbox environment (api-sandbox.y.uno). Never use real card numbers in sandbox or test card numbers in production.

Test Card Numbers

Successful Payments

Card NumberBrandResultDescription
4111111111111111VisaApprovedStandard successful payment
5500000000000004MastercardApprovedStandard successful payment
378282246310005AmexApprovedAmerican Express approved
6011111111111117DiscoverApprovedDiscover approved

Declined Payments

Card NumberBrandResultDecline Reason
4000000000000002VisaDeclinedGeneric decline
4000000000000069VisaDeclinedExpired card
4000000000000127VisaDeclinedIncorrect CVV
4000000000009995VisaDeclinedInsufficient funds
4000000000000119VisaDeclinedProcessing error

3DS Authentication

Card NumberBrandResult3DS Behavior
4000000000003220Visa3DS RequiredFull 3DS challenge flow
4000000000003063Visa3DS Frictionless3DS passes without challenge
4000000000003097Visa3DS Failed3DS authentication fails

Special Scenarios

Card NumberBrandResultScenario
4000000000000259VisaPendingAsync payment processing
4000000000003436VisaRequires ActionRedirect required

Test Card Details

For all test cards, use:
FieldValue
Expiry MonthAny future month (e.g., 12)
Expiry YearAny future year (e.g., 2028)
CVVAny 3 digits (e.g., 123), 4 digits for Amex
Cardholder NameAny name (e.g., Test User)

Test Customer Data

Use these values for customer fields in sandbox:
{
  "customer": {
    "email": "test@example.com",
    "first_name": "Test",
    "last_name": "User",
    "document": {
      "document_type": "CPF",
      "document_number": "12345678901"
    },
    "phone": {
      "country_code": "55",
      "number": "11999999999"
    }
  }
}
Document validation is relaxed in sandbox. The CPF number 12345678901 is accepted for testing purposes even though it is not a valid CPF.

Usage Example

const payment = await fetch('https://api-sandbox.y.uno/v1/payments', {
  method: 'POST',
  headers: { /* sandbox auth headers */ },
  body: JSON.stringify({
    checkout_session: 'session-id',
    payment_method: {
      type: 'CARD',
      token: tokenFromTestCard,  // Token created with 4111111111111111
    },
    amount: { currency: 'USD', value: 10.00 },
    country: 'CO',
  }),
});
// Expected: 200 with status "SUCCEEDED"