POST api/PaymentController/PayOPWebTransact
Request Information
URI Parameters
None.
Body Parameters
OpportunitiesModel| Name | Description | Type | Additional information |
|---|---|---|---|
| OPPayDay | integer |
Required |
|
| OPBPStatus | string |
Required |
|
| OPCli | string |
Required |
|
| OPCardCode | string |
Required |
|
| OPNumber | string |
Required Max length: 25 |
|
| OPDate | date |
Required |
|
| OPStatus | boolean |
Required |
|
| OPStage | string |
Required |
|
| OPMonth | integer |
Required |
|
| OPTotal | decimal number |
Required |
|
| OPDiscount | decimal number |
None. |
|
| OPTipoDescuento | string |
None. |
|
| OPLineDetails | string |
None. |
|
| OPCurrency | string |
Required Max length: 3 |
|
| OPActividadReceptor | string |
None. |
|
| IdWebTransaction | string |
None. |
|
| OPLines | Collection of OPLines |
None. |
|
| InfoTarjeta | SFCardModel |
None. |
|
| OPCardName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"OPPayDay": 1,
"OPBPStatus": "sample string 2",
"OPCli": "sample string 3",
"OPCardCode": "sample string 4",
"OPNumber": "sample string 5",
"OPDate": "2026-01-13T07:12:47.304432-06:00",
"OPStatus": true,
"OPStage": "sample string 8",
"OPMonth": 9,
"OPTotal": 10.0,
"OPDiscount": 11.0,
"OPTipoDescuento": "sample string 12",
"OPLineDetails": "sample string 13",
"OPCurrency": "sample string 14",
"OPActividadReceptor": "sample string 15",
"IdWebTransaction": "sample string 16",
"OPLines": [
{
"ItemCode": "sample string 1",
"Quantity": 2,
"Price": 3.0
},
{
"ItemCode": "sample string 1",
"Quantity": 2,
"Price": 3.0
}
],
"InfoTarjeta": {
"TipoTarjeta": "sample string 1",
"TarjetaHabiente": "sample string 2",
"NumeroTarjeta": "sample string 3",
"FechaVencimiento": "sample string 4",
"CardCurrency": "sample string 5"
},
"OPCardName": "sample string 17"
}
application/xml, text/xml
Sample:
<OpportunitiesModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MISMEDSFBACWEB.MODEL">
<IdWebTransaction>sample string 16</IdWebTransaction>
<InfoTarjeta>
<CardCurrency>sample string 5</CardCurrency>
<FechaVencimiento>sample string 4</FechaVencimiento>
<NumeroTarjeta>sample string 3</NumeroTarjeta>
<TarjetaHabiente>sample string 2</TarjetaHabiente>
<TipoTarjeta>sample string 1</TipoTarjeta>
</InfoTarjeta>
<OPActividadReceptor>sample string 15</OPActividadReceptor>
<OPBPStatus>sample string 2</OPBPStatus>
<OPCardCode>sample string 4</OPCardCode>
<OPCardName>sample string 17</OPCardName>
<OPCli>sample string 3</OPCli>
<OPCurrency>sample string 14</OPCurrency>
<OPDate>2026-01-13T07:12:47.304432-06:00</OPDate>
<OPDiscount>11</OPDiscount>
<OPLineDetails>sample string 13</OPLineDetails>
<OPLines>
<OPLines>
<ItemCode>sample string 1</ItemCode>
<Price>3</Price>
<Quantity>2</Quantity>
</OPLines>
<OPLines>
<ItemCode>sample string 1</ItemCode>
<Price>3</Price>
<Quantity>2</Quantity>
</OPLines>
</OPLines>
<OPMonth>9</OPMonth>
<OPNumber>sample string 5</OPNumber>
<OPPayDay>1</OPPayDay>
<OPStage>sample string 8</OPStage>
<OPStatus>true</OPStatus>
<OPTipoDescuento>sample string 12</OPTipoDescuento>
<OPTotal>10</OPTotal>
</OpportunitiesModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |