Advertisement
Guest User

Untitled

a guest
Oct 19th, 2019
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.12 KB | None | 0 0
  1. curl -i -X POST \
  2. -H "Content-Type:application/json" \
  3. -d \
  4. '{
  5. "request":{
  6. "order_id":"test8037875286",
  7. "order_desc":"Test payment",
  8. "currency":"RUB",
  9. "amount":"100",
  10. "rectoken":"WBeVLrkcdDlC8",
  11. "signature": "69f4eb2e95d3fda2d214b6c57f913f45a173691f",
  12. "merchant_id":"1"
  13. }
  14. }' \
  15. 'https://api.fondy.eu/api/recurring'
  16.  
  17.  
  18. curl -v -i -X POST \
  19. -H "Content-Type:application/json" \
  20. -d \
  21. '{
  22. "request":{
  23. "order_id":"test8037875286",
  24. "order_desc":"Test payment",
  25. "currency":"USD",
  26. "amount":"100",
  27. "verification":"Y",
  28. "signature":"07bc309047a56275f8d89ae222e2af0ceb94fe79",
  29. "merchant_id":"1"
  30. }
  31. }' \
  32. 'https://api.fondy.eu/api/checkout/redirect/'
  33.  
  34.  
  35. curl -v -i -X POST \
  36. -H "Content-Type:application/json" \
  37. -d \
  38. ' {
  39. "request": {
  40. "response_url": "https://api.fondy.eu/responsepage/",
  41. "order_id": "test8037875286",
  42. "order_desc": "Test payment",
  43. "currency": "RUB",
  44. "amount": "100",
  45. "signature": "07bc309047a56275f8d89ae222e2af0ceb94fe79",
  46. "merchant_id": "1"
  47. }
  48. }' \
  49. 'https://api.fondy.eu/api/checkout/url/'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement