POST api/CartaoCredito/GerouPedidoValidadorCartaoDeCredito?txtInfoDispositivo={txtInfoDispositivo}&validarCartao={validarCartao}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| txtInfoDispositivo | string |
Required |
|
| validarCartao | boolean |
Required |
Body Parameters
PagamentoBraspag| Name | Description | Type | Additional information |
|---|---|---|---|
| number | string |
None. |
|
| expiry | string |
None. |
|
| cvc | string |
None. |
|
| name | string |
None. |
|
| documento | string |
None. |
|
| bandeira | string |
None. |
|
| savecard | boolean |
None. |
|
| fingerprint | string |
None. |
|
| apelido | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"number": "sample string 1",
"expiry": "sample string 2",
"cvc": "sample string 3",
"name": "sample string 4",
"documento": "sample string 5",
"bandeira": "sample string 6",
"savecard": true,
"fingerprint": "sample string 8",
"apelido": "sample string 9"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
RespostaModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | boolean |
None. |
|
| Mensagem | string |
None. |
|
| Id | integer |
None. |
|
| Objeto | Object |
None. |
|
| Duplicado | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": true,
"Mensagem": "sample string 2",
"Id": 1,
"Objeto": {},
"Duplicado": true
}