Advertisement
Guest User

Untitled

a guest
Aug 21st, 2019
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. Request:
  2. mutation CreateDeposit($input: PaymentsDepositInput!) {
  3. createDeposit(input: $input) {
  4. status
  5. redirectUrl
  6. errorMessage
  7. groupTransactionId
  8. fields
  9. }
  10. }
  11.  
  12. Variables:
  13. {
  14. "input": {
  15. "paymentProvider": "stripe",
  16. "amount": 100.0,
  17. "walletId": "48c9c868-a24a-4908-a8d8-40d05f1e120a",
  18. "currency": "EUR",
  19. "fields": {
  20. "paymentAccountId": "pm_1F9XFyJ0IKQZZQwZ0ozQ9SFB"
  21. },
  22. "processingUrl": "https://direct.fxpro.com/processing",
  23. "errorUrl": "https://direct.fxpro.com/error",
  24. "successUrl": "https://direct.fxpro.com/success"
  25. }
  26. }
  27.  
  28. Response:
  29. {
  30. "data": {
  31. "createDeposit": {
  32. "status": "error",
  33. "redirectUrl": "https://direct.fxpro.com/error",
  34. "errorMessage": "Errors happened during processing deposit",
  35. "groupTransactionId": null,
  36. "fields": null
  37. }
  38. },
  39. "requestId": "828ba8cc-4c0f-4605-afe4-065f99993958"
  40. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement