Pruebas con Carrito de Compras

Ahora que ya conoces cuáles serán los cambios que se aproximan te invitamos a que empieces a probarlos y aplicarlos en tu integración.
En esta guía te mostraremos ejemplos (mocks) de cuáles serán los impactos tanto con una orden o dos.
Antes de comenzar te sugerimos que tengas en cuenta la siguiente lista de IDs para que puedas hacer todas las pruebas necesarias:

IDs utilizados para órdenes

  • 1289297747
  • 1289342697
  • 1289343339

IDs utilizados para envíos

  • 25943308795
  • 25943399273

IDs utilizados para pagos

  • 2574435134
  • 2574244194
  • 2574469257
  • 2574470905
  • 2574470881

Contenidos

Manejo de Órdenes

Tal como mencionamos en la documentación de Manejo de órdenes habrá cambios en la estructura del JSON debido a que la información del envío ya no estará aquí.

Caso de uso con una orden

Llamada:

curl -H "x-format-new:true" 'https://api.mercadolibre.com/carrito_mocks/orders/1289297747?access_token=

Respuesta:

{
  "id": 1289297747,
  "date_created": "2017-03-20T10:20:18-04:00",
  "date_closed": "2017-03-20T10:20:18-04:00",
  "last_updated": "2017-03-20T10:20:18-04:00",
  "feedback": {
    "sale": null,
    "purchase": null
  },
  "mediations": [],
  "comments": null,
  "order_request": {
    "return": null,
    "change": null
  },
  "fulfilled": null,
  "shipping": {
    "id": 25943399273
  },
  "expiration_date": "2017-03-22T10:20:18-04:00",
  "status": "paid",
  "status_detail": null,
  "order_items": [
    {
      "item": {
        "id": "MLM573965343",
        "title": "Item De Testeo, Por Favor No Ofertar",
        "category_id": "MLM1915",
        "variation_id": null,
        "seller_custom_field": null,
        "variation_attributes": [],
        "warranty": null,
        "condition": "new"
      },
      "quantity": 1,
      "unit_price": 200,
      "currency_id": "MXN"
    }
  ],
  "currency_id": "MXN",
  "buyer": {
    "id": 1234567890,
    "nickname": "BUYER_NICKNAME",
    "email": "buyermail@mail.mercadolibre.com.mx",
    "phone": {
      "area_code": "01",
      "number": "1111-1111",
      "extension": "",
      "verified": false
    },
    "alternative_phone": {
      "area_code": "",
      "number": "",
      "extension": ""
    },
    "first_name": "Buyer",
    "last_name": "Buyer",
    "billing_info": {
      "doc_type": null,
      "doc_number": null
    }
  },
  "seller": {
    "id": 246992682,
    "nickname": "TETE2428602",
    "email": "test_user_89782056@testuser.com",
    "phone": {
      "area_code": "01",
      "number": "1111-1111",
      "extension": "",
      "verified": false
    },
    "alternative_phone": {
      "area_code": "",
      "number": "",
      "extension": ""
    },
    "first_name": "Test",
    "last_name": "Test"
  },
  "payments": [
    {
      "id": 2574244194,
      "order_id": 1289297747,
      "payer_id": 238954822,
      "collector": {
        "id": 246992682
      },
      "card_id": null,
      "site_id": "MLM",
      "reason": "Item De Testeo, Por Favor No Ofertar",
      "payment_method_id": "account_money",
      "currency_id": "MXN",
      "installments": null,
      "issuer_id": null,
      "atm_transfer_reference": {
        "company_id": null,
        "transaction_id": null
      },
      "coupon_id": null,
      "activation_uri": null,
      "operation_type": "regular_payment",
      "payment_type": "account_money",
      "available_actions": [],
      "status": "approved",
      "status_code": null,
      "status_detail": "accredited",
      "shipping_cost": 0,
      "coupon_amount": 0,
      "overpaid_amount": 0,
      "total_paid_amount": 200,
      "installment_amount": null,
      "deferred_period": null,
      "date_approved": "2017-03-21T04:20:18-04:00",
      "authorization_code": null,
      "transaction_order_id": null,
      "date_created": "2017-03-21T04:20:18-04:00",
      "date_last_modified": "2017-03-21T04:20:18-04:00"
    }
  ],
  "coupon": {
    "id": null,
    "amount": 0
  },
  "tags": [
    "paid",
    "pack_order"
  ],
  "total_amount": 200,
  "paid_amount": 200
}

Caso de uso con dos órdenes

Orden 1:
Llamada:

curl -H "x-format-new:true" 'https://api.mercadolibre.com/carrito_mocks/orders/1289342697?access_token=

Respuesta:

{
  "id": 1289342697,
  "date_created": "2017-03-20T10:21:10-04:00",
  "date_closed": "2017-03-20T10:21:10-04:00",
  "last_updated": "2017-03-20T10:21:10-04:00",
  "feedback": {
    "sale": null,
    "purchase": null
  },
  "mediations": [],
  "comments": null,
  "order_request": {
    "return": null,
    "change": null
  },
  "fulfilled": null,
  "shipping": {
    "id": 25943308795
  },
  "expiration_date": "2017-03-22T10:21:10-04:00",
  "status": "paid",
  "status_detail": null,
  "order_items": [
    {
      "item": {
        "id": "MLM573965343",
        "title": "Item De Testeo, Por Favor No Ofertar",
        "category_id": "MLM1915",
        "variation_id": null,
        "seller_custom_field": null,
        "variation_attributes": [],
        "warranty": null,
        "condition": "new"
      },
      "quantity": 1,
      "unit_price": 200,
      "currency_id": "MXN"
    }
  ],
  "currency_id": "MXN",
  "buyer": {
    "id": 1234567890,
    "nickname": "BUYER_NICKNAME",
    "email": "buyermail@mail.mercadolibre.com.mx",
    "phone": {
      "area_code": "01",
      "number": "1111-1111",
      "extension": "",
      "verified": false
    },
    "alternative_phone": {
      "area_code": "",
      "number": "",
      "extension": ""
    },
    "first_name": "Buyer",
    "last_name": "Buyer",
    "billing_info": {
      "doc_type": null,
      "doc_number": null
    }
  },
  "seller": {
    "id": 246992682,
    "nickname": "TETE2428602",
    "email": "test_user_89782056@testuser.com",
    "phone": {
      "area_code": "01",
      "number": "1111-1111",
      "extension": "",
      "verified": false
    },
    "alternative_phone": {
      "area_code": "",
      "number": "",
      "extension": ""
    },
    "first_name": "Test",
    "last_name": "Test"
  },
  "payments": [
    {
      "id": 2574469257,
      "order_id": 1289342697,
      "payer_id": 238954822,
      "collector": {
        "id": 246992682
      },
      "card_id": null,
      "site_id": "MLM",
      "reason": "Item De Testeo, Por Favor No Ofertar",
      "payment_method_id": "account_money",
      "currency_id": "MXN",
      "installments": null,
      "issuer_id": null,
      "atm_transfer_reference": {
        "company_id": null,
        "transaction_id": null
      },
      "coupon_id": null,
      "activation_uri": null,
      "operation_type": "regular_payment",
      "payment_type": "account_money",
      "available_actions": [],
      "status": "approved",
      "status_code": null,
      "status_detail": "accredited",
      "shipping_cost": 0,
      "coupon_amount": 0,
      "overpaid_amount": 0,
      "total_paid_amount": 200,
      "installment_amount": null,
      "deferred_period": null,
      "date_approved": "2017-03-21T04:21:10-04:00",
      "authorization_code": null,
      "transaction_order_id": null,
      "date_created": "2017-03-21T04:21:10-04:00",
      "date_last_modified": "2017-03-21T04:21:10-04:00"
    }
  ],
  "coupon": {
    "id": null,
    "amount": 0
  },
  "tags": [
    "paid",
    "pack_order"
  ],
  "total_amount": 200,
  "paid_amount": 200
}

