API Reference
AuthenticationPOSTGet a token
Payments (Pay Out)POSTCreate a paymentGETList paymentsGETGet a payment intentGETGet a payment by externalIdGETGet a payment by its own idGETValidation errorsGETWithdraw errorsGETPayment receipt
Deposits (Pay In)POSTCreate a deposit intentPUTUpdate an intentPATCHUpdate an intent's depositsDELCancel an intentPOSTRequest a refundGETList deposit intentsGETGet a deposit intentGETGet an intent by externalIdGETGet a depositGETValidation errorsGETDeposit errorsGETIntent receiptsGETDeposit receipt
AccountGETGet the accountGETGet the balanceGETGet the statementGETStatement entry receiptGETList Pix keysPOSTRegister a Pix keyDELDelete a Pix keyGETList account limitsGETGet an account limitPOSTRequest a limit increase
ConfigurationsGETList flagsPUTUpdate a flagGETList proxiesPUTUpdate a proxyGETGet transaction limitsPUTUpdate transaction limitsGETList payment methodsPUTUpdate payment methodsGETList deposit methodsPUTUpdate deposit methods
Decode a QR Code
POST
Base URL: /pix/api/v1/qrcode/decodehttps://pay4fun.mimicr.dev · provider: https://go.dev.pay4fun.comReads a BR Code (copy and paste) and returns its data. Use it before a Pix-CopyPaste payment to check the receiver and amount. Moves no money.
Authorization
Bearer token in the Authorization: Bearer <token> header. See Authentication.
Body
application/jsondocumentstringrequired
The QR Code (copy and paste) to decode.
dateForPaymentstring | null
Scheduled payment date (ISO 8601).
externalIdentifierstring | null
Your own identifier, for reference.
Responses
200The decoded payload.
object
Raw decoded payload, as the Pix provider returned it; don't assume a fixed schema. In Mimicr: type (STATIC/DYNAMIC), pixKey, location, amount, currency, merchantName, merchantCity, txid and payload with the EMV fields.
400document empty or not decodable.
successbooleanrequired
Always false on errors.
falsecodeintegerrequired
5001 resource not found, 2001 unprocessable input, 1001 validation error (in Mimicr), 4009 key already registered (in Mimicr).
5001messagestringrequired
Error message.
"Deposit intent not found."