POST api/pix/fora

Request Information

URI Parameters

None.

Body Parameters

pixForaPOSTReq
NameDescriptionTypeAdditional information
valor

decimal number

None.

tipo_loja

string

None.

ticket

string

None.

Request Formats

application/json, text/json

Sample:
{
  "valor": 1.0,
  "tipo_loja": "sample string 2",
  "ticket": "sample string 3"
}

application/xml, text/xml

Sample:
<pixForaPOSTReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopperREST.Controllers">
  <ticket>sample string 3</ticket>
  <tipo_loja>sample string 2</tipo_loja>
  <valor>1</valor>
</pixForaPOSTReq>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

pixPOSTResp
NameDescriptionTypeAdditional 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>