Prototype payment method for a creation form
POST/api/v2/payment-methods/new
Returns a non-persisted payment method pre-populated with backend defaults (current company, next free code, enabled=true, ledger posting enabled, usable for incoming documents). Optional JSON hints: companyId, copyFromId. Call POST /api/v2/payment-methods to persist.
Request
Responses
- 200
- 400
- 401
- 403
- 500
Payment method prototype with defaults
Invalid prepare-create hints
Missing or invalid JWT (Bearer token).
Authenticated user is missing the CREAR_FORMASDEPAGO permission
Unexpected server error. Includes legacy WAR failures that are not classified as 502 / 503 / 504.