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 payment methods
PUT
Base URL: /configurations/api/v1/payment-methodshttps://pay4fun.mimicr.dev · provider: https://go.dev.pay4fun.comReplaces the whole configuration: read the GET, change it and send the full list back. Sending a single item turns the others off. New transactions with a disabled method are refused during validation.
Authorization
Bearer token in the Authorization: Bearer <token> header. See Authentication.
Body
application/jsonpaymentMethodsobject[]required
Full list; methods left out are turned off.
Show child attributes
codestringrequired
Method code.
isEnabledbooleanrequired
Turns it on or off.
Responses
200Saved, no body.
400Missing list or unknown method.
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."