Their API documentation is very specific, the code you posted doesn't match their signature definition.
In reply to Re^4: Invalid nonce by marto in thread Invalid nonce by frank1