POST api/Cuenta/PagarCoutasMercadoPago

Request Information

URI Parameters

None.

Body Parameters

PagarCuotasMercadoPagoRequestVM
NameDescriptionTypeAdditional information
PublicKey

string

None.

Email

string

None.

Amount

decimal number

None.

PaymentMethodID

string

None.

CustomerID

string

None.

Token

string

None.

ItemsAPagar

Collection of GetDeudaAlumnoItemVM

None.

EntityID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "PublicKey": "sample string 1",
  "Email": "sample string 2",
  "Amount": 3.1,
  "PaymentMethodID": "sample string 4",
  "CustomerID": "sample string 5",
  "Token": "sample string 6",
  "ItemsAPagar": [
    {
      "Abrev": "sample string 1",
      "CmpCod": 2,
      "Fecha": "2026-04-05T12:38:10.5433877Z",
      "FechaFormatted": "05/04/2026 09:38",
      "Periodo": "sample string 4",
      "Saldo": 5.0,
      "SaldoFormatted": "$5,00",
      "Seleccionada": true,
      "EntityID": 7
    },
    {
      "Abrev": "sample string 1",
      "CmpCod": 2,
      "Fecha": "2026-04-05T12:38:10.5433877Z",
      "FechaFormatted": "05/04/2026 09:38",
      "Periodo": "sample string 4",
      "Saldo": 5.0,
      "SaldoFormatted": "$5,00",
      "Seleccionada": true,
      "EntityID": 7
    }
  ],
  "EntityID": 7
}

application/xml, text/xml

Sample:
<PagarCuotasMercadoPagoRequestVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KITS.Arci.ViewModels.ViewModels">
  <EntityID xmlns="http://schemas.datacontract.org/2004/07/KITS.Arci.ViewModels">7</EntityID>
  <Amount>3.1</Amount>
  <CustomerID>sample string 5</CustomerID>
  <Email>sample string 2</Email>
  <ItemsAPagar xmlns:d2p1="http://schemas.datacontract.org/2004/07/KITS.Arci.ViewModels.ViewModels.ReqRes">
    <d2p1:GetDeudaAlumnoItemVM>
      <EntityID xmlns="http://schemas.datacontract.org/2004/07/KITS.Arci.ViewModels">7</EntityID>
      <d2p1:Abrev>sample string 1</d2p1:Abrev>
      <d2p1:CmpCod>2</d2p1:CmpCod>
      <d2p1:Fecha>2026-04-05T09:38:10.5433877-03:00</d2p1:Fecha>
      <d2p1:Periodo>sample string 4</d2p1:Periodo>
      <d2p1:Saldo>5</d2p1:Saldo>
      <d2p1:Seleccionada>true</d2p1:Seleccionada>
    </d2p1:GetDeudaAlumnoItemVM>
    <d2p1:GetDeudaAlumnoItemVM>
      <EntityID xmlns="http://schemas.datacontract.org/2004/07/KITS.Arci.ViewModels">7</EntityID>
      <d2p1:Abrev>sample string 1</d2p1:Abrev>
      <d2p1:CmpCod>2</d2p1:CmpCod>
      <d2p1:Fecha>2026-04-05T09:38:10.5433877-03:00</d2p1:Fecha>
      <d2p1:Periodo>sample string 4</d2p1:Periodo>
      <d2p1:Saldo>5</d2p1:Saldo>
      <d2p1:Seleccionada>true</d2p1:Seleccionada>
    </d2p1:GetDeudaAlumnoItemVM>
  </ItemsAPagar>
  <PaymentMethodID>sample string 4</PaymentMethodID>
  <PublicKey>sample string 1</PublicKey>
  <Token>sample string 6</Token>
</PagarCuotasMercadoPagoRequestVM>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'PagarCuotasMercadoPagoRequestVM'.

Response Information

Resource Description

AdapterResponseVMOfPagarCuotasMercadoPagoResponseVM
NameDescriptionTypeAdditional information
Alerts

Collection of Object

None.

ResponseVM

PagarCuotasMercadoPagoResponseVM

None.

Response Formats

application/json, text/json

Sample:
{
  "Alerts": null,
  "ResponseVM": {
    "IsSuccess": true,
    "ExternalReference": "sample string 2",
    "IsRejected": true,
    "IsPending": true,
    "MercadoPagoID": "sample string 5",
    "EntityID": 6
  }
}

application/xml, text/xml

Sample:
<AdapterResponseVMOfPagarCuotasMercadoPagoResponseVM5phF_SRiQ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FwKits.Core.Presentation.Adapter.Base">
  <Alerts xmlns:d2p1="http://schemas.datacontract.org/2004/07/FwKits.Common.Validations" i:nil="true" />
  <ResponseVM xmlns:d2p1="http://schemas.datacontract.org/2004/07/KITS.Arci.ViewModels.ViewModels">
    <EntityID xmlns="http://schemas.datacontract.org/2004/07/KITS.Arci.ViewModels">6</EntityID>
    <d2p1:ExternalReference>sample string 2</d2p1:ExternalReference>
    <d2p1:IsPending>true</d2p1:IsPending>
    <d2p1:IsRejected>true</d2p1:IsRejected>
    <d2p1:IsSuccess>true</d2p1:IsSuccess>
    <d2p1:MercadoPagoID>sample string 5</d2p1:MercadoPagoID>
  </ResponseVM>
</AdapterResponseVMOfPagarCuotasMercadoPagoResponseVM5phF_SRiQ>