API Reference
Configurations

Update payment methods

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

Replaces 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/json
paymentMethodsobject[]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.