Error with Decimal for .net

Checking in again @Alonso_Martinez - here is a topic that may help.

Separately, here is a Note from Rapyd Docs:

Note

  • Different languages handle Base-64 encoding differently. You must adequately test your code so that all messages are encoded with all the correct Base-64 options.
  • Python and JavaScript truncate the rightmost zeroes from decimal numbers (12.50 → 12.5), and convert decimals to integers when all digits to the right of the decimal are zero (12.00 → 12). This can sometimes cause issues with the calculation of the signature. If you use rightmost zeroes, you can avoid these problems by sending them as numeric strings instead of JSON numbers, for example, "12.50" or "12.00".
  • The body of a request must not contain any whitespace other than inside a string.
  • The value of a path parameter is a string without any quote marks (").
1 Like