createPaymentIntent
SolvaPay SDK / next/src / createPaymentIntent
Function: createPaymentIntent()
createPaymentIntent(
request,body,options):Promise<NextResponse<unknown> | {accountId?:string;clientSecret:string;customerRef:string;id:string;publishableKey:string; }>
Defined in: packages/next/src/helpers/payment.ts:15
Parameters
request
Request
body
planRef
string
productRef
string
options
includeEmail?
boolean
includeName?
boolean
solvaPay?
Returns
Promise<NextResponse<unknown> | { accountId?: string; clientSecret: string; customerRef: string; id: string; publishableKey: string; }>