Payment Sessions
Create a Payment Session Token when you want to accept money now. You can pass abankAccountId
to this mutation which determines which of the Firm’s Bank Accounts the money will be directed to. If you do not pass a bankAccountId
the Firm’s default operating account will be used.
Save Payment Method Session
Create a Save Payment Method Session Token when you want to save the payment details now, then use them to make a payment at a later date. You can optionally pass in aclientId
if you know which Client this Payment Method should be saved under.
You’ll need to add the Firm API Token as the
x-api-key
header for the request. x-api-key=f_secret_env_******
paymentToken
to your frontend to initialize the sdk.