Guest User

Untitled

a guest
Jul 17th, 2018
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.09 KB | None | 0 0
  1. query ListPaymentSources {
  2. paymentCard {
  3. cardType
  4. cardNumber
  5. expiryMonth
  6. expiryYear
  7. }
  8.  
  9. paymentBankAccounts {
  10. bankName
  11. accountName
  12. accountType
  13. accountNumber
  14. routingNumber
  15. }
  16. }
  17.  
  18. input AddressInput {
  19. address1: String!
  20. address2: String
  21. city: String!
  22. state: String!
  23. zip: String!
  24. country: String!
  25. }
  26.  
  27. input UserInput {
  28. id: ID!
  29. firstName: String!
  30. middleInitial: String
  31. lastName: String!
  32. phoneNumber: String!
  33. email: String!
  34. address: AddressInput!
  35. ssn: String
  36. dob: String
  37. }
  38.  
  39. input CardInput {
  40. nameOnCard: String!
  41. cardNumber: String!
  42. expiryMonth: String!
  43. expiryYear: String!
  44. cvv: String!
  45. billingAddress: AddressInput!
  46. }
  47.  
  48. input IdentityCheckAnswerInput {
  49. questionType: String!
  50. questionAnswer: String!
  51. }
  52.  
  53. input IdentityCheckAnswersInput {
  54. requestToken: String!
  55. identityCheckAnswers: [IdentityCheckAnswerInput!]!
  56. }
  57.  
  58. input UserPaymentCardSaveInput {
  59. user: UserInput!
  60. card: CardInput!
  61. identityCheckAnswers: IdentityCheckAnswersInput
  62. }
  63.  
  64. input UserPaymentCardSaveSubscribeInput {
  65. clientSubscriptionId: ID
  66. }
  67.  
  68. type IdentityCheckQuestion {
  69. questionPrompt: String!
  70. questionType: String!
  71. answers: [String]
  72. }
  73.  
  74. type InvalidFieldError {
  75. path: String!
  76. message: String
  77. }
  78.  
  79. type SuccessResponse {
  80. message: String!
  81. }
  82. type ReviewKycError {
  83. message: String!
  84. }
  85. type BlacklistError {
  86. message: String!
  87. }
  88. type ApiError {
  89. message: String!
  90. }
  91. type AdditionalQuestionsError {
  92. message: String!
  93. responseToken: String!
  94. questions: [IdentityCheckQuestion!]!
  95. }
  96. type ValidationError {
  97. message: String!
  98. invalidFields: [InvalidFieldError!]!
  99. }
  100. union UserPaymentCardSaveSubscriptionResponse =
  101. SuccessResponse
  102. | ReviewKycError
  103. | BlacklistError
  104. | ApiError
  105. | AdditionalQuestionsError
  106. | ValidationError
  107.  
  108. type Mutation {
  109. userPaymentCardSaveMutation(input: UserPaymentCardSaveInput!): UserPaymentCardSaveSubscribeInput!
  110. }
  111.  
  112. type Subscription {
  113. userPaymentCardSaveSubscription(input: UserPaymentCardSaveSubscribeInput!): UserPaymentCardSaveSubscriptionResponse!
  114. }
  115.  
  116. schema {
  117. query: ListPaymentSources
  118. mutation: Mutation
  119. subscription: Subscription
  120. }
Add Comment
Please, Sign In to add comment