POST api/pedido/efetuarpagamento
Efetuar pagamento.
Request Information
URI Parameters
None.
Body Parameters
EfetuarPagamentoBindingModelName | Description | Type | Additional information |
---|---|---|---|
PedidoId | integer |
Required |
|
CanalId | integer |
Required |
|
TipoCartao | string |
Required |
|
EnderecoCobrancaId | integer |
Required |
|
NumeroCartao | string |
Required |
|
CodigoSeguranca | string |
Required |
|
NomeNoCartao | string |
Required |
|
DataExpiracao | string |
Required |
|
ValorTotal | decimal number |
Required |
|
NumeroParcelas | integer |
None. |
|
CodigoBandeira | integer |
None. |
|
TenantId | globally unique identifier |
None. |
|
PagSeguroSenderHash | string |
None. |
|
PagSeguroCreditCardToken | string |
None. |
|
DataNascimentoTitularCartao | string |
None. |
|
CPFTitularCartao | string |
None. |
|
DDDTitularCartao | string |
None. |
|
TelefoneTitularCartao | string |
None. |
|
Ip | string |
None. |
|
FingerPrintId | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "PedidoId": 1, "CanalId": 2, "TipoCartao": "sample string 3", "EnderecoCobrancaId": 4, "NumeroCartao": "sample string 5", "CodigoSeguranca": "sample string 6", "NomeNoCartao": "sample string 7", "DataExpiracao": "sample string 8", "ValorTotal": 9.0, "NumeroParcelas": 10, "CodigoBandeira": 11, "TenantId": "5965f4e7-294c-407d-90a1-f5f651d833aa", "PagSeguroSenderHash": "sample string 13", "PagSeguroCreditCardToken": "sample string 14", "DataNascimentoTitularCartao": "sample string 15", "CPFTitularCartao": "sample string 16", "DDDTitularCartao": "sample string 17", "TelefoneTitularCartao": "sample string 18", "Ip": "sample string 19", "FingerPrintId": "sample string 20" }
application/xml, text/xml
Sample:
<EfetuarPagamentoBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Models"> <CPFTitularCartao>sample string 16</CPFTitularCartao> <CanalId>2</CanalId> <CodigoBandeira>11</CodigoBandeira> <CodigoSeguranca>sample string 6</CodigoSeguranca> <DDDTitularCartao>sample string 17</DDDTitularCartao> <DataExpiracao>sample string 8</DataExpiracao> <DataNascimentoTitularCartao>sample string 15</DataNascimentoTitularCartao> <EnderecoCobrancaId>4</EnderecoCobrancaId> <FingerPrintId>sample string 20</FingerPrintId> <Ip>sample string 19</Ip> <NomeNoCartao>sample string 7</NomeNoCartao> <NumeroCartao>sample string 5</NumeroCartao> <NumeroParcelas>10</NumeroParcelas> <PagSeguroCreditCardToken>sample string 14</PagSeguroCreditCardToken> <PagSeguroSenderHash>sample string 13</PagSeguroSenderHash> <PedidoId>1</PedidoId> <TelefoneTitularCartao>sample string 18</TelefoneTitularCartao> <TenantId>5965f4e7-294c-407d-90a1-f5f651d833aa</TenantId> <TipoCartao>sample string 3</TipoCartao> <ValorTotal>9</ValorTotal> </EfetuarPagamentoBindingModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.