Zum Inhalt springen

createStripePaymentIntent

Create a Stripe PaymentIntent for the given public course.

Type: StripePaymentIntentResult!

Arguments

  • courseGuid: String! — GUID of the published course to pay for.
  • listingGuid: String
  • platformGuid: String
mutation($courseGuid: String!, $listingGuid: String, $platformGuid: String) {
createStripePaymentIntent(courseGuid: $courseGuid, listingGuid: $listingGuid, platformGuid: $platformGuid) {
amount
clientSecret
currency
errorMessage
paymentIntentId
publishableKey
success
}
}