POST api/providers/{pId}/payment-operator

Efetuar pagamento via backoffice

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pId

string

None.

Body Parameters

PaymentLateCommand
NameDescriptionTypeAdditional information
OrderId

integer

None.

ProviderId

integer

None.

Payment

PaymentCommand

None.

Price

decimal number

None.

OperatorId

string

None.

PaymentMethod

PaymentMethods

None.

Request Formats

application/json, text/json

Sample:
{
  "orderId": 1,
  "providerId": 2,
  "payment": {
    "gateway": 0,
    "method": 0,
    "type": 0,
    "autoPayment": true,
    "data": {}
  },
  "price": 3.1,
  "operatorId": "sample string 4",
  "paymentMethod": 0
}

application/xml, text/xml

Sample:
<PaymentLateCommand xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Filazero.Core.ServicingBoundedContext.Application.Commands.Payment">
  <OperatorId>sample string 4</OperatorId>
  <OrderId>1</OrderId>
  <Payment xmlns:d2p1="http://schemas.datacontract.org/2004/07/Filazero.Core.ServicingBoundedContext.Application.Commands">
    <d2p1:AutoPayment>true</d2p1:AutoPayment>
    <d2p1:Data />
    <d2p1:Gateway>PAGGCERTO</d2p1:Gateway>
    <d2p1:Method>MONEY</d2p1:Method>
    <d2p1:Type>EXTERNAL</d2p1:Type>
  </Payment>
  <PaymentMethod>MONEY</PaymentMethod>
  <Price>3.1</Price>
  <ProviderId>2</ProviderId>
</PaymentLateCommand>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.