Documentation

Create a Pix charge

Generate a Pix charge with a QR code and copy-and-paste code paid straight into the organization's bank account.

Before you start

The charge is issued straight into the organization's bank account, through the integration with the bank. Pix is Brazil's instant payment system. Register the bank credential in the dashboard under Banking → Credenciais (Banking → Credentials) and use an organization token.

Each credential has its own key, the credential key, which you copy from the credentials list (menu ⋯ → Copiar chave da credencial, Copy credential key). It says which credential issues the charge and goes in the X-Credential-Key header. The organization can have more than one credential, including from the same bank.

HeaderRequiredValue
AuthorizationyesBearer <organization token>
X-Credential-Keynokey of the credential that issues the charge

Without X-Credential-Key, the charge goes out through the organization's first active credential (the oldest). If the body sends integrationType, the first active credential of that bank is used.

BankintegrationType
SicoobSICOOB
SicrediSICREDI
Banco do BrasilBANCODOBRASIL
BradescoBRADESCO
SantanderSANTANDER
InterINTER

Create the charge

curl -X POST https://api.intopays.com/v1/pixs \
  -H "Authorization: Bearer $INTOPAYS_TOKEN" \
  -H "X-Credential-Key: $INTOPAYS_CREDENTIAL_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "amountOriginal": 95.40,
    "calendarExpiration": 900,
    "payerRequest": "Pedido #1042",
    "debtorName": "Maria Silva",
    "debtorDocument": "12345678909"
  }'
FieldRequiredValues
amountOriginalyesamount in Brazilian reais, greater than zero, with up to two decimal places
calendarExpirationyeshow long the charge is valid, in seconds, from 1
payerRequestyesmessage shown to the payer, up to 140 characters
debtorNamenopayer's name
debtorDocumentnopayer's CPF or CNPJ (individual or company taxpayer ID)
pixKeynoreceiving Pix key; without it, the credential's key is used
amountModificationTypeno0 fixed amount (default), 1 the payer can change the amount
additionalInfosnoup to 50 items { "name": "...", "value": "..." } shown to the payer
integrationTypenothe bank, as in the table above. Only used without X-Credential-Key, to pick the first active credential of that bank. With the key, if sent, it must be the credential's bank

Response

The API answers 201 with the charge issued at the bank:

{
  "id": "200000",
  "publicId": "019a8c2e-5b1d-7f3a-9c4e-2d6b8a0f1e37",
  "transactionId": "XXXINTOPAYSXXXSICOOBXXXPIX0000000200000",
  "status": "ACTIVE",
  "integrationType": "SICOOB",
  "amountOriginal": 95.4,
  "amountModificationType": 0,
  "calendarExpiration": 900,
  "payerRequest": "Pedido #1042",
  "debtorName": "Maria Silva",
  "debtorDocument": "12345678909",
  "pixKey": "[email protected]",
  "qrcode": "00020101021226950014br.gov.bcb.pix2573…",
  "url": "https://intopays.com/payment/019a8c2e-5b1d-7f3a-9c4e-2d6b8a0f1e37/pix",
  "additionalInfos": [],
  "createdAt": "2026-11-15T14:20:06.153Z",
  "updatedAt": "2026-11-15T14:20:06.153Z"
}
FieldUse
qrcodethe Pix copy-and-paste code; generate the QR code from this text
transactionIdthe charge's identifier at the bank (txid)
idthe charge's identifier at Intopays, to look it up later
urlpublic payment page, with the QR code and the copy-and-paste code. You can send it to the payer
publicIdidentifier of the payment page, the same one that appears in url

The url page needs no sign-in: anyone with the link sees the amount and the QR code, never the payer's data. It opens by publicId; id and transactionId do not open the page. Links of older charges, which carried the transactionId, keep working.

Status

statusMeaning
ACTIVEWaiting for payment
COMPLETEDPaid
REMOVED_BY_USER_RECEIVERRemoved by the receiver
REMOVED_BY_PSPRemoved by the bank, usually because it expired

To track the payment, register a webhook under Integração → Webhooks (Integration → Webhooks); see Webhooks. Intopays sends the pix.update event when the status changes. You can also read the charge at any time (see Look up Pix charges):

curl https://api.intopays.com/v1/pixs/200000 \
  -H "Authorization: Bearer $INTOPAYS_TOKEN"

Errors

StatusResponseFix
400Param is Missing: <campo>Send the required field named in the message
400name of the invalid field, such as amountOriginalFix the value according to the fields table
401invalid token or inactive subscriptionSee Authentication
400Bank credential not found for the provided X-Credential-KeyUse the key of a credential of this organization
400The bank credential of the provided X-Credential-Key is inactiveActivate the credential in Credenciais or use another one
400integrationType ... does not match the credential of the provided X-Credential-KeyRemove integrationType or send the credential's bank
403Você precisa criar uma credencial para: SICOOB ("you need to create a credential for: SICOOB")Register or activate a credential of that bank in Credenciais
403Você precisa criar uma credencial bancária ativa ("you need to create an active bank credential")Register or activate a credential in Credenciais

Missing something on this page? Contact support from the dashboard and we'll update the docs.