Orden 2:
Llamada:

curl -H "x-format-new:true" 'https://api.mercadolibre.com/carrito_mocks/orders/1289343339?access_token=

Respuesta:

{
  "id": 1289343339,
  "date_created": "2017-03-20T10:21:51-04:00",
  "date_closed": "2017-03-20T10:21:51-04:00",
  "last_updated": "2017-03-20T10:21:51-04:00",
  "feedback": {
    "sale": null,
    "purchase": null
  },
  "mediations": [],
  "comments": null,
  "order_request": {
    "return": null,
    "change": null
  },
  "fulfilled": null,
  "shipping": {
    "id": 25943308795
  },
  "expiration_date": "2017-03-22T10:21:51-04:00",
  "status": "paid",
  "status_detail": null,
  "order_items": [
    {
      "item": {
        "id": "MLM573981104",
        "title": "Item De Testeo -- No Ofertar --kc:off",
        "category_id": "MLM113790",
        "variation_id": 14465627367,
        "seller_custom_field": null,
        "variation_attributes": [
          {
            "id": "10000",
            "name": "Talle",
            "value_id": "cadbd3c",
            "value_name": "S"
          },
          {
            "id": "11000",
            "name": "Color Primario",
            "value_id": "11000-Rojo",
            "value_name": "Rojo"
          }
        ],
        "warranty": null,
        "condition": "not_specified"
      },
      "quantity": 3,
      "unit_price": 100,
      "currency_id": "MXN"
    }
  ],
  "currency_id": "MXN",
  "buyer": {
    "id": 1234567890,
    "nickname": "BUYER_NICKNAME",
    "email": "buyermail@mail.mercadolibre.com.mx",
    "phone": {
      "area_code": "01",
      "number": "1111-1111",
      "extension": "",
      "verified": false
    },
    "alternative_phone": {
      "area_code": "",
      "number": "",
      "extension": ""
    },
    "first_name": "Buyer",
    "last_name": "Buyer",
    "billing_info": {
      "doc_type": null,
      "doc_number": null
    }
  },
  "seller": {
    "id": 246992682,
    "nickname": "TETE2428602",
    "email": "test_user_89782056@testuser.com",
    "phone": {
      "area_code": "01",
      "number": "1111-1111",
      "extension": "",
      "verified": false
    },
    "alternative_phone": {
      "area_code": "",
      "number": "",
      "extension": ""
    },
    "first_name": "Test",
    "last_name": "Test"
  },
  "payments": [
    {
      "id": 2574470905,
      "order_id": 1289343339,
      "payer_id": 238954822,
      "collector": {
        "id": 246992682
      },
      "card_id": null,
      "site_id": "MLM",
      "reason": "Item De Testeo -- No Ofertar --kc:off",
      "payment_method_id": "account_money",
      "currency_id": "MXN",
      "installments": null,
      "issuer_id": null,
      "atm_transfer_reference": {
        "company_id": null,
        "transaction_id": null
      },
      "coupon_id": null,
      "activation_uri": null,
      "operation_type": "regular_payment",
      "payment_type": "account_money",
      "available_actions": [],
      "status": "approved",
      "status_code": null,
      "status_detail": "accredited",
      "shipping_cost": 0,
      "coupon_amount": 0,
      "overpaid_amount": 0,
      "total_paid_amount": 300,
      "installment_amount": null,
      "deferred_period": null,
      "date_approved": "2017-03-21T04:21:51-04:00",
      "authorization_code": null,
      "transaction_order_id": null,
      "date_created": "2017-03-21T04:21:51-04:00",
      "date_last_modified": "2017-03-21T04:21:51-04:00"
    }
  ],
  "coupon": {
    "id": null,
    "amount": 0
  },
  "tags": [
    "paid",
    "pack_order"
  ],
  "total_amount": 300,
  "paid_amount": 300
}

Manejo de Envíos

Según lo detallado en la documentación de Manejo de Envíos, con esta nueva funcionalidad podrás obtener toda la información para concluir la transacción.

Caso de uso con una orden

Shipments
Llamada:

curl -H "x-format-new:true" 'https://api.mercadolibre.com/carrito_mocks/shipments/25943399273?access_token=

Respuesta:

{
  "id": 25943399273,
  "external_reference": "1000000000036021",
  "status": "ready_to_ship",
  "substatus": "ready_to_print",
  "date_created": "2017-03-20T10:05:51-04:00",
  "last_updated": "2017-03-20T10:05:51-04:00",
  "declared_value": 200,
  "dimensions": {
    "height": 30,
    "width": 30,
    "length": 30,
    "weight": 1800
  },
  "logistic": {
    "direction": "forward",
    "mode": "me2",
    "type": null
  },
  "source": {
    "site_id": "MLM",
    "market_place": "MELI",
    "application_id": null
  },
  "tracking_number": "12345",
  "origin": {
    "type": "selling_address",
    "sender_id": 246992682,
    "shipping_address": {
      "address_id": 265420702,
      "address_line": "Testing Street 1450",
      "street_name": "Testing Street",
      "street_number": "1450",
      "comment": "",
      "zip_code": "1430",
      "city": {
        "id": "TUxBQlNBQTM3Mzda",
        "name": "Saavedra"
      },
      "state": {
        "id": "AR-C",
        "name": "Capital Federal"
      },
      "country": {
        "id": "AR",
        "name": "Argentina"
      },
      "neighborhood": {
        "id": null,
        "name": "The Neighborhood"
      },
      "municipality": {
        "id": null,
        "name": ""
      },
      "types": [
        "billing",
        "default_selling_address",
        "shipping"
      ],
      "agency": null,
      "latitude": 0,
      "longitude": 0,
      "geolocation_type": "",
      "is_valid_for_carrier": null
    }
  },
  "destination": {
    "type": "buying_address",
    "receiver_id": 238954822,
    "receiver_name": null,
    "receiver_phone": null,
    "shipping_address": {
      "address_id": 211540565,
      "address_line": "Test Avenue 1444",
      "street_name": "Test Avenue",
      "street_number": "1444",
      "comment": "",
      "zip_code": "45010",
      "city": {
        "id": "TUxNQ1pBUDM4NzE",
        "name": "Zapopan"
      },
      "state": {
        "id": "MX-JAL",
        "name": "Jalisco"
      },
      "country": {
        "id": "MX",
        "name": "Mexico"
      },
      "neighborhood": {
        "id": null,
        "name": "The Neighborhood"
      },
      "municipality": {
        "id": null,
        "name": ""
      },
      "types": [
        "default_selling_address",
        "shipping",
        "billing"
      ],
      "agency": null,
      "latitude": 20.67,
      "longitude": -103.42,
      "geolocation_type": "APPROXIMATE",
      "is_valid_for_carrier": null
    }
  },
  "lead_time": {
    "option_id": 111111111,
    "shipping_method": {
      "id": 501245,
      "name": "Estándar",
      "type": "standard"
    },
    "currency_id": "MXN",
    "cost": 20,
    "cost_type": "charged",
    "service_id": 181,
    "estimated_delivery_time": {
      "type": "known",
      "date": "2017-03-26T00:00:00-04:00",
      "shipping": 96,
      "handling": 24,
      "unit": "hour",
      "offset": {
        "date": "2017-03-28T00:00:00-04:00",
        "shipping": 48
      },
      "time_frame": {
        "from": "2017-03-28T09:00:00-04:00",
        "to": "2017-03-28T18:00:00-04:00"
      },
      "pay_before": null
    }
  },
  "tags": []
}

