Skip to main content

createPaymentIntentForPaymentOnAccount

Creates an unconfirmed Stripe PaymentIntent that becomes a payment on account after successful payment.

createPaymentIntentForPaymentOnAccount(
patientId: ID!
amount: Float!
date: Date
comment: String
metadata: [PaymentOnAccountIntentMetadataInput!]
): CreatePaymentIntentForPaymentOnAccountPayload!

Arguments

createPaymentIntentForPaymentOnAccount.patientId ● ID! non-null scalar

createPaymentIntentForPaymentOnAccount.amount ● Float! non-null scalar

Amount to charge in major currency units. Must be at least 1.

createPaymentIntentForPaymentOnAccount.date ● Date scalar

Payment date stored on the resulting payment on account. Defaults to now.

createPaymentIntentForPaymentOnAccount.comment ● String scalar

Comment stored on the resulting payment.

createPaymentIntentForPaymentOnAccount.metadata ● [PaymentOnAccountIntentMetadataInput!] list input

Partner metadata copied to Stripe and the resulting payment-on-account record.

Type

CreatePaymentIntentForPaymentOnAccountPayload object