Pix Cobrança

Criar QR Code

post/companies/{companyId}/pix-cash-in/locations

Request

  • Base URL
    https://api.sandbox.empresas.btgpactual.com
  • Auth
    OAuth 2
    Client credentials
    Token URLhttps://id.btgpactual.com/oauth2/token
    Scopesopenid empresas.btgpactual.com/pix-cash-in

Path parameters

companyIdstring required

CNPJ da empresa

Example:1234124210002

Request body

typestring required
descriptionstring

Example request

{
  "type": "cob",
  "description": "descrição de exemplo"
}

Response

Location Created

idstring
typestring
taxIdstring
urlstring
descriptionstring
imagestring byte

Example response

{
  "id": "b226b648-9410-42d3-88f3-497c23608a3d",
  "type": "cob",
  "taxId": "30306294000145",
  "url": "https://static.uat.com/pix/dynamic/qrcode/37297902000141/4c972de4-3842-4b89-a2de-99f749a78950.png",
  "description": "descrição de exemplo",
  "image": "iVBORw0KGgoAAAANSUhE..."
}

Changes

No recorded changes to this operation across all 1 revision of this API.