POST api/Cart/CheckPayment
Request Information
URI Parameters
None.
Body Parameters
MercadoPagoEntity| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| PaymentId | string |
None. |
|
| PaymentStatus | string |
None. |
|
| PaymentStatusDetail | string |
None. |
|
| PreferenceId | string |
None. |
|
| Fecha | date |
None. |
|
| MensajeError | string |
None. |
|
| UsuarioId | integer |
None. |
|
| Procesado | boolean |
None. |
|
| CallbackEjecutado | boolean |
None. |
|
| FechaProcesoMP | date |
None. |
|
| Signature | string |
None. |
|
| RetiroId | integer |
None. |
|
| TipoDeRetiroId | integer |
None. |
|
| OpcionDePagoId | integer |
None. |
|
| DireccionEntrega | string |
None. |
|
| Observaciones | string |
None. |
|
| ImporteTotal | decimal number |
None. |
|
| Impuestos | decimal number |
None. |
|
| SubTotal | decimal number |
None. |
|
| TransporteId | integer |
None. |
|
| TransporteDesc | string |
None. |
|
| OpcionDePagoDesc | string |
None. |
|
| ExternalReference | string |
None. |
|
| ObjectState | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"PaymentId": "sample string 2",
"PaymentStatus": "sample string 3",
"PaymentStatusDetail": "sample string 4",
"PreferenceId": "sample string 5",
"Fecha": "2025-12-06T01:33:46.9168863-03:00",
"MensajeError": "sample string 6",
"UsuarioId": 1,
"Procesado": true,
"CallbackEjecutado": true,
"FechaProcesoMP": "2025-12-06T01:33:46.9168863-03:00",
"Signature": "sample string 8",
"RetiroId": 1,
"TipoDeRetiroId": 1,
"OpcionDePagoId": 1,
"DireccionEntrega": "sample string 9",
"Observaciones": "sample string 10",
"ImporteTotal": 1.0,
"Impuestos": 1.0,
"SubTotal": 1.0,
"TransporteId": 1,
"TransporteDesc": "sample string 11",
"OpcionDePagoDesc": "sample string 12",
"ExternalReference": "sample string 13",
"ObjectState": 14
}
application/xml, text/xml
Sample:
<MercadoPagoEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mastersoft.Ecommerce.Entities"> <ObjectState xmlns="http://schemas.datacontract.org/2004/07/Mastersoft.Framework.Interfaces">14</ObjectState> <CallbackEjecutado>true</CallbackEjecutado> <DireccionEntrega>sample string 9</DireccionEntrega> <ExternalReference>sample string 13</ExternalReference> <Fecha>2025-12-06T01:33:46.9168863-03:00</Fecha> <FechaProcesoMP>2025-12-06T01:33:46.9168863-03:00</FechaProcesoMP> <Id>1</Id> <ImporteTotal>1</ImporteTotal> <Impuestos>1</Impuestos> <MensajeError>sample string 6</MensajeError> <Observaciones>sample string 10</Observaciones> <OpcionDePagoDesc>sample string 12</OpcionDePagoDesc> <OpcionDePagoId>1</OpcionDePagoId> <PaymentId>sample string 2</PaymentId> <PaymentStatus>sample string 3</PaymentStatus> <PaymentStatusDetail>sample string 4</PaymentStatusDetail> <PreferenceId>sample string 5</PreferenceId> <Procesado>true</Procesado> <RetiroId>1</RetiroId> <Signature>sample string 8</Signature> <SubTotal>1</SubTotal> <TipoDeRetiroId>1</TipoDeRetiroId> <TransporteDesc>sample string 11</TransporteDesc> <TransporteId>1</TransporteId> <UsuarioId>1</UsuarioId> </MercadoPagoEntity>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
MercadoPagoResult| Name | Description | Type | Additional information |
|---|---|---|---|
| preference_id | string |
None. |
|
| payment_id | string |
None. |
|
| payment_status | string |
None. |
|
| payment_status_detail | string |
None. |
|
| external_reference | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"preference_id": "sample string 1",
"payment_id": "sample string 2",
"payment_status": "sample string 3",
"payment_status_detail": "sample string 4",
"external_reference": "sample string 5"
}
application/xml, text/xml
Sample:
<MercadoPagoResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mastersoft.Ecommerce.Entities.Domain"> <external_reference>sample string 5</external_reference> <payment_id>sample string 2</payment_id> <payment_status>sample string 3</payment_status> <payment_status_detail>sample string 4</payment_status_detail> <preference_id>sample string 1</preference_id> </MercadoPagoResult>