Shipment items
Llamada:

curl -H "x-format-new:true" 'https://api.mercadolibre.com/carrito_mocks/shipments/25943399273/items?access_token=

Respuesta:

[
  {
    "item_id": "MLM573965343",
    "variation_id": null,
    "description": "Item De Testeo, Por Favor No Ofertar",
    "quantity": 1,
    "dimensions": {
      "height": 30,
      "width": 30,
      "length": 30,
      "weight": 1800
    },
    "order_id": "1289297747",
    "sender_id": 246992682
  }
]

Shipment costs
Llamada:

curl -H "x-format-new:true" 'https://api.mercadolibre.com/carrito_mocks/shipments/25943399273/costs?access_token=

Respuesta:

{
  "receiver": {
    "user_id": 1234567890,
    "cost": 20,
    "discount": {
      "rate": 0.5,
      "type": "loyal",
      "promoted_amount": 0
    },
    "compensation": 0,
    "save": 0
  },
  "senders": [
    {
      "user_id": 246992682,
      "cost": 0,
      "discount": {
        "rate": 0,
        "rate_type": null,
        "promoted_amount": 0
      },
      "compensation": 0,
      "save": 0
    }
  ]
}

Shipment lead time
Llamada:

curl -H "x-format-new:true" 'https://api.mercadolibre.com/carrito_mocks/shipments/25943399273/lead_time?access_token=

Respuesta:

{
  "option_id": 111111111,
  "shipping_method": {
    "id": 501245,
    "name": "Estándar",
    "type": "standard"
  },
  "currency_id": "MXN",
  "cost": 20,
  "cost_type": "charged",
  "service_id": 181,
  "estimated_delivery_time": {
    "type": "known",
    "date": "2017-03-26T00:00:00-04:00",
    "shipping": 96,
    "handling": 24,
    "unit": "hour",
    "offset": {
      "date": "2017-03-28T00:00:00-04:00",
      "shipping": 48
    },
    "time_frame": {
      "from": "2017-03-28T09:00:00-04:00",
      "to": "2017-03-28T18:00:00-04:00"
    },
    "pay_before": null
  },
  "estimated_handling_limit": {
    "date": "2017-03-22T00:00:00-04:00"
  },
  "estimated_delivery_extended": {
    "date": "2017-03-31T00:00:00-04:00"
  },
  "estimated_delivery_limit": {
    "date": "2017-04-10T00:00:00-04:00"
  },
  "estimated_delivery_final": {
    "date": "2017-04-20T00:00:00-04:00"
  },
  "delay": []
}

Shipment history
Llamada:

curl -H "x-format-new:true" 'https://api.mercadolibre.com/carrito_mocks/shipments/25943399273/history?access_token=

Respuesta:

[
  {
    "status": "pending",
    "substatus": "shipment_paid",
    "date": "2017-03-20T10:08:34-04:00"
  },
  {
    "status": "handling",
    "substatus": null,
    "date": "2017-03-20T10:13:34-04:00"
  },
  {
    "status": "ready_to_ship",
    "substatus": "ready_to_print",
    "date": "2017-03-20T10:18:34-04:00"
  },
  {
    "status": "ready_to_ship",
    "substatus": "printed",
    "date": "2017-03-20T10:23:34-04:00"
  },
  {
    "status": "shipped",
    "substatus": null,
    "date": "2017-03-21T10:23:34-04:00"
  },
  {
    "status": "delivered",
    "substatus": null,
    "date": "2017-03-23T10:23:34-04:00"
  }
]

Shipment payments
Llamada:

curl -H "x-format-new:true" 'https://api.mercadolibre.com/carrito_mocks/shipments/25943399273/payments?access_token=

Respuesta:

[
  {
    "payment_id": 2574435134,
    "amount": 20,
    "status": "approved"
  }
]

Caso de uso con dos órdenes

Shipment
Llamada:

curl -H "x-format-new:true" 'https://api.mercadolibre.com/carrito_mocks/shipments/25943308795?access_token=

Respuesta:

