POST api/v2/ComprarCreditoSMS

Efetua a compra de créditos SMS por Boleto ou Depósito.

Request Information

URI Parameters

None.

Body Parameters

Dados para a compra. Informar Creditos ou Valor, não ambos.

ComprarCreditoSMSDto
NameDescriptionTypeAdditional information
Creditos

integer

None.

Valor

decimal number

None.

FormaPagto

TipoCompraCredito

None.

Id

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Creditos": 1,
  "Valor": 1.0,
  "FormaPagto": "Boleto",
  "Id": 1
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Dados da compra.

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.