Busca inteligente powered by OpenAIÂ
Capturar pagamento
GET
Produtos relacionados:
Parùmetros de requisição
PATH
advanced_payment_id
Refere-se ao pagamento com o id 'advanced_payment_id' a ser confirmado.number
OBRIGATĂRIO
ParĂąmetros de resposta
id
ID Ășnico que identifica o pagamento.number
wallet_payment
Indica que Ă© um pago de um vendedor com Wallet Connect previamente vinculado.object
payments
Resposta de pagamento aprovado.array
disbursements
Lista de pagamentos que correspondem a cada vendedor.object
Erros
400Erro
400
Bad-Request
404
Not-Found
500Erro
500
Error
Requisição
curl -X GET \
'https://api.mercadopago.com/v1/advanced_payments/{advanced_payment_id}'\
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer TEST-7434*********159-03141*********cee51edf8*********f94f589-1*********' \
Resposta de exemplo
{
"id": 10267812,
"wallet_payment": {
"transaction_amount": 125.98,
"description": "Payment for the purchase of furniture",
"external_reference": "Payment_seller_123"
},
"payments": [
{
"id": 3870106238,
"status_detail": "approved_id",
"payment_method_id": "credit_card_id",
"transaction_amount": 700.5,
"installments": 1,
"description": "Payment for the purchase of furniture",
"capture": true,
"external_reference": "payment_123"
}
],
"disbursements": {
"collector_id": "collectorId"
},
"payer": {
"id": 8879
},
"site_id": "MLB",
"date_created": "2018-10-20T09:34:20.518-04:00",
"date_last_updated": "2018-10-20T09:34:20.518-04:00"
}