{
  "id": 25943308795,
  "external_reference": "1000000000036026",
  "status": "ready_to_ship",
  "substatus": "ready_to_print",
  "date_created": "2017-03-20T10:09:46-04:00",
  "last_updated": "2017-03-20T10:09:46-04:00",
  "declared_value": 500,
  "dimensions": {
    "height": 60,
    "width": 60,
    "length": 30,
    "weight": 7200
  },
  "logistic": {
    "direction": "forward",
    "mode": "me2",
    "type": null
  },
  "source": {
    "site_id": "MLM",
    "market_place": "MELI",
    "application_id": null
  },
  "tracking_number": "123456ABC",
  "origin": {
    "type": "selling_address",
    "sender_id": 246992682,
    "shipping_address": {
      "address_id": 265420702,
      "address_line": "Testing Street 1450",
      "street_name": "Testing Street",
      "street_number": "1450",
      "comment": "",
      "zip_code": "1430",
      "city": {
        "id": "TUxBQlNBQTM3Mzda",
        "name": "Saavedra"
      },
      "state": {
        "id": "AR-C",
        "name": "Capital Federal"
      },
      "country": {
        "id": "AR",
        "name": "Argentina"
      },
      "neighborhood": {
        "id": null,
        "name": "The Neighborhood"
      },
      "municipality": {
        "id": null,
        "name": ""
      },
      "types": [
        "billing",
        "default_selling_address",
        "shipping"
      ],
      "agency": {
        "agency_id": null,
        "carrier_id": null,
        "description": null,
        "open_hours": null,
        "phone": null
      },
      "latitude": 0,
      "longitude": 0,
      "geolocation_type": "",
      "is_valid_for_carrier": null
    }
  },
  "destination": {
    "type": "buying_address",
    "receiver_id": 238954822,
    "receiver_name": null,
    "receiver_phone": null,
    "shipping_address": {
      "address_id": 211540565,
      "address_line": "Testing Street 1450",
      "street_name": "Testing Street",
      "street_number": "1450",
      "comment": "",
      "zip_code": "45010",
      "city": {
        "id": "TUxNQ1pBUDM4NzE",
        "name": "Zapopan"
      },
      "state": {
        "id": "MX-JAL",
        "name": "Jalisco"
      },
      "country": {
        "id": "MX",
        "name": "Mexico"
      },
      "neighborhood": {
        "id": null,
        "name": "The Neighborhood"
      },
      "municipality": {
        "id": null,
        "name": ""
      },
      "types": [
        "default_selling_address",
        "shipping",
        "billing"
      ],
      "agency": {
        "agency_id": null,
        "carrier_id": null,
        "description": null,
        "open_hours": null,
        "phone": null
      },
      "latitude": 20.67,
      "longitude": -103.42,
      "geolocation_type": "APPROXIMATE",
      "is_valid_for_carrier": null
    }
  },
  "lead_time": {
    "option_id": 111111111,
    "shipping_method": {
      "id": 501245,
      "name": "Estándar",
      "type": "standard"
    },
    "currency_id": "MXN",
    "cost": 20,
    "cost_type": "charged",
    "service_id": 181,
    "estimated_delivery_time": {
      "type": "known",
      "date": "2017-03-26T00:00:00-04:00",
      "shipping": 96,
      "handling": 24,
      "unit": "hour",
      "offset": {
        "date": "2017-03-28T00:00:00-04:00",
        "shipping": 48
      },
      "time_frame": {
        "from": "2017-03-28T09:00:00-04:00",
        "to": "2017-03-28T18:00:00-04:00"
      },
      "pay_before": null
    }
  },
  "tags": []
}

Shipment items
Llamada:

curl -H "x-format-new:true" 'https://api.mercadolibre.com/carrito_mocks/shipments/25943308795/items?access_token=

Respuesta:

[
  {
    "item_id": "MLM573965343",
    "variation_id": null,
    "description": "Item De Testeo, Por Favor No Ofertar",
    "quantity": 1,
    "dimensions": {
      "height": 30,
      "width": 30,
      "length": 30,
      "weight": 1800
    },
    "order_id": "1289342697",
    "sender_id": 246992682
  },
  {
    "item_id": "MLM573981104",
    "variation_id": "14465627367",
    "description": "Item De Testeo -- No Ofertar --kc:off",
    "quantity": 3,
    "dimensions": {
      "height": 30,
      "width": 30,
      "length": 30,
      "weight": 1800
    },
    "order_id": "1289343339",
    "sender_id": 246992682
  }
]

Shipment costs
Llamada:

curl -H "x-format-new:true" 'https://api.mercadolibre.com/carrito_mocks/shipments/25943308795/costs?access_token=

Respuesta:

{
  "receiver": {
    "user_id": 238954822,
    "cost": 50,
    "discount": {
      "rate": 0.5,
      "type": "loyal",
      "promoted_amount": 0
    },
    "compensation": 0,
    "save": 20
  },
  "senders": [
    {
      "user_id": 246992682,
      "cost": 0,
      "discount": {
        "rate": 0,
        "rate_type": null,
        "promoted_amount": 0
      },
      "compensation": 0,
      "save": 0
    }
  ]
}

Shipment lead time
Llamada:

curl -H "x-format-new:true" 'https://api.mercadolibre.com/carrito_mocks/shipments/25943308795/lead_time?access_token=

Respuesta:

{
  "option_id": 111111111,
  "shipping_method": {
    "id": 501245,
    "name": "Estándar",
    "type": "standard"
  },
  "currency_id": "MXN",
  "cost": 50,
  "cost_type": "charged",
  "service_id": 181,
  "estimated_delivery_time": {
    "type": "known",
    "date": "2017-03-26T00:00:00-04:00",
    "shipping": 96,
    "handling": 24,
    "unit": "hour",
    "offset": {
      "date": "2017-03-28T00:00:00-04:00",
      "shipping": 48
    },
    "time_frame": {
      "from": "2017-03-28T09:00:00-04:00",
      "to": "2017-03-28T18:00:00-04:00"
    },
    "pay_before": null
  },
  "estimated_handling_limit": {
    "date": "2017-03-22T00:00:00-04:00"
  },
  "estimated_delivery_extended": {
    "date": "2017-03-31T00:00:00-04:00"
  },
  "estimated_delivery_limit": {
    "date": "2017-04-10T00:00:00-04:00"
  },
  "estimated_delivery_final": {
    "date": "2017-04-20T00:00:00-04:00"
  },
  "delay": []
}

Shipment history
Llamada:

curl -H "x-format-new:true" 'https://api.mercadolibre.com/carrito_mocks/shipments/25943308795/history?access_token=

Respuesta:

[
  {
    "status": "pending",
    "substatus": "shipment_paid",
    "date": "2017-03-20T10:11:39-04:00"
  },
  {
    "status": "handling",
    "substatus": null,
    "date": "2017-03-20T10:16:39-04:00"
  },
  {
    "status": "ready_to_ship",
    "substatus": "ready_to_print",
    "date": "2017-03-20T10:21:39-04:00"
  },
  {
    "status": "ready_to_ship",
    "substatus": "printed",
    "date": "2017-03-20T10:26:39-04:00"
  },
  {
    "status": "shipped",
    "substatus": null,
    "date": "2017-03-21T10:26:39-04:00"
  },
  {
    "status": "delivered",
    "substatus": null,
    "date": "2017-03-23T10:26:39-04:00"
  }
]

Shipment payments
Llamada:

curl -H "x-format-new:true" 'https://api.mercadolibre.com/carrito_mocks/shipments/25943308795/payments?access_token=

Respuesta:

[
  {
    "payment_id": 2574470881,
    "amount": 50,
    "status": "approved"
  }
]

Manejo de Pagos

Por último, también deberás tener en cuenta el Manejo de Pagos dentro de estos cambios.

Caso de uso con una orden

Payment (Pago del shipment)
Llamada:

curl -H "x-format-new:true" 'https://api.mercadolibre.com/carrito_mocks/payments/2574435134?access_token=

Respuesta:

