POST api/pix
Request Information
URI Parameters
None.
Body Parameters
pixPOSTReqName | Description | Type | Additional information |
---|---|---|---|
valor | decimal number |
None. |
|
bieer_id | integer |
None. |
|
ticket | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "valor": 1.0, "bieer_id": 2, "ticket": "sample string 3" }
application/xml, text/xml
Sample:
<pixPOSTReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopperREST.Controllers"> <bieer_id>2</bieer_id> <ticket>sample string 3</ticket> <valor>1</valor> </pixPOSTReq>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
pixPOSTRespName | Description | Type | Additional information |
---|---|---|---|
status | string |
None. |
|
mensagem | string |
None. |
|
paymentId | string |
None. |
|
braspag_resp_id | integer |
None. |
|
QrCodeString | string |
None. |
|
QrCodeExpiration | integer |
None. |
|
QrcodeBase64Image | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "status": "sample string 1", "mensagem": "sample string 2", "paymentId": "sample string 3", "braspag_resp_id": 4, "QrCodeString": "sample string 5", "QrCodeExpiration": 6, "QrcodeBase64Image": "sample string 7" }
application/xml, text/xml
Sample:
<pixPOSTResp xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopperREST.Controllers"> <QrCodeExpiration>6</QrCodeExpiration> <QrCodeString>sample string 5</QrCodeString> <QrcodeBase64Image>sample string 7</QrcodeBase64Image> <braspag_resp_id>4</braspag_resp_id> <mensagem>sample string 2</mensagem> <paymentId>sample string 3</paymentId> <status>sample string 1</status> </pixPOSTResp>