Manually Configuring Stripe Through the API

Modified on Wed, 12 Apr 2023 at 04:10 PM

In order to set up Stripe manually, you need to do the following:

Use the updateOrg mutation to modify the following:

  • stripeAccessToken - should be set to the value of Stripe Secret Key (sourced from Stripe Dashboard)

  • stripePublishableKey - should be set to the value of Stripe Publishable Key (sourced from Stripe Dashboard)

  • stripeUserId - should be set to DIRECT

 

You can then map location IDs in Stripe to your locations on Vetspire by using the updateLocation mutation and setting the following:

  • stripeLocationId - should be set to the respective location ID in Stripe

 

You also have the option of overriding the Org-level Stripe keys on the location (i.e. stripeAccessToken, stripePublishableKey, stripeUserId) - they will be used if available, otherwise, we will fall back to the Org values.



                   

Where to obtain these credentials:

               


See Stripe’s documentation for more details: API keys 

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article

https://support.vetspire.com/a/admin/portals/70000004548/themes