{
  "id": 2574435134,
  "site_id": "MLM",
  "date_created": "2017-03-21T10:12:34-04:00",
  "date_approved": "2017-03-21T10:12:34-04:00",
  "money_release_date": "2017-03-21T10:12:34-04:00",
  "last_modified": "2017-03-21T10:12:34-04:00",
  "sponsor_id": null,
  "collector_id": 246992682,
  "payer": {
    "id": 222113214,
    "email": "test_user_64693035@testuser.com",
    "phone": {
      "area_code": "01",
      "number": "1111-1111",
      "extension": "",
      "verified": false
    },
    "identification": {
      "type": "IFE",
      "number": "11111111111"
    }
  },
  "order_id": "25943399273",
  "external_reference": "25943399273",
  "merchant_order_id": null,
  "reason": "marketplace_shipment",
  "currency_id": "MXN",
  "transaction_amount": 20,
  "mercadopago_fee": 0,
  "net_received_amount": 20,
  "total_paid_amount": 20,
  "shipping_cost": 0,
  "coupon_amount": 0,
  "coupon_fee": 0,
  "finance_fee": 0,
  "discount_fee": 0,
  "coupon_id": null,
  "status": "approved",
  "status_detail": "accredited",
  "status_code": null,
  "issuer_id": null,
  "installment_amount": 0,
  "deferred_period": null,
  "account_money_amount": 0,
  "payment_type": "account_money",
  "payment_method_id": "account_money",
  "marketplace": "MELI",
  "operation_type": "regular_payment",
  "marketplace_fee": 0,
  "released": "no",
  "deduction_schema": null,
  "tags": [],
  "refunds": [],
  "amount_refunded": 0,
  "client_id": "6492251534497263",
  "created_from": "6492251534497263",
  "notification_url": null,
  "concept_id": null,
  "concept_amount": 0,
  "internal_metadata": {
    "rule_id": "50006",
    "concept": "marketplace_shipment",
    "type": "outbound_payment",
    "splitter_id": "74066",
    "billing_infomation": {
      "buyer": {
        "id": 0,
        "identification": {
          "type": "",
          "number": ""
        }
      },
      "cardholder": {
        "name": "",
        "identification": {
          "number": "",
          "type": ""
        }
      }
    }
  }
}

Payment (Pago de la orden)
Llamada:

curl -H "x-format-new:true" 'https://api.mercadolibre.com/carrito_mocks/payments/2574244194?access_token=

Respuesta:

{
  "id": 2574244194,
  "site_id": "MLM",
  "date_created": "2017-03-21T10:13:22-04:00",
  "date_approved": "2017-03-21T10:13:22-04:00",
  "money_release_date": "2017-03-21T10:13:22-04:00",
  "last_modified": "2017-03-21T10:13:22-04:00",
  "sponsor_id": null,
  "collector_id": 246992682,
  "payer": {
    "id": 238954822,
    "email": "test_user_64693035@testuser.com",
    "phone": {
      "area_code": "01",
      "number": "1111-1111",
      "extension": "",
      "verified": false
    },
    "identification": {
      "type": "IFE",
      "number": "11111111111"
    }
  },
  "order_id": "1289297747",
  "external_reference": "1289297747",
  "merchant_order_id": null,
  "reason": "Item De Testeo, Por Favor No Ofertar",
  "currency_id": "MXN",
  "transaction_amount": 200,
  "mercadopago_fee": 0,
  "net_received_amount": 174,
  "total_paid_amount": 200,
  "shipping_cost": 0,
  "coupon_amount": 0,
  "coupon_fee": 0,
  "finance_fee": 0,
  "discount_fee": 0,
  "coupon_id": null,
  "status": "approved",
  "status_detail": "accredited",
  "status_code": null,
  "issuer_id": null,
  "installment_amount": 0,
  "deferred_period": null,
  "account_money_amount": 0,
  "payment_type": "account_money",
  "payment_method_id": "account_money",
  "marketplace": "MELI",
  "operation_type": "regular_payment",
  "marketplace_fee": 26,
  "released": "no",
  "deduction_schema": null,
  "tags": [],
  "refunds": [],
  "amount_refunded": 0,
  "client_id": "6492251534497263",
  "created_from": "6492251534497263",
  "notification_url": null,
  "concept_id": null,
  "concept_amount": 0,
  "internal_metadata": {
    "rule_id": "50005",
    "concept": "marketplace_order",
    "type": "outbound_payment",
    "splitter_id": "74066",
   "billing_infomation": {
      "buyer": {
        "id": 0,
        "identification": {
          "type": "",
          "number": ""
        }
      },
      "cardholder": {
        "name": "",
        "identification": {
          "number": "",
          "type": ""
        }
      }
    }
  }
}

Payment (Versión 1 Pago de la orden)
Llamada:

curl -H "x-format-new:true" 'https://api.mercadolibre.com/carrito_mocks/collections/2574244194?access_token=

Respuesta:

{
  "id": 2574244194,
  "statement_descriptor": null,
  "captured": true,
  "date_created": "2017-03-21T10:14:20-04:00",
  "date_last_updated": "2017-03-21T10:14:20-04:00",
  "date_approved": "2017-03-21T10:14:20-04:00",
  "payer_id": 222113214,
  "issuer_id": null,
  "description": "Item De Testeo, Por Favor No Ofertar",
  "transaction_amount": 200,
  "card": {},
  "transaction_details": {
    "total_paid_amount": 200,
    "payment_method_reference_id": null,
    "net_received_amount": 174,
    "financial_institution": null,
    "installment_amount": 0,
    "external_resource_url": null,
    "overpaid_amount": 0
  },
  "coupon_amount": 0,
  "metadata": {},
  "collector_id": 246992682,
  "status": "approved",
  "status_detail": "accredited",
  "transaction_id": null,
  "installments": 1,
  "internal_metadata": {
    "rule_id": "50005",
    "concept": "marketplace_order",
    "type": "outbound_payment",
    "splitter_id": "74066",
    "billing_infomation": {
      "buyer": {
        "id": 0,
        "identification": {
          "type": "",
          "number": ""
        }
      },
      "cardholder": {
        "name": "",
        "identification": {
          "number": "",
          "type": ""
        }
      }
    }
  },
  "refunds": [],
  "payment_type_id": "account_money",
  "profile_id": null,
  "payer_tags": [],
  "coupon_id": null,
  "fee_details": [
    {
      "amount": 26,
      "fee_payer": "collector",
      "type": "application_fee"
    }
  ],
  "collector": {
    "id": 246992682,
    "first_name": "Test",
    "last_name": "Test",
    "phone": {
      "extension": "",
      "area_code": "01",
      "number": "1111-1111"
    },
    "email": "test_user_89782056@testuser.com",
    "identification": {
      "number": "1111111",
      "type": "DNI"
    }
  },
  "money_release_days": 0,
  "order": {},
  "external_reference": "1289297747",
  "available_actions": [],
  "application_id": 6492251534497263,
  "marketplace": "MELI",
  "risk_execution_id": 13960639183,
  "call_for_authorize_id": null,
  "api_version": "2",
  "currency_id": "MXN",
  "sponsor_id": null,
  "payment_method_id": "account_money",
  "deduction_schema": null,
  "site_id": "MLM",
  "operation_type": "regular_payment",
  "binary_mode": false,
  "money_release_date": "2017-03-21T10:14:20-04:00",
  "differential_pricing_id": null,
  "payer": {
    "id": "222113214",
    "first_name": "Test",
    "last_name": "Test",
    "phone": {
      "extension": null,
      "area_code": "01",
      "number": "1111-1111"
    },
    "email": "test_user_64693035@testuser.com",
    "identification": {
      "number": "11111111111",
      "type": "IFE"
    },
    "entity_type": null,
    "type": "registred"
  },
  "notification_url": null,
  "transaction_amount_refunded": 0,
  "authorization_code": null,
  "live_mode": true
}

