Guides
Account and management

Configurations and profile

Flags, proxies, enabled payment and deposit methods, registration data and credential reset.

The merchant's operational settings live under /configurations/api/v1 and the registration under /profile/api/v1. In both, success is the data itself, PUT answers 200 with no body and errors come in the {success, code, message} envelope.

Enabled methods

bash
curl --url https://pay4fun.mimicr.dev/configurations/api/v1/payment-methods \
  --header 'Authorization: Bearer <token>'
json
[
  { "code": "Pix-Key", "name": "Pix por chave", "isEnabled": true },
  { "code": "Pix-BankData", "name": "Pix por dados bancários", "isEnabled": true },
  { "code": "Pix-CopyPaste", "name": "Pix copia e cola", "isEnabled": true },
  { "code": "Pix-Session", "name": "Pix por sessão", "isEnabled": true }
]

/configurations/api/v1/deposit-methods has the same shape for Pix-QrDynamic, Pix-QrStatic and Pix-ITP.

The method PUTs replace the whole configuration. Read the GET, change what you need and send the full list back: sending a single item turns the others off.

bash
curl --request PUT \
  --url https://pay4fun.mimicr.dev/configurations/api/v1/payment-methods \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
    "paymentMethods": [
      { "code": "Pix-Key", "isEnabled": true },
      { "code": "Pix-BankData", "isEnabled": false },
      { "code": "Pix-CopyPaste", "isEnabled": true },
      { "code": "Pix-Session", "isEnabled": true }
    ]
  }'

Turning a method off only affects new transactions: a deposit with a disabled method answers 400 DEP-041; a payment is refused in validation with VAL-020 and a Declined webhook.

Flags

List flags returns each flag with defaultValue, your value (null if you never set it) and isEnabled. Change one with the GUID from the list:

bash
curl --request PUT \
  --url https://pay4fun.mimicr.dev/configurations/api/v1/flags/<flag-id> \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{ "value": false }'

Pay4Fun doesn't publish the flag names. In Mimicr there are three:

FlagDefaultEffect
ShowPayerDatatrueWith false, the deposit webhook goes without the payer object
ShowReceiverDatatrueWith false, the payment webhook's receiver comes with every field null
RejectDifferentPayerDefaultfalseValue of rejectDifferentPayer when a Pix-QrDynamic doesn't set it

"value": null goes back to the default.

Proxies

Proxies are integration URLs linked to the merchant. List proxies and change one with {"url": "https://..."} (the field is url, not value). In Mimicr there are DepositWebhook and PaymentWebhook, stored and returned by the API.

Webhooks don't use the proxies: they always go to each intent's webhookUrl (deposit) or callBackUrl (payment). The PDF doesn't tie the proxies to any call, says the payload goes "to the URL you registered (webhookUrl on the deposit, callBackUrl on the payment)", and that URL is required on creation; without a URL, "no notification is sent". In the Mimicr console, the proxies are the default URL of the test intents and of the test webhook button.

Profile

bash
curl --url https://pay4fun.mimicr.dev/profile/api/v1 \
  --header 'Authorization: Bearer <token>'
json
{
  "id": "404dc4c2-806e-4f61-ba02-ccfd317f2a0e",
  "name": "Sua Org LTDA",
  "document": "37065435000124",
  "country": "BRA",
  "mainContactEmail": "contato@sua-org.exemplo.com",
  "developerEmail": "dev@sua-org.exemplo.com",
  "status": "ACTIVE",
  "createdAt": "2026-10-22T22:22:46Z",
  "updatedAt": "2026-10-22T22:22:46Z"
}

Update the profile changes only mainContactEmail and developerEmail (both required and valid). Name, document and country can't be edited through the API. Team contacts live in Contacts.

Reset credentials

bash
curl --request POST \
  --url https://pay4fun.mimicr.dev/profile/api/v1/credentials/reset \
  --header 'Authorization: Bearer <token>'

Generates a new clientSecret and answers 200 with no body. The operation is destructive and immediate: the previous secret stops working on /auth. At Pay4Fun the new secret goes by e-mail; in Mimicr read it from GET https://api.mimicr.dev/v1/pay4fun or the console.

Catalogs

  • List currencies and Get a currency: a global catalog, the same for everyone. In Mimicr: BRL, USD, EUR, GBP, ARS (no quote), CLP, COP (inactive), MXN, PEN (inactive) and JPY, with fixed rates.
  • List Pix participants: ISPB, COMPE code and name of the banks, for Pix-BankData.
  • Decode a QR Code: checks the receiver and amount of a copy-and-paste code before you pay it.