Addcredits

From SafeStamper API documentation
Jump to navigation Jump to search

This operation adds certification, navigation or signature credits to prepaid accounts.

URL

https://www.safestamper.com/api/addcredits

Parameters

  • sharedkey: Your API client shared key
  • authkey: Authorization key
  • certificates: Number of certification credits to add. Min value: 0.
  • navigations: Number of navigations credits to add. Min value: 0.
  • signeddocuments: Number of signature credits to add. Min value: 0.
  • signature: Parameters signature, as explained in Signature parameter

Returns

HTTP 200 OK

HTTP Errors

  • 400 Bad Request: some parameter is not valid
  • 401 Unauthorized: authkey is not valid
  • 403 Forbidden:
    • Sharedkey or signature is not valid
    • API client is not a partner

Example

REQUEST:

https://www.safestamper.com/api/addcredits
?authkey=8639e12a-810c-4c51-8a62-c1b0fcf58bfd&certificates=5&navigations=10&sharedkey=2w32i03wypba9l7ajyv8ukr23&signature=e8b20d43cdd8a596afa6122f4a31bbfeda54f7f0

RESPONSE:

HTTP 200 OK