Payment Handling

In line with the new Shopping Cart changes to take into account, we will show you how to handle payments with this new feature. Just like today, the buyer may pay the purchase cost by any payment method offered by Mercado Pago within Mercado Libre. These payments are referred to as Inbound Payments, i.e., the buyer's payments to an internal Mercado Pago account. Besides, if the purchase is paid in full, the Inbound Payments money is allocated among the relevant orders and shipments to generate Outbound Payments.

Notas:
- Outbound Payments are always money payments made to Mercado Pago accounts.
- While the seller is the Outbound Payments' collector, the above internal Mercado Pago account is the payer.
- Order payments will be notified to sellers, who will be the only people with access to them.

Call:

curl -X GET https://api.mercadopago.com/v1/payments/$PAYMENT_ID?access_token=

Example:

curl -X GET https://api.mercadopago.com/v1/payments/3507121175?access_token=

Response:

{
   "acquirer_reconciliation":[

   ],
   "statement_descriptor":null,
   "captured":true,
   "date_last_updated":"2018-03-05T10:07:15.000-04:00",
   "merchant_account_id":null,
   "payer_id":305796397,
   "issuer_id":null,
   "description":"Talla Chica Camisa Faja Cinturilla Quemadora Grasa Hombre",
   "transaction_amount":250,
   "card":{

   },
   "transaction_details":{
      "total_paid_amount":250,
      "acquirer_reference":null,
      "payment_method_reference_id":null,
      "net_received_amount":206.25,
      "financial_institution":null,
      "payable_deferral_period":null,
      "installment_amount":0,
      "external_resource_url":null,
      "overpaid_amount":0
   },
   "coupon_amount":0,
   "metadata":{

   },
   "money_release_schema":null,
   "collector_id":166986265,
   "status":"approved",
   "processing_mode":"aggregator",
   "status_detail":"accredited",
   "installments":1,
   "refunds":[

   ],
   "payment_type_id":"account_money",
   "counter_currency":null,
   "fee_details":[
      {
         "amount":43.75,
         "fee_payer":"collector",
         "type":"application_fee"
      }
   ],
   "acquirer":null,
   "date_created":"2018-03-05T10:07:15.000-04:00",
   "id":3507121175,
   "collector":{
      "id":166986265,
      "first_name":"Lizeth",
      "phone":{
         "extension":null,
         "area_code":null,
         "number":"0445532306416"
      },
      "email":null,
      "identification":{
         "number":"861029",
         "type":"RFC"
      },
      "last_name":"Contreras Pallares"
   },
   "date_of_expiration":null,
   "order":{
      "id":"1653025194",
      "type":"mercadolibre"
   },
   "external_reference":"1653025194",
   "merchant_number":null,
   "call_for_authorize_id":null,
   "currency_id":"MXN",
   "sponsor_id":null,
   "deduction_schema":null,
   "payment_method_id":"account_money",
   "additional_info":{

   },
   "binary_mode":false,
   "operation_type":"regular_payment",
   "money_release_date":"2018-03-07T10:07:15.000-04:00",
   "differential_pricing_id":null,
   "payer":{
      "id":"305796397",
      "first_name":"Splitter",
      "phone":{
         "extension":null,
         "area_code":null,
         "number":null
      },
      "email":null,
      "identification":{
         "number":null,
         "type":null
      },
      "last_name":"7626d45613",
      "entity_type":null,
      "type":"registered"
   },
   "notification_url":null,
   "transaction_amount_refunded":0,
   "authorization_code":null,
   "date_approved":"2018-03-05T10:07:15.000-04:00",
   "live_mode":true
}

Data received within "payer" correspond to Mercado Pago internal account and not to the buyer.

For more information on how to use the “payments” resource, check the available Manage Sales documentation.

or register to recieve the latest news about our API