com.mercadopago.client.oauth.RefreshOauthCredentialRequest Maven / Gradle / Ivy
package com.mercadopago.client.oauth;
import lombok.Builder;
import lombok.Getter;
/**
* Credential information to perform a refresh credential request. Go to this page to learn
* more.
*/
@Getter
@Builder
public class RefreshOauthCredentialRequest {
/**
* Type of operation to perform to get your credentials. This is a fixed parameter with a
* refresh_token value.
*/
private final String grantType = "refresh_token";
/**
* Private key to be used in some plugins to generate payments. You can get it in Your
* credentials.
*/
private final String clientSecret;
/**
* Unique ID that identifies your integration. You can get it in your Mercado Pago credentials.
*/
private final String clientId;
/** Value received with your seller's data. */
private final String refreshToken;
}