Your account

Home
Documentation
API Reference
SDK Libraries
Certifications
News
Changelog
Dashboard

Manage applications, view your credentials and access your certifications.

Your integrations

Manage your applications or the accounts you integrate, access the credentials and configure notifications.

Home
Documentation
API Reference
Certifications
News
Changelog
SDK libraries
Mercado Pago Status
Support
Sign inCreate your account
OAuth - Java - Mercado Pago Developers

    SDKs

    Server side

    PHP

    Cancellations

    Customers

    Cards

    Payment methods

    Payments

    Preferences

    Refunds

    Java

    Cancellations

    Customers

    Cards

    Payment methods

    OAuth

    Payments

    Preferences

    Merchant orders

    Refunds

    NodeJS

    Cancellations

    Customers

    Cards

    Payment methods

    Payments

    Preferences

    Refunds

    Ruby

    Cancellations

    Customers

    Cards

    Payment methods

    Payments

    Preferences

    Refunds

    Net

    Cancellations

    Customers

    Cards

    Payment methods

    Payments

    Preferences

    Refunds

    Python

    Cancellations

    Customers

    Cards

    Payment methods

    Payments

    Preferences

    Preferences

    Client-side

    SDK JS - ES Module

    SDK JS - React

    How to migrate from SDK JS V1 to SDK JS V2 with Secure Fields

IN THIS PAGE

  1. Documentation
  2. SDKs
  3. Server side
  4. Java
  5. OAuth

Create and update token

You can create or update the token needed to operate your app on behalf of a vendor using the SDK below. For details of the request parameters, check the Create and refresh token API.

  • java
          
OauthClient client = new OauthClient();

String authorizationCode = "TG-XXXXXXXX-241983636";
client.createCredential(authorizationCode, null);

        
Previous
Meios de pagamento
Meios de pagamento
Próximo
Pagamentos
Pagamentos

Browse

  • Documentation
  • API Reference
  • SDK libraries
  • Certifications
  • News
  • Your integrations

Mercado Pago

  • Login to Mercado Pago account
  • Change account details
  • Terms of use
  • How we take care of your privacy

Help

  • Support
  • Status Mercado Pago
  • Where to get your credentials?

Country and language

Chile

ArgentinaBrasilMéxicoUruguayColombiaChilePerú

EN

EspañolEnglishPortuguês

Youtube

Subscribe to our channel

© 2023 MercadoLibre S.R.L.