Skip to main content
Cria um QR Code dinâmico para pagamento através de Pix.
curl --request POST \
  --url https://api.ext.pix.dbs.moneyp.com.br/api/v2/QRCode/Dinamico \
  --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>"
    },
    "dataExpiracao": "2023-11-07T05:31:56Z",
    "solicitacaoPagador": "<string>",
    "permiteAlteracao": true,
    "expiracao": 123,
    "descricao": "<string>"
  }
}'
{
  "sucesso": true,
  "mensagem": "<string>",
  "qrCode": {
    "codigoQRCode": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "emv": "<string>",
    "imagem": "<string>"
  }
}
Unlike a static QR Code, which has no expiration date, a dynamic QR Code for immediate payment has a shelf life. Therefore, the QR Code may expire in the following scenarios:
  • Immediately after payment (one-time payment QR Code);
  • On the date and time set at the time of issuance.

Authorizations

Authorization
string
header
required

Copie 'Bearer ' + token

Headers

IdempotencyKey
string
required
IgnoraHandshake
boolean
default:true
required

(somente em homologação)

Body

contaDto
object
qrCode
object

Response

200 - application/json

Success

sucesso
boolean
mensagem
string | null
qrCode
object
I