Payment (Versión 1 Pago del shipment)
Llamada:

curl -H "x-format-new:true" 'https://api.mercadolibre.com/carrito_mocks/collections/2574435134?access_token=

Respuesta:

{
  "id": 2574435134,
  "statement_descriptor": null,
  "captured": true,
  "date_created": "2017-03-21T10:16:27-04:00",
  "date_last_updated": "2017-03-21T10:16:27-04:00",
  "date_approved": "2017-03-21T10:16:27-04:00",
  "payer_id": 222113214,
  "issuer_id": null,
  "description": "marketplace_shipment",
  "transaction_amount": 20,
  "card": {},
  "transaction_details": {
    "total_paid_amount": 20,
    "payment_method_reference_id": null,
    "net_received_amount": 20,
    "financial_institution": null,
    "installment_amount": 0,
    "external_resource_url": null,
    "overpaid_amount": 0
  },
  "coupon_amount": 0,
  "metadata": {},
  "collector_id": 246992682,
  "status": "approved",
  "status_detail": "accredited",
  "transaction_id": null,
  "installments": 1,
  "internal_metadata": {
    "rule_id": "50006",
    "concept": "marketplace_shipment",
    "type": "outbound_payment",
    "splitter_id": "74066",
    "billing_infomation": {
      "buyer": {
        "id": 0,
        "identification": {
          "type": "",
          "number": ""
        }
      },
      "cardholder": {
        "name": "",
        "identification": {
          "number": "",
          "type": ""
        }
      }
    }
  },
  "refunds": [],
  "payment_type_id": "account_money",
  "profile_id": null,
  "payer_tags": [],
  "coupon_id": null,
  "fee_details": [],
  "collector": {
    "id": 246992682,
    "first_name": "Test",
    "last_name": "Test",
    "phone": {
      "extension": "",
      "area_code": "01",
      "number": "1111-1111"
    },
    "email": "test_user_89782056@testuser.com",
    "identification": {
      "number": "1111111",
      "type": "DNI"
    }
  },
  "money_release_days": 0,
  "order": {},
  "external_reference": "25943399273",
  "available_actions": [],
  "application_id": 6492251534497263,
  "marketplace": "MELI",
  "risk_execution_id": 13962524282,
  "call_for_authorize_id": null,
  "api_version": "2",
  "currency_id": "MXN",
  "sponsor_id": null,
  "payment_method_id": "account_money",
  "deduction_schema": null,
  "site_id": "MLM",
  "operation_type": "regular_payment",
  "binary_mode": false,
  "money_release_date": "2017-03-21T10:16:27-04:00",
  "differential_pricing_id": null,
  "payer": {
    "id": "222113214",
    "first_name": "Test",
    "last_name": "Test",
    "phone": {
      "extension": null,
      "area_code": "01",
      "number": "1111-1111"
    },
    "email": "test_user_64693035@testuser.com",
    "identification": {
      "number": "11111111111",
      "type": "IFE"
    },
    "entity_type": null,
    "type": "registred"
  },
  "notification_url": null,
  "transaction_amount_refunded": 0,
  "authorization_code": null,
  "live_mode": true
}

Caso de uso con dos órdenes

Payment (Pago de la orden 1)
Llamada:

curl -H "x-format-new:true" 'https://api.mercadolibre.com/carrito_mocks/payments/2574469257?access_token=

Respuesta:

{
  "id": 2574469257,
  "site_id": "MLM",
  "date_created": "2017-03-21T10:17:03-04:00",
  "date_approved": "2017-03-21T10:17:03-04:00",
  "money_release_date": "2017-03-21T10:17:03-04:00",
  "last_modified": "2017-03-21T10:17:03-04:00",
  "sponsor_id": null,
  "collector_id": 246992682,
  "payer": {
    "id": 240490047,
    "email": "test_user_9968521@testuser.com",
    "phone": {
      "area_code": "null",
      "number": "null",
      "extension": "",
      "verified": false
    },
    "identification": {
      "type": "",
      "number": ""
    }
  },
  "order_id": "1289342697",
  "external_reference": "1289342697",
  "merchant_order_id": null,
  "reason": "Item De Testeo, Por Favor No Ofertar",
  "currency_id": "MXN",
  "transaction_amount": 200,
  "mercadopago_fee": 0,
  "net_received_amount": 200,
  "total_paid_amount": 200,
  "shipping_cost": 0,
  "coupon_amount": 0,
  "coupon_fee": 0,
  "finance_fee": 0,
  "discount_fee": 0,
  "coupon_id": null,
  "status": "approved",
  "status_detail": "accredited",
  "status_code": null,
  "issuer_id": null,
  "installment_amount": 0,
  "deferred_period": null,
  "account_money_amount": 0,
  "payment_type": "account_money",
  "payment_method_id": "account_money",
  "marketplace": "MELI",
  "operation_type": "regular_payment",
  "marketplace_fee": 0,
  "released": "no",
  "deduction_schema": null,
  "tags": [
    "new"
  ],
  "refunds": [],
  "amount_refunded": 0,
  "client_id": "6492251534497263",
  "created_from": "6492251534497263",
  "notification_url": null,
  "concept_id": null,
  "concept_amount": 0,
  "internal_metadata": {
    "rule_id": "50005",
    "concept": "marketplace_order",
    "type": "outbound_payment",
    "splitter_id": "74066",
   "billing_infomation": {
      "buyer": {
        "id": 0,
        "identification": {
          "type": "",
          "number": ""
        }
      },
      "cardholder": {
        "name": "",
        "identification": {
          "number": "",
          "type": ""
        }
      }
    }
  }
}

Payment (Pago de la orden 2)
Llamada:

curl -H "x-format-new:true" 'https://api.mercadolibre.com/carrito_mocks/payments/2574470905?access_token=

Respuesta:

{
  "id": 2574470905,
  "site_id": "MLM",
  "date_created": "2017-03-21T10:17:27-04:00",
  "date_approved": "2017-03-21T10:17:27-04:00",
  "money_release_date": "2017-03-21T10:17:27-04:00",
  "last_modified": "2017-03-21T10:17:27-04:00",
  "sponsor_id": null,
  "collector_id": 246992682,
  "payer": {
    "id": 240490047,
    "email": "test_user_9968521@testuser.com",
    "phone": {
      "area_code": "null",
      "number": "null",
      "extension": "",
      "verified": false
    },
    "identification": {
      "type": "",
      "number": ""
    }
  },
  "order_id": "1289343339",
  "external_reference": "1289343339",
  "merchant_order_id": null,
  "reason": "Item De Testeo -- No Ofertar --kc:off",
  "currency_id": "MXN",
  "transaction_amount": 300,
  "mercadopago_fee": 0,
  "net_received_amount": 300,
  "total_paid_amount": 300,
  "shipping_cost": 0,
  "coupon_amount": 0,
  "coupon_fee": 0,
  "finance_fee": 0,
  "discount_fee": 0,
  "coupon_id": null,
  "status": "approved",
  "status_detail": "accredited",
  "status_code": null,
  "issuer_id": null,
  "installment_amount": 0,
  "deferred_period": null,
  "account_money_amount": 0,
  "payment_type": "account_money",
  "payment_method_id": "account_money",
  "marketplace": "MELI",
  "operation_type": "regular_payment",
  "marketplace_fee": 0,
  "released": "no",
  "deduction_schema": null,
  "tags": [
    "new"
  ],
  "refunds": [],
  "amount_refunded": 0,
  "client_id": "6492251534497263",
  "created_from": "6492251534497263",
  "notification_url": null,
  "concept_id": null,
  "concept_amount": 0,
  "internal_metadata": {
    "rule_id": "50005",
    "concept": "marketplace_order",
    "type": "outbound_payment",
    "splitter_id": "74066",
    "billing_infomation": {
      "buyer": {
        "id": 0,
        "identification": {
          "type": "",
          "number": ""
        }
      },
      "cardholder": {
        "name": "",
        "identification": {
          "number": "",
          "type": ""
        }
      }
    }
  }
}

Payment (Pago del shipment)
Llamada:

curl -H "x-format-new:true" 'https://api.mercadolibre.com/carrito_mocks/payments/2574470881?access_token=

Respuesta:

{
  "id": 2574470881,
  "site_id": "MLM",
  "date_created": "2017-03-21T10:17:51-04:00",
  "date_approved": "2017-03-21T10:17:51-04:00",
  "money_release_date": "2017-03-21T10:17:51-04:00",
  "last_modified": "2017-03-21T10:17:51-04:00",
  "sponsor_id": null,
  "collector_id": 246992682,
  "payer": {
    "id": 222113214,
    "email": "test_user_64693035@testuser.com",
    "phone": {
      "area_code": "01",
      "number": "1111-1111",
      "extension": "",
      "verified": false
    },
    "identification": {
      "type": "IFE",
      "number": "11111111111"
    }
  },
  "order_id": "25943308795",
  "external_reference": "25943308795",
  "merchant_order_id": null,
  "reason": "marketplace_shipment",
  "currency_id": "MXN",
  "transaction_amount": 50,
  "mercadopago_fee": 0,
  "net_received_amount": 50,
  "total_paid_amount": 50,
  "shipping_cost": 0,
  "coupon_amount": 0,
  "coupon_fee": 0,
  "finance_fee": 0,
  "discount_fee": 0,
  "coupon_id": null,
  "status": "approved",
  "status_detail": "accredited",
  "status_code": null,
  "issuer_id": null,
  "installment_amount": 0,
  "deferred_period": null,
  "account_money_amount": 0,
  "payment_type": "account_money",
  "payment_method_id": "account_money",
  "marketplace": "MELI",
  "operation_type": "regular_payment",
  "marketplace_fee": 0,
  "released": "no",
  "deduction_schema": null,
  "tags": [],
  "refunds": [],
  "amount_refunded": 0,
  "client_id": "6492251534497263",
  "created_from": "6492251534497263",
  "notification_url": null,
  "concept_id": null,
  "concept_amount": 0,
  "internal_metadata": {
    "rule_id": "52004",
    "concept": "marketplace_shipment",
    "type": "outbound_payment",
    "splitter_id": "76063",
   "billing_infomation": {
      "buyer": {
        "id": 0,
        "identification": {
          "type": "",
          "number": ""
        }
      },
      "cardholder": {
        "name": "",
        "identification": {
          "number": "",
          "type": ""
        }
      }    }

  }
}

Payment (Versión 1 Pago de la orden 1)
Llamada:

curl -H "x-format-new:true" 'https://api.mercadolibre.com/carrito_mocks/collections/2574469257?access_token=

Respuesta:

{
  "id": 2574469257,
  "statement_descriptor": null,
  "captured": true,
  "date_created": "2017-03-21T10:18:25-04:00",
  "date_last_updated": "2017-03-21T10:18:25-04:00",
  "date_approved": "2017-03-21T10:18:25-04:00",
  "payer_id": 222113214,
  "issuer_id": null,
  "description": "Item De Testeo, Por Favor No Ofertar",
  "transaction_amount": 200,
  "card": {},
  "transaction_details": {
    "total_paid_amount": 200,
    "payment_method_reference_id": null,
    "net_received_amount": 174,
    "financial_institution": null,
    "installment_amount": 0,
    "external_resource_url": null,
    "overpaid_amount": 0
  },
  "coupon_amount": 0,
  "metadata": {},
  "collector_id": 246992682,
  "status": "approved",
  "status_detail": "accredited",
  "transaction_id": null,
  "installments": 1,
  "internal_metadata": {
    "rule_id": "52001",
    "concept": "marketplace_order",
    "type": "outbound_payment",
    "splitter_id": "76062",
    "billing_infomation": {
      "buyer": {
        "id": 0,
        "identification": {
          "type": "",
          "number": ""
        }
      },
      "cardholder": {
        "name": "",
        "identification": {
          "number": "",
          "type": ""
        }
      }
    }
  },
  "refunds": [],
  "payment_type_id": "account_money",
  "profile_id": null,
  "payer_tags": [],
  "coupon_id": null,
  "fee_details": [
    {
      "amount": 26,
      "fee_payer": "collector",
      "type": "application_fee"
    }
  ],
  "collector": {
    "id": 246992682,
    "first_name": "Test",
    "last_name": "Test",
    "phone": {
      "extension": "",
      "area_code": "01",
      "number": "1111-1111"
    },
    "email": "test_user_89782056@testuser.com",
    "identification": {
      "number": "1111111",
      "type": "DNI"
    }
  },
  "money_release_days": 0,
  "order": {},
  "external_reference": "1289342697",
  "available_actions": [],
  "application_id": 6492251534497263,
  "marketplace": "MELI",
  "risk_execution_id": 13962540810,
  "call_for_authorize_id": null,
  "api_version": "2",
  "currency_id": "MXN",
  "sponsor_id": null,
  "payment_method_id": "account_money",
  "deduction_schema": null,
  "site_id": "MLM",
  "operation_type": "regular_payment",
  "binary_mode": false,
  "money_release_date": "2017-03-21T10:18:25-04:00",
  "differential_pricing_id": null,
  "payer": {
    "id": "222113214",
    "first_name": "Test",
    "last_name": "Test",
    "phone": {
      "extension": null,
      "area_code": "01",
      "number": "1111-1111"
    },
    "email": "test_user_64693035@testuser.com",
    "identification": {
      "number": "11111111111",
      "type": "IFE"
    },
    "entity_type": null,
    "type": "registred"
  },
  "notification_url": null,
  "transaction_amount_refunded": 0,
  "authorization_code": null,
  "live_mode": true
}

Payment (Versión 1 Pago de la orden 2)
Llamada:

curl -H "x-format-new:true" 'https://api.mercadolibre.com/carrito_mocks/collections/2574470905?access_token=

Respuesta:

{
  "id": 2574470905,
  "statement_descriptor": null,
  "captured": true,
  "date_created": "2017-03-21T10:18:49-04:00",
  "date_last_updated": "2017-03-21T10:18:49-04:00",
  "date_approved": "2017-03-21T10:18:49-04:00",
  "payer_id": 222113214,
  "issuer_id": null,
  "description": "Item De Testeo -- No Ofertar --kc:off",
  "transaction_amount": 300,
  "card": {},
  "transaction_details": {
    "total_paid_amount": 300,
    "payment_method_reference_id": null,
    "net_received_amount": 261,
    "financial_institution": null,
    "installment_amount": 0,
    "external_resource_url": null,
    "overpaid_amount": 0
  },
  "coupon_amount": 0,
  "metadata": {},
  "collector_id": 246992682,
  "status": "approved",
  "status_detail": "accredited",
  "transaction_id": null,
  "installments": 1,
  "internal_metadata": {
    "rule_id": "52003",
    "concept": "marketplace_order",
    "type": "outbound_payment",
    "splitter_id": "76063",
    "billing_infomation": {
      "buyer": {
        "id": 0,
        "identification": {
          "type": "",
          "number": ""
        }
      },
      "cardholder": {
        "name": "",
        "identification": {
          "number": "",
          "type": ""
        }
      }
    }
  },
  "refunds": [],
  "payment_type_id": "account_money",
  "profile_id": null,
  "payer_tags": [],
  "coupon_id": null,
  "fee_details": [
    {
      "amount": 39,
      "fee_payer": "collector",
      "type": "application_fee"
    }
  ],
  "collector": {
    "id": 246992682,
    "first_name": "Test",
    "last_name": "Test",
    "phone": {
      "extension": "",
      "area_code": "01",
      "number": "1111-1111"
    },
    "email": "test_user_89782056@testuser.com",
    "identification": {
      "number": "1111111",
      "type": "DNI"
    }
  },
  "money_release_days": 0,
  "order": {},
  "external_reference": "1289343339",
  "available_actions": [],
  "application_id": 6492251534497263,
  "marketplace": "MELI",
  "risk_execution_id": 13962541637,
  "call_for_authorize_id": null,
  "api_version": "2",
  "currency_id": "MXN",
  "sponsor_id": null,
  "payment_method_id": "account_money",
  "deduction_schema": null,
  "site_id": "MLM",
  "operation_type": "regular_payment",
  "binary_mode": false,
  "money_release_date": "2017-03-21T10:18:49-04:00",
  "differential_pricing_id": null,
  "payer": {
    "id": "222113214",
    "first_name": "Test",
    "last_name": "Test",
    "phone": {
      "extension": null,
      "area_code": "01",
      "number": "1111-1111"
    },
    "email": "test_user_64693035@testuser.com",
    "identification": {
      "number": "11111111111",
      "type": "IFE"
    },
    "entity_type": null,
    "type": "registred"
  },
  "notification_url": null,
  "transaction_amount_refunded": 0,
  "authorization_code": null,
  "live_mode": true
}

Payment (Versión 1 Pago del shipment)
Llamada:

curl -H "x-format-new:true" 'https://api.mercadolibre.com/carrito_mocks/collections/2574470881?access_token=

Respuesta:

{
  "id": 2574470881,
  "statement_descriptor": null,
  "captured": true,
  "date_created": "2017-03-21T10:19:40-04:00",
  "date_last_updated": "2017-03-21T10:19:40-04:00",
  "date_approved": "2017-03-21T10:19:40-04:00",
  "payer_id": 222113214,
  "issuer_id": null,
  "description": "marketplace_shipment",
  "transaction_amount": 50,
  "card": {},
  "transaction_details": {
    "total_paid_amount": 50,
    "payment_method_reference_id": null,
    "net_received_amount": 50,
    "financial_institution": null,
    "installment_amount": 0,
    "external_resource_url": null,
    "overpaid_amount": 0
  },
  "coupon_amount": 0,
  "metadata": {},
  "collector_id": 246992682,
  "status": "approved",
  "status_detail": "accredited",
  "transaction_id": null,
  "installments": 1,
  "internal_metadata": {
    "rule_id": "52004",
    "concept": "marketplace_shipment",
    "type": "outbound_payment",
    "splitter_id": "76063",
    "billing_infomation": {
      "buyer": {
        "id": 0,
        "identification": {
          "type": "",
          "number": ""
        }
      },
      "cardholder": {
        "name": "",
        "identification": {
          "number": "",
          "type": ""
        }
      }
    }
  },
  "refunds": [],
  "payment_type_id": "account_money",
  "profile_id": null,
  "payer_tags": [],
  "coupon_id": null,
  "fee_details": [],
  "collector": {
    "id": 246992682,
    "first_name": "Test",
    "last_name": "Test",
    "phone": {
      "extension": "",
      "area_code": "01",
      "number": "1111-1111"
    },
    "email": "test_user_89782056@testuser.com",
    "identification": {
      "number": "1111111",
      "type": "DNI"
    }
  },
  "money_release_days": 0,
  "order": {},
  "external_reference": "25943308795",
  "available_actions": [],
  "application_id": 6492251534497263,
  "marketplace": "MELI",
  "risk_execution_id": 13962541612,
  "call_for_authorize_id": null,
  "api_version": "2",
  "currency_id": "MXN",
  "sponsor_id": null,
  "payment_method_id": "account_money",
  "deduction_schema": null,
  "site_id": "MLM",
  "operation_type": "regular_payment",
  "binary_mode": false,
  "money_release_date": "2017-03-21T10:19:40-04:00",
  "differential_pricing_id": null,
  "payer": {
    "id": "222113214",
    "first_name": "Test",
    "last_name": "Test",
    "phone": {
      "extension": null,
      "area_code": "01",
      "number": "1111-1111"
    },
    "email": "test_user_64693035@testuser.com",
    "identification": {
      "number": "11111111111",
      "type": "IFE"
    },
    "entity_type": null,
    "type": "registred"
  },
  "notification_url": null,
  "transaction_amount_refunded": 0,
  "authorization_code": null,
  "live_mode": true
}

Please rate this