Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,7 @@ public class OrderCreateRequest extends MPResource {

/** Shipment details for the order, including receiver address and package dimensions. */
private OrderShipmentRequest shipment;

/** Integration metadata identifying the integrator, platform, corporation, and sponsor. */
private OrderIntegrationDataRequest integrationData;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
package com.mercadopago.client.order;

import lombok.Builder;
import lombok.Getter;

// API version: acd67b14-97c4-4a4a-840d-0a018c09654f

/**
* Request object containing integration metadata for an order. Identifies the integrator,
* platform, and corporation associated with the integration, as well as any sponsoring
* marketplace owner.
*/
@Getter
@Builder
public class OrderIntegrationDataRequest {

/** Identifier of the certified integrator. Type: String. */
private String integratorId;

/** Platform identifier assigned by MercadoPago. Type: String. */
private String platformId;

/** Corporation identifier for multi-account setups. Type: String. */
private String corporationId;

/** Sponsor (marketplace owner) information. */
private OrderSponsorRequest sponsor;
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,7 @@ public class OrderPayerAddressRequest {

/** Name of the state or province. */
private String state;

/** Apartment number, floor, or other additional address information. Type: String. */
private String complement;
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ public class OrderPaymentRequest {
/** ISO 8601 duration or date-time indicating when this payment expires. */
private String expirationTime;

/**
* Absolute date and time (ISO 8601) after which this payment can no longer be collected.
* Distinct from expirationTime, which is a relative duration or TTL.
* Type: String (ISO 8601, e.g. "2026-06-01T00:00:00.000-04:00").
*/
private String dateOfExpiration;

/** Payment method details including type, token, and installments. */
private OrderPaymentMethodRequest paymentMethod;

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
package com.mercadopago.client.order;

import lombok.Builder;
import lombok.Getter;

// API version: acd67b14-97c4-4a4a-840d-0a018c09654f

/**
* Request object representing the sponsor (marketplace owner) associated with an order's
* integration metadata.
*/
@Getter
@Builder
public class OrderSponsorRequest {

/** MercadoPago user ID of the sponsoring marketplace owner. Type: String. */
private String id;
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,11 @@ public class OrderStoredCredentialRequest {

/** Whether this is the first payment using this stored credential. */
private Boolean firstPayment;

/**
* Reference to the previous transaction in a recurring series. Required from the second charge
* onwards to link this payment to the original card-network authorization.
* Type: String (transaction ID).
*/
private String prevTransactionRef;
}
Loading