Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TCC-13825 Conversions/Create Error Message Changes #32

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 18 additions & 6 deletions src/reference.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5311,12 +5311,24 @@ paths:
"GBP" }
- code: conversion_below_limit
category: amount
message: >-
Conversion of GBP equivalent 999.99 is less than your lower
limit of 1000.00
params: >-
{ "amount" => "999.99", "limit_amount" => "1000.00", "ccy" =>
"GBP" }
message: Conversion of GBP equivalent 999.99 is less than your lower limit of 1000.00
params: '{ "amount" => "999.99", "limit_amount" => "1000.00", "ccy" => "GBP" }'
- code: x-error-conversion_forward_not_enabled
category: limit
message: Sorry - you are currently only setup to trade up to 3 months forward. Please contact us if you want to change this.
params: ''
- code: x-error-conversion_above_forward_limit
category: amount
message: Sorry - your maximum trading limit up to 3 months forward is 20000.00 GBP. Please contact us if you want to change this.
params: '{ "limit_amount" => "20000.00", "ccy" => "GBP" }'
- code: x-error-conversion_upper_limit_not_set
category: limit
message: Trading is not enabled as your upper api trading limit has not been set - please contact us to set this for you.
params: ''
- code: x-error-conversion_lower_limit_not_set
category: limit
message: Trading is not enabled as your lower trading limit has not been set - please contact us to set this for you.
params: ''
- code: amount_type_is_wrong
category: amount
message: amount should be of numeric type
Expand Down