Advertisement
Guest User

Untitled

a guest
Nov 18th, 2019
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.31 KB | None | 0 0
  1. Success Case Request:
  2. POST https://sandbox.silamoney.com/0.2/check_handle
  3. HTTP/1.1
  4. authsignature: 14d202d417aed249d693e5f3abc024d4c205b8fc3ba4067d83735ab19bd552852d6c42c4e0454835c3b31853451042bed81127fb71350a2542832601ea50caa71b
  5. Content-Type: application/json
  6. {
  7. "message":"header_msg",
  8. "header":
  9. {
  10. "auth_handle":"rally.silamoney.eth",
  11. "created":1574088699,
  12. "crypto":"ETH",
  13. "reference":"939770",
  14. "user_handle":"knabuser1.silamoney.eth",
  15. "version":"0.2"
  16. }
  17. }
  18.  
  19. Success Case Response:
  20.  
  21. {
  22. "message":"knabuser1 is available!",
  23. "reference":"939770",
  24. "status":"SUCCESS"
  25. }
  26.  
  27. Failure Case Request:
  28.  
  29. POST https://sandbox.silamoney.com/0.2/check_handle
  30. HTTP/1.1
  31. authsignature: 1fa690290908c2b9fdc8b02f651fc3d088685693cb8bee20f575451c9e55af0532579606faf6991ad02d14e37b0ee2ad9b0cb25de505953ebc8b0d2ec6bc7e851b
  32. Content-Type: application/json
  33. {
  34. "message":"header_msg",
  35. "header":
  36. {
  37. "auth_handle":"rally.silamoney.eth",
  38. "created":1574088821,
  39. "crypto":"ETH",
  40. "reference":"264567",
  41. "user_handle":"knabuser1.silamoney.eth",
  42. "version":"0.2"
  43. }
  44. }
  45.  
  46. Failure Case Response:
  47.  
  48. {
  49. "reference":"264567",
  50. "message":"Failed to authenticate app signature. The derived address 0x004d7a848D5f5dC40bbe902d7b078EF71e724b9E is not registered to rally.",
  51. "status":"FAILURE"
  52. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement