You could sue them for the $40 they should have paid you, under the theory of breach of contract (their violation of their part of the agreement, which was to pay you for the cake you made)--that's it; you can't get any additional or separate cancellation fee unless there was a written agreement signed by the customer detailing such fee. It is not likely ecnomically worthwhile to sue over $40, however.