POST api/v1/PagamentoCartao/Solicitar

Cadastra uma nova solicitação de pagamento com cartão e envia e-mail para o endereço informado

Request Information

URI Parameters

None.

Body Parameters

Os dados da solicitação

SolicitacaoPagamentoCartaoDto
NameDescriptionTypeAdditional information
Email

string

Required

AssuntoEmail

string

Max length: 120

Valor

decimal number

Required

Range: inclusive between 0,01 and 249999,99

Descricao

string

Required

Max length: 500

FormaTarifacao

FormaTarifacao

None.

ParcelasDe

integer

Range: inclusive between 1 and 12

ParcelasAte

integer

Range: inclusive between 1 and 12

Antecipacao

boolean

None.

Id

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Email": "sample string 1",
  "AssuntoEmail": "sample string 2",
  "Valor": 3.0,
  "Descricao": "sample string 4",
  "FormaTarifacao": "DescontaNoRepasse",
  "ParcelasDe": 1,
  "ParcelasAte": 1,
  "Antecipacao": true,
  "Id": 5
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

O id do registro incluído

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.