Created
July 18, 2019 21:40
-
-
Save maxchehab/1fbf9f8f7db67ea8ed69297de66a0a8d to your computer and use it in GitHub Desktop.
stripe intro w/ mutation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"data": { | |
"__schema": { | |
"directives": [ | |
{ | |
"name": "include", | |
"description": "Directs the executor to include this field or fragment only when the `if` argument is true." | |
}, | |
{ | |
"name": "skip", | |
"description": "Directs the executor to skip this field or fragment when the `if` argument is true." | |
}, | |
{ | |
"name": "deprecated", | |
"description": "Marks an element of a GraphQL schema as no longer supported." | |
} | |
], | |
"subscriptionType": null, | |
"types": [ | |
{ | |
"name": "Boolean", | |
"description": "Represents `true` or `false` values." | |
}, | |
{ | |
"name": "String", | |
"description": "Represents textual data as UTF-8 character sequences. This type is most often used by GraphQL to represent free-form human-readable text." | |
}, | |
{ | |
"name": "Query", | |
"description": "The query root of this schema" | |
}, | |
{ | |
"name": "User", | |
"description": null | |
}, | |
{ | |
"name": "UnauthedMerchant", | |
"description": "This is an unautheticated representation of a merchant, used by the Dashboard account switcher" | |
}, | |
{ | |
"name": "Merchant", | |
"description": null | |
}, | |
{ | |
"name": "BalanceSummary", | |
"description": "This is an object representing your Stripe balance. You can retrieve it to see the balance currently on your Stripe account." | |
}, | |
{ | |
"name": "Int", | |
"description": "Represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1." | |
}, | |
{ | |
"name": "CheckoutSettings", | |
"description": null | |
}, | |
{ | |
"name": "TestDataCountRow", | |
"description": null | |
}, | |
{ | |
"name": "SigmaPlan", | |
"description": "This object describes the plan details of your Sigma subscription." | |
}, | |
{ | |
"name": "SigmaPlanStatusEnum", | |
"description": null | |
}, | |
{ | |
"name": "CustomerList", | |
"description": null | |
}, | |
{ | |
"name": "Customer", | |
"description": "`Customer` objects allow you to perform recurring charges, and to track\nmultiple charges, that are associated with the same customer. The API allows\nyou to create, delete, and update your customers. You can retrieve individual\ncustomers as well as a list of all your customers.\n" | |
}, | |
{ | |
"name": "CardPaymentMethod", | |
"description": null | |
}, | |
{ | |
"name": "BillingDetails", | |
"description": null | |
}, | |
{ | |
"name": "BillingDetailsAddress", | |
"description": null | |
}, | |
{ | |
"name": "PaymentMethodCard", | |
"description": null | |
}, | |
{ | |
"name": "PaymentMethodCardChecks", | |
"description": null | |
}, | |
{ | |
"name": "PaymentMethodCardWallet", | |
"description": null | |
}, | |
{ | |
"name": "Discount", | |
"description": null | |
}, | |
{ | |
"name": "InvoiceSettings", | |
"description": null | |
}, | |
{ | |
"name": "Invoicing", | |
"description": null | |
}, | |
{ | |
"name": "Address", | |
"description": null | |
}, | |
{ | |
"name": "Shipping", | |
"description": null | |
}, | |
{ | |
"name": "Source", | |
"description": null | |
}, | |
{ | |
"name": "Float", | |
"description": "Represents signed double-precision fractional values as specified by [IEEE 754](http://en.wikipedia.org/wiki/IEEE_floating_point)." | |
}, | |
{ | |
"name": "SourceReceiver", | |
"description": null | |
}, | |
{ | |
"name": "DeprecatedSourceCard", | |
"description": null | |
}, | |
{ | |
"name": "ThreeDSecureMetadataForSourceCard", | |
"description": null | |
}, | |
{ | |
"name": "SubscriptionsList", | |
"description": null | |
}, | |
{ | |
"name": "TaxInfo", | |
"description": null | |
}, | |
{ | |
"name": "TaxIdList", | |
"description": null | |
}, | |
{ | |
"name": "TaxId", | |
"description": null | |
}, | |
{ | |
"name": "TaxIdVerification", | |
"description": null | |
}, | |
{ | |
"name": "ListCountSpecificity", | |
"description": null | |
}, | |
{ | |
"name": "CustomerFiltersInput", | |
"description": null | |
}, | |
{ | |
"name": "RangeQueryInput", | |
"description": null | |
}, | |
{ | |
"name": "PaginationInput", | |
"description": null | |
}, | |
{ | |
"name": "TaxRateList", | |
"description": null | |
}, | |
{ | |
"name": "TaxRate", | |
"description": null | |
}, | |
{ | |
"name": "CreatedReasonEnum", | |
"description": null | |
}, | |
{ | |
"name": "CreatedByTaxPartnerEnum", | |
"description": null | |
}, | |
{ | |
"name": "TaxRateFiltersInput", | |
"description": null | |
}, | |
{ | |
"name": "TaxPartnerIntegrationsList", | |
"description": null | |
}, | |
{ | |
"name": "TaxPartnerIntegration", | |
"description": null | |
}, | |
{ | |
"name": "ProductList", | |
"description": null | |
}, | |
{ | |
"name": "ProductFiltersInput", | |
"description": null | |
}, | |
{ | |
"name": "EmailDomain", | |
"description": null | |
}, | |
{ | |
"name": "EmailDomainStatusEnum", | |
"description": null | |
}, | |
{ | |
"name": "DNSRecord", | |
"description": null | |
}, | |
{ | |
"name": "PlatformProfileStatusEnum", | |
"description": null | |
}, | |
{ | |
"name": "PlatformProfileJudgementEnum", | |
"description": null | |
}, | |
{ | |
"name": "UserRole", | |
"description": null | |
}, | |
{ | |
"name": "SCADashboardUsageDatum", | |
"description": null | |
}, | |
{ | |
"name": "JSONObject", | |
"description": "\n A scalar type that indicates a field that will return a JSON object\n directly in the response. Note that it's an object, not a JSON string, so\n you don't need to parse it. For example, the query:\n\n ```\n # schema\n type Query { field: JSONObjectType }\n\n # query\n query { field }\n ```\n\n Can return:\n\n ```\n { field: { key: value, otherKey: ['somearray'] } }\n ```\n\n Or any other valid JSON output under that key.\n " | |
}, | |
{ | |
"name": "ExternalAccountCard", | |
"description": null | |
}, | |
{ | |
"name": "InstantPayoutFeePlan", | |
"description": null | |
}, | |
{ | |
"name": "ChargebackProtectionSettings", | |
"description": null | |
}, | |
{ | |
"name": "CheckoutSummary", | |
"description": null | |
}, | |
{ | |
"name": "PaymentPageItemUnion", | |
"description": null | |
}, | |
{ | |
"name": "PaymentPagePlanItem", | |
"description": null | |
}, | |
{ | |
"name": "PlanIntervalEnum", | |
"description": null | |
}, | |
{ | |
"name": "PaymentPageSkuItem", | |
"description": null | |
}, | |
{ | |
"name": "PaymentPageLineItem", | |
"description": null | |
}, | |
{ | |
"name": "PaymentPageSubscriptionDataItem", | |
"description": null | |
}, | |
{ | |
"name": "Charge", | |
"description": null | |
}, | |
{ | |
"name": "Refund", | |
"description": null | |
}, | |
{ | |
"name": "Payout", | |
"description": null | |
}, | |
{ | |
"name": "BulkAction", | |
"description": null | |
}, | |
{ | |
"name": "ManageJobStatus", | |
"description": null | |
}, | |
{ | |
"name": "Reporting", | |
"description": "Financial reporting endpoint data" | |
}, | |
{ | |
"name": "ReportType", | |
"description": "The Report Run object represents an instance of a report type generated with specific run parameters." | |
}, | |
{ | |
"name": "StatementsMetadata", | |
"description": "Metadata for the Statements page, such as currency lists" | |
}, | |
{ | |
"name": "ReportingDownloadPreference", | |
"description": "Most recent download preferences for a given merchant, user, and report type" | |
}, | |
{ | |
"name": "LogItem", | |
"description": null | |
}, | |
{ | |
"name": "HomeOnboardingTaskListStatus", | |
"description": "The name and status of the task list that should be shown on the Home onboarding task list" | |
}, | |
{ | |
"name": "PreferredIntegrationEnum", | |
"description": null | |
}, | |
{ | |
"name": "OnboardingTaskListNameEnum", | |
"description": null | |
}, | |
{ | |
"name": "OnboardingTaskListStatusEnum", | |
"description": null | |
}, | |
{ | |
"name": "ManageTags", | |
"description": null | |
}, | |
{ | |
"name": "MerchantTags", | |
"description": null | |
}, | |
{ | |
"name": "VolumeTierEnum", | |
"description": null | |
}, | |
{ | |
"name": "VolumeRankEnum", | |
"description": null | |
}, | |
{ | |
"name": "CompanyProfileEnum", | |
"description": null | |
}, | |
{ | |
"name": "TaskListStatus", | |
"description": "The name and status of a task list" | |
}, | |
{ | |
"name": "TaskListNameEnum", | |
"description": null | |
}, | |
{ | |
"name": "TaskListStatusEnum", | |
"description": null | |
}, | |
{ | |
"name": "WorksWithListing", | |
"description": "The partner app listings shown on the stripe.com/works-with page" | |
}, | |
{ | |
"name": "WorksWithListingIntegrationTypeEnum", | |
"description": null | |
}, | |
{ | |
"name": "WorksWithListingCategoryEnum", | |
"description": null | |
}, | |
{ | |
"name": "WelcomeState", | |
"description": "A merchant's welcome state created during onboarding" | |
}, | |
{ | |
"name": "WelcomeStatePreferredIntegration", | |
"description": null | |
}, | |
{ | |
"name": "SelectedApp", | |
"description": "A merchant's selected app during onboarding, either a works with listing or a rogue app (freeform input from merchant)" | |
}, | |
{ | |
"name": "NotificationIncident", | |
"description": null | |
}, | |
{ | |
"name": "LocalizedText", | |
"description": null | |
}, | |
{ | |
"name": "SigmaQuery", | |
"description": "This represents a single query executed in Sigma." | |
}, | |
{ | |
"name": "SigmaQueryStatus", | |
"description": null | |
}, | |
{ | |
"name": "SigmaQueryVia", | |
"description": null | |
}, | |
{ | |
"name": "SigmaQueryResult", | |
"description": "Result of a Sigma query." | |
}, | |
{ | |
"name": "SigmaQueryResultColumn", | |
"description": "Column name and type of a Sigma query result." | |
}, | |
{ | |
"name": "SigmaQueryError", | |
"description": "Things that may go wrong with a Sigma query." | |
}, | |
{ | |
"name": "SigmaQuerySQLError", | |
"description": "There is an error in the SQL of the query." | |
}, | |
{ | |
"name": "SigmaQueryExecutionError", | |
"description": "An execution error occurred for this query." | |
}, | |
{ | |
"name": "SigmaQueryUnknownError", | |
"description": "An unknown error occurred when executing the query." | |
}, | |
{ | |
"name": "UserMigrationQuestion", | |
"description": "A question (and its answer) used during a user migration to help better understand our users and their needs" | |
}, | |
{ | |
"name": "UserMigrationTokenEnum", | |
"description": null | |
}, | |
{ | |
"name": "UserMigrationQuestionNameEnum", | |
"description": null | |
}, | |
{ | |
"name": "UserMigrationAnswerTypeEnum", | |
"description": null | |
}, | |
{ | |
"name": "UserMigrationQuestionAnswerEnum", | |
"description": null | |
}, | |
{ | |
"name": "SearchResultList", | |
"description": null | |
}, | |
{ | |
"name": "SearchResult", | |
"description": null | |
}, | |
{ | |
"name": "ConnectedAccount", | |
"description": "A connected account as returned by the /v1/search endpoint" | |
}, | |
{ | |
"name": "ConnectedAccountCompany", | |
"description": null | |
}, | |
{ | |
"name": "ConnectedAccountBusinessProfile", | |
"description": null | |
}, | |
{ | |
"name": "ConnectedAccountIndividual", | |
"description": null | |
}, | |
{ | |
"name": "ConnectedAccountCapabilities", | |
"description": null | |
}, | |
{ | |
"name": "ConnectedAccountCapabilityStatusEnum", | |
"description": null | |
}, | |
{ | |
"name": "Coupon", | |
"description": null | |
}, | |
{ | |
"name": "Invoice", | |
"description": null | |
}, | |
{ | |
"name": "InvoiceBillingEnum", | |
"description": null | |
}, | |
{ | |
"name": "InvoicePaymentIntent", | |
"description": null | |
}, | |
{ | |
"name": "PaymentIntentStatusEnum", | |
"description": null | |
}, | |
{ | |
"name": "InvoiceStatusResultEnum", | |
"description": null | |
}, | |
{ | |
"name": "InvoiceSubscriptionStatusEnum", | |
"description": null | |
}, | |
{ | |
"name": "InvoiceItem", | |
"description": null | |
}, | |
{ | |
"name": "IssuingAuthorization", | |
"description": null | |
}, | |
{ | |
"name": "IssuingCard", | |
"description": null | |
}, | |
{ | |
"name": "IssuingCardholder", | |
"description": null | |
}, | |
{ | |
"name": "IssuingTransaction", | |
"description": null | |
}, | |
{ | |
"name": "Order", | |
"description": null | |
}, | |
{ | |
"name": "Payment", | |
"description": null | |
}, | |
{ | |
"name": "Dispute", | |
"description": null | |
}, | |
{ | |
"name": "DisputeStatusEnum", | |
"description": null | |
}, | |
{ | |
"name": "ChargeOutcome", | |
"description": null | |
}, | |
{ | |
"name": "ChargeDisputeProtectionResult", | |
"description": null | |
}, | |
{ | |
"name": "Refunds", | |
"description": null | |
}, | |
{ | |
"name": "PaymentIntent", | |
"description": null | |
}, | |
{ | |
"name": "PaymentIntentCancellationReasonEnum", | |
"description": null | |
}, | |
{ | |
"name": "PaymentIntentCharges", | |
"description": null | |
}, | |
{ | |
"name": "Plan", | |
"description": null | |
}, | |
{ | |
"name": "ProductTier", | |
"description": null | |
}, | |
{ | |
"name": "TransformUsage", | |
"description": null | |
}, | |
{ | |
"name": "Product", | |
"description": null | |
}, | |
{ | |
"name": "Sku", | |
"description": null | |
}, | |
{ | |
"name": "Recipient", | |
"description": null | |
}, | |
{ | |
"name": "Transfer", | |
"description": null | |
}, | |
{ | |
"name": "MysterySearchResult", | |
"description": null | |
}, | |
{ | |
"name": "SearchOptionsInput", | |
"description": null | |
}, | |
{ | |
"name": "Notice", | |
"description": null | |
}, | |
{ | |
"name": "WebsiteChecklist", | |
"description": "Status of website checklist items that need review" | |
}, | |
{ | |
"name": "WebsiteSettings", | |
"description": null | |
}, | |
{ | |
"name": "RichItemConnectedAccount", | |
"description": "A connected account and its balance" | |
}, | |
{ | |
"name": "RichItemConnectedAccountBalance", | |
"description": null | |
}, | |
{ | |
"name": "ConnectedAccountList", | |
"description": null | |
}, | |
{ | |
"name": "ConnectedAccountFilterInput", | |
"description": null | |
}, | |
{ | |
"name": "ConnectedAccountIntRangeFilterInput", | |
"description": "Integer range input" | |
}, | |
{ | |
"name": "ConnectedAccountCapabilityInput", | |
"description": null | |
}, | |
{ | |
"name": "ConnectedAccountCapabilityNameEnum", | |
"description": null | |
}, | |
{ | |
"name": "ConnectedAccountCountryEnum", | |
"description": null | |
}, | |
{ | |
"name": "ConnectedAccountDisabledReasonEnum", | |
"description": null | |
}, | |
{ | |
"name": "ConnectedAccountIdentityVerificationStatusEnum", | |
"description": null | |
}, | |
{ | |
"name": "ConnectedAccountStatusEnum", | |
"description": null | |
}, | |
{ | |
"name": "ConnectedAccountTypeEnum", | |
"description": null | |
}, | |
{ | |
"name": "JSONSearchList", | |
"description": null | |
}, | |
{ | |
"name": "TimeSeriesMetric", | |
"description": "The time series data for a metric organized by buckets" | |
}, | |
{ | |
"name": "TimeSeriesMetricDatum", | |
"description": "A single datum point for a time series metric" | |
}, | |
{ | |
"name": "StripeCLIDevice", | |
"description": null | |
}, | |
{ | |
"name": "StripeCLIAuthenticationToken", | |
"description": null | |
}, | |
{ | |
"name": "ReservePlan", | |
"description": null | |
}, | |
{ | |
"name": "ReservePlanTypeEnum", | |
"description": null | |
}, | |
{ | |
"name": "Mutation", | |
"description": "The mutations in this schema" | |
}, | |
{ | |
"name": "StartDeleteTestDataJobPayload", | |
"description": null | |
}, | |
{ | |
"name": "UpdateCustomerInput", | |
"description": null | |
}, | |
{ | |
"name": "UpdateCustomerAddressInput", | |
"description": null | |
}, | |
{ | |
"name": "UpdateCustomerShippingInput", | |
"description": null | |
}, | |
{ | |
"name": "UpdateCustomerTaxInfoInput", | |
"description": null | |
}, | |
{ | |
"name": "UpdateCustomerInvoiceInput", | |
"description": null | |
}, | |
{ | |
"name": "CreateTaxIdInput", | |
"description": null | |
}, | |
{ | |
"name": "PaymentMethod", | |
"description": null | |
}, | |
{ | |
"name": "UpdatePaymentMethodInput", | |
"description": null | |
}, | |
{ | |
"name": "UpdatePaymentMethodCardInput", | |
"description": null | |
}, | |
{ | |
"name": "UpdatePaymentMethodBillingDetailsInput", | |
"description": null | |
}, | |
{ | |
"name": "UpdatePaymentMethodAddressInput", | |
"description": null | |
}, | |
{ | |
"name": "DeletedTaxId", | |
"description": null | |
}, | |
{ | |
"name": "CreateTaxLookupCredentialsInput", | |
"description": null | |
}, | |
{ | |
"name": "UpdateTaxLookupCredentialsInput", | |
"description": null | |
}, | |
{ | |
"name": "EmailDomainMutations", | |
"description": null | |
}, | |
{ | |
"name": "EmailDomainValidateOutput", | |
"description": null | |
}, | |
{ | |
"name": "EmailDomainValidateResultCodeEnum", | |
"description": null | |
}, | |
{ | |
"name": "EmailDomainAddOutput", | |
"description": null | |
}, | |
{ | |
"name": "EmailDomainAddResultCodeEnum", | |
"description": null | |
}, | |
{ | |
"name": "EmailDomainRemoveOutput", | |
"description": null | |
}, | |
{ | |
"name": "EmailDomainRemoveResultCodeEnum", | |
"description": null | |
}, | |
{ | |
"name": "EmailDomainSetSendingOutput", | |
"description": null | |
}, | |
{ | |
"name": "EmailDomainSetSendingResultCodeEnum", | |
"description": null | |
}, | |
{ | |
"name": "EmailDomainSubmitRecordsOutput", | |
"description": null | |
}, | |
{ | |
"name": "EmailDomainSubmitRecordsResultCodeEnum", | |
"description": null | |
}, | |
{ | |
"name": "EmailDomainRecordValidation", | |
"description": null | |
}, | |
{ | |
"name": "EmailDomainRecordValidationStatusEnum", | |
"description": null | |
}, | |
{ | |
"name": "EmailDomainSendTestEmailOutput", | |
"description": null | |
}, | |
{ | |
"name": "EmailDomainSendTestEmailResultCodeEnum", | |
"description": null | |
}, | |
{ | |
"name": "NoticeMutations", | |
"description": null | |
}, | |
{ | |
"name": "NoticeDismissResult", | |
"description": null | |
}, | |
{ | |
"name": "NoticeDismissResultCodeEnum", | |
"description": null | |
}, | |
{ | |
"name": "ActivateSigmaPayload", | |
"description": null | |
}, | |
{ | |
"name": "ActivateSigmaResponseEnum", | |
"description": null | |
}, | |
{ | |
"name": "SetAllowDashboardPayments", | |
"description": null | |
}, | |
{ | |
"name": "TaskListTask", | |
"description": "An instance of a task within a task list" | |
}, | |
{ | |
"name": "TaskNameEnum", | |
"description": null | |
}, | |
{ | |
"name": "TaskStatusEnum", | |
"description": null | |
}, | |
{ | |
"name": "TaskListTaskMetadata", | |
"description": "Metadata for the task" | |
}, | |
{ | |
"name": "CliAuthenticationTokenRedemption", | |
"description": null | |
}, | |
{ | |
"name": "CreatePQTicketPayload", | |
"description": null | |
}, | |
{ | |
"name": "__Schema", | |
"description": "A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations." | |
}, | |
{ | |
"name": "__Type", | |
"description": "The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name and description, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types." | |
}, | |
{ | |
"name": "__Field", | |
"description": "Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type." | |
}, | |
{ | |
"name": "__Directive", | |
"description": "A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n\nIn some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor." | |
}, | |
{ | |
"name": "__EnumValue", | |
"description": "One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string." | |
}, | |
{ | |
"name": "__InputValue", | |
"description": "Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value." | |
}, | |
{ | |
"name": "__TypeKind", | |
"description": "An enum describing what kind of type a given `__Type` is." | |
}, | |
{ | |
"name": "__DirectiveLocation", | |
"description": "A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies." | |
} | |
], | |
"queryType": { | |
"name": "Query", | |
"description": "The query root of this schema" | |
}, | |
"mutationType": { | |
"name": "Mutation", | |
"description": "The mutations in this schema" | |
} | |
} | |
}, | |
"errors": null | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment