You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A java service that lets the user order/remove a credit card for their account. All the manufacturing and delivery will be handled by an unmonitored third party service. The card information is stored in the database.
# when deployed locally
https://localhost/swagger-ui/index.html
# when deployed with compose.dev.yaml
https://localhost:8091/swagger-ui/index.html
# when deployed with k8s
https://SOMEWHERE/credit-card-order-service/swagger-ui/index.html
Version endpoint is available at /version
Api v1
POST/v1/orders(Creates a new credit card order)
Parameters
name
type
data type
description
accountId
required
int
Account for which we create a credit card
email
required
string
Email to which notifications can be sent
name
required
string
Name to be printed on the card
shippingAddress
required
string
Address where the finished card will be shipped
cardLevel
required
string
Type of card. Can be one of: silver, gold, platinum