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
Update a flag
PUT
Base URL: /configurations/api/v1/flags/{id}https://pay4fun.mimicr.dev · provider: https://go.dev.pay4fun.comSets your value for a flag.
Authorization
Bearer token in the Authorization: Bearer <token> header. See Authentication.
Path parameters
idstring<uuid>required
Flag GUID, from the list.
Body
application/jsonvalueboolean | nullrequired
New value; null goes back to the default.
falseResponses
200Changed, no body.
400Invalid value.
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."401Missing, expired or invalid token. Empty body.
404Flag not found.
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."