Skip to main content
Cria um QR Code de cobrança para pagamento através de Pix.
curl --request POST \
  --url https://api.ext.pix.dbs.moneyp.com.br/api/v2/QRCode/Cobranca \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --header 'IdempotencyKey: <idempotencykey>' \
  --header 'IgnoraHandshake: <ignorahandshake>' \
  --data '{
  "contaDto": {
    "agencia": "<string>",
    "agenciaDigito": "<string>",
    "conta": "<string>",
    "contaDigito": "<string>",
    "contaPgto": "<string>",
    "tipoConta": 1,
    "modeloConta": 1
  },
  "qrCode": {
    "chave": "<string>",
    "tipoChave": 0,
    "taxId": "<string>",
    "valor": 123,
    "devedor": {
      "nome": "<string>",
      "documentoFederal": "<string>",
      "tipoPessoa": 1
    },
    "infosAdicionais": {
      "nome": "<string>",
      "valor": "<string>"
    },
    "juros": {
      "data": "2023-11-07T05:31:56Z",
      "tipo": 1,
      "valor": 123
    },
    "multa": {
      "data": "2023-11-07T05:31:56Z",
      "tipo": 1,
      "valor": 123
    },
    "desconto": {
      "data": "2023-11-07T05:31:56Z",
      "tipo": 0,
      "valor": 123
    },
    "dataVencimento": "2023-11-07T05:31:56Z",
    "dataExpiracao": "2023-11-07T05:31:56Z",
    "valorAbatimento": 123
  }
}'
{
  "sucesso": true,
  "mensagem": "<string>",
  "qrCode": {
    "codigoQRCode": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "emv": "<string>",
    "imagem": "<string>"
  }
}
Through this endpoint, the partner can generate a unique QR code for a given call, which will then be discarded according to the registered expiration date. Interest and fines may or may not be charged according to the parameterization.

Authorizations

Authorization
string
header
required

Copie 'Bearer ' + token

Headers

IdempotencyKey
string
required
IgnoraHandshake
boolean
default:true
required

(somente em homologação)

Body

contaDto
object

Objeto detalhado da conta bancária associada ao QR Code.*

qrCode
object

Objeto detalhado de informações relacionadas ao QR Code de cobrança.*

Response

200 - application/json

Success

sucesso
boolean
mensagem
string | null
qrCode
object
I