Get a Payment/v1/advanced_payments/{id}Get a Payment.
DEPRECATED
GET
Request's parameters
idstring
Localization: pathPayment's IdREQUIRED
Response parameters
id
Localization: bodyPayment idnumber
status
Localization: bodyPaymentstatusstring
payments
Localization: bodyPaymentsarray
disbursements
Localization: bodydisbursementsarray
Request
curl
curl -X GET \
'https://api.mercadopago.com/v1/advanced_payments/{id}' \
-H 'Authorization: Bearer ACCESS_TOKEN_ENV'
Answer
json
{
"id": 111111111,
"status": "approved",
"payments": [
{
"id": 222222222,
"status": "approved",
"status_detail": "accredited",
"payment_type_id": "credit_card",
"payment_method_id": "visa",
"token": "98f6a9s7dfyihfasfdhasdjfhñasdfh",
"transaction_amount": 100,
"installments": 1,
"processing_mode": "aggregator",
"description": "Payment description",
"external_reference": "ext_ref_payment",
"statement_descriptor": "MKT-STATEMENT-DESCRIPTION"
}
],
"disbursements": [
{
"id": 33333333,
"amount": 40,
"external_reference": "ext_ref_disb_1",
"collector_id": 31313,
"application_fee": 5,
"money_release_days": 10,
"additional_info": {
"items": {
"id": "item-ID-1234",
"title": "Title of what you are paying for",
"picture_url": "https://www.mercadopago.com/logomp3.gif",
"description": "Item description",
"category_id": "art",
"quantity": 1,
"unit_price": 100
},
"shipments": {
"receiver_address": {
"zip_code": 5700,
"street_name": "Street",
"street_number": 123,
"floor": 4,
"apartment": "C"
}
}
}
}
],
"payer": {
"email": "test@user.com",
"first_name": "Test",
"last_name": "Test",
"address": {
"zip_code": 1111,
"street_name": "Calle",
"street_numer": 120
},
"identification": {
"type": "DNI",
"number": 88999000
}
},
"external_reference": "ext_ref_adv_paym",
"description": "Advanced payment description",
"date_created": "2018-06-27T13:34:20.518Z",
"date_last_updated": "2018-06-27T13:34:20.518Z",
"metadata": {},
"additional_info": {
"items": {
"id": "item-ID-7356",
"title": "Title of what you are paying for",
"picture_url": "https://www.mercadopago.com/logomp3.gif",
"description": "Item description",
"category_id": "art",
"quantity": 1,
"unit_price": 100
},
"shipments": {
"receiver_address": {
"zip_code": 5700,
"street_name": "Street",
"street_number": 123,
"floor": 4,
"apartment": "C"
}
}
}
}
Errors
400bad_request
400004
400005
400006
400007
400013
400014
400015
400016
400017
400018
400019
400020
400021
400022
400023
400024
400025
400026
400027
400028
400029
400030
400031
400032
400033
400034
400035
400036
400037
400039
400040
400041
400042
400043
400044
400045
400046
400047
400048
400049
400051
400052
400053
400054
400055
400056
400057
400058
401bad_request
401000
401002
401003
404bad_request
404001
404002
404003
406bad_request
406001
Was this information helpful?