POST api/sendPayment
Request Information
URI Parameters
None.
Body Parameters
SendPaymentPOSTName | Description | Type | Additional information |
---|---|---|---|
carrinho_id | integer |
None. |
|
operacao | ToperacaoLojaCheckout |
None. |
|
valor | string |
None. |
|
tipo | string |
None. |
|
cpf | string |
None. |
|
string |
None. |
||
autorizacao | string |
None. |
|
nsu | string |
None. |
|
dataHora | string |
None. |
|
bandeira | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "carrinho_id": 1, "operacao": 1, "valor": "sample string 2", "tipo": "sample string 3", "cpf": "sample string 4", "email": "sample string 5", "autorizacao": "sample string 6", "nsu": "sample string 7", "dataHora": "sample string 8", "bandeira": "sample string 9" }
application/xml, text/xml
Sample:
<SendPaymentPOST xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopperREST.Models"> <autorizacao>sample string 6</autorizacao> <bandeira>sample string 9</bandeira> <carrinho_id>1</carrinho_id> <cpf>sample string 4</cpf> <dataHora>sample string 8</dataHora> <email>sample string 5</email> <nsu>sample string 7</nsu> <operacao>pagar</operacao> <tipo>sample string 3</tipo> <valor>sample string 2</valor> </SendPaymentPOST>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
RespostaPadraoSimplesName | Description | Type | Additional information |
---|---|---|---|
status | string |
None. |
|
mensagem | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "status": "sample string 1", "mensagem": "sample string 2" }
application/xml, text/xml
Sample:
<RespostaPadraoSimples xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopperREST.Models"> <mensagem>sample string 2</mensagem> <status>sample string 1</status> </RespostaPadraoSimples>