-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
enhancementNew feature or requestNew feature or requestwipExtra attention is neededExtra attention is needed
Description
Overview
Display API errors
Acceptance criteria
-
Display API error underneath related input field
-
Display generic API error above payment form
- When it's not related to any input field
Design
API specification
- The POST /pay endpoint
- Throws the following errors interface:
| Attribute | Type |
|---|---|
| scope | string(amount | bic ) |
| message | string |
- Multiple errors could be thrown at once
Errors response example
[
{ "scope": "amount", "message": "Missing amount" },
{ "scope": "bic", "message": "Missing BIC" },
]Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestwipExtra attention is neededExtra attention is needed
Projects
Status
Backlog