API Reference
Configurations

Update deposit methods

PUT/configurations/api/v1/deposit-methods
Base URL: https://pay4fun.mimicr.dev · provider: https://go.dev.pay4fun.com

Replaces the whole configuration, like payment methods. A disabled method makes creation answer 400 DEP-041.

Authorization

Bearer token in the Authorization: Bearer <token> header. See Authentication.

Body

application/json
depositMethodsobject[]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.

Example: false
codeintegerrequired

5001 resource not found, 2001 unprocessable input, 1001 validation error (in Mimicr), 4009 key already registered (in Mimicr).

Example: 5001
messagestringrequired

Error message.

Example: "Deposit intent not found."
401Missing, expired or invalid token. Empty body.