POST api/v3/mobypay/cliente/{tenantId}/dados-cadastrais
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
tenantId | string |
Required |
Body Parameters
PagamentoInputName | Description | Type | Additional information |
---|---|---|---|
TenantId | string |
None. |
|
PedidoId | integer |
None. |
|
CanalId | integer |
None. |
|
FormaDePagamento | integer |
None. |
|
QtdParcelas | integer |
None. |
|
ValorParcela | decimal number |
None. |
|
ValorMdr | decimal number |
None. |
|
ValorFee | decimal number |
None. |
|
TaxaAntiFraude | decimal number |
None. |
|
ValorTotal | decimal number |
None. |
|
PagSeguroSenderHash | string |
None. |
|
PagSeguroCreditCardToken | string |
None. |
|
FingerPrintId | string |
None. |
|
IpClient | string |
None. |
|
clientePagto | ClientePagto |
None. |
|
dadosCliente | DadosCliente |
None. |
|
endereco | EnderecoPagto |
None. |
|
cartaoCredito | CartaoCreditoPagto |
None. |
Request Formats
application/json, text/json
Sample:
{ "TenantId": "sample string 1", "PedidoId": 2, "CanalId": 3, "FormaDePagamento": 4, "QtdParcelas": 5, "ValorParcela": 6.1, "ValorMdr": 7.1, "ValorFee": 8.1, "TaxaAntiFraude": 9.1, "ValorTotal": 10.1, "PagSeguroSenderHash": "sample string 11", "PagSeguroCreditCardToken": "sample string 12", "FingerPrintId": "sample string 13", "IpClient": "sample string 14", "clientePagto": { "cpf": "sample string 1", "phone": "sample string 2", "name": "sample string 3", "email": "sample string 4" }, "dadosCliente": { "cpf": "sample string 1", "phone": "sample string 2", "name": "sample string 3", "email": "sample string 4", "Cliente_Id": 1 }, "endereco": { "Id": 1, "code": "sample string 1", "address": "sample string 2", "number": "sample string 3", "description": "sample string 4", "district": "sample string 5", "city": "sample string 6", "state": "sample string 7" }, "cartaoCredito": { "cardCode": 1, "cardToken": "sample string 2", "cardType": "sample string 3", "cardNumber": "sample string 4", "expireDate": "sample string 5", "cvc": "sample string 6", "cardOwner": "sample string 7", "cpf": "sample string 8", "birthDay": "sample string 9", "CreditCardEncrypted": "sample string 10" } }
application/xml, text/xml
Sample:
<PagamentoInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FormulaCertaAPI.Common.Input.MobyPay"> <CanalId>3</CanalId> <FingerPrintId>sample string 13</FingerPrintId> <FormaDePagamento>4</FormaDePagamento> <IpClient>sample string 14</IpClient> <PagSeguroCreditCardToken>sample string 12</PagSeguroCreditCardToken> <PagSeguroSenderHash>sample string 11</PagSeguroSenderHash> <PedidoId>2</PedidoId> <QtdParcelas>5</QtdParcelas> <TaxaAntiFraude>9.1</TaxaAntiFraude> <TenantId>sample string 1</TenantId> <ValorFee>8.1</ValorFee> <ValorMdr>7.1</ValorMdr> <ValorParcela>6.1</ValorParcela> <ValorTotal>10.1</ValorTotal> <cartaoCredito> <CreditCardEncrypted>sample string 10</CreditCardEncrypted> <birthDay>sample string 9</birthDay> <cardCode>1</cardCode> <cardNumber>sample string 4</cardNumber> <cardOwner>sample string 7</cardOwner> <cardToken>sample string 2</cardToken> <cardType>sample string 3</cardType> <cpf>sample string 8</cpf> <cvc>sample string 6</cvc> <expireDate>sample string 5</expireDate> </cartaoCredito> <clientePagto> <cpf>sample string 1</cpf> <email>sample string 4</email> <name>sample string 3</name> <phone>sample string 2</phone> </clientePagto> <dadosCliente> <Cliente_Id>1</Cliente_Id> <cpf>sample string 1</cpf> <email>sample string 4</email> <name>sample string 3</name> <phone>sample string 2</phone> </dadosCliente> <endereco> <Id>1</Id> <address>sample string 2</address> <city>sample string 6</city> <code>sample string 1</code> <description>sample string 4</description> <district>sample string 5</district> <number>sample string 3</number> <state>sample string 7</state> </endereco> </PagamentoInput>
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.