Can't make /customers/add-charge/ work

luke's Avatar


20 Jan, 2010 09:39 PM

Good evening,
I can't get /customers/add-charge/ to work. Whatever I do, it always returns a 412 with an aux code of code:isEmpty even though several different types of codes are included.

Here's a sample curl command:

curl -X POST --data quantity=1 --data eachAmount=3.5 --data chargeCode=SPAM -u [redacted]

And the output:
<?xml version="1.0" encoding="UTF-8"?><error id="46921" code="412" auxCode="code:isEmpty">A value is required</error>

Note: I don't actually need this functionality. I'm just trying to make my wrapping code complete.


  1. Support Staff 1 Posted by Marc Guyer on 21 Jan, 2010 12:15 AM

    Marc Guyer's Avatar

    This was actually working in an undocumented way. chargeCode is correct. We've deployed a patch.

  2. Marc Guyer closed this discussion on 21 Jan, 2010 12:15 AM.

Discussions are closed to public comments.
If you need help with Cheddar please start a new discussion.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

28 Mar, 2024 10:45 PM
24 Jan, 2024 08:33 AM
11 Jan, 2024 07:13 AM
30 Nov, 2023 02:07 AM
22 Nov, 2023 08:41 AM