Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add provider for Payfit #485

Merged
merged 1 commit into from
Apr 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions docs/docs/providers/payfit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
sidebar_label: Payfit
---

# Payfit API wiki

:::note Working with the Payfit API?
Please add your learnings, favorite links and gotchas here by [editing this page](https://github.com/nangohq/nango/tree/master/docs/docs/providers/payfit.md).

:::

## Using Payfit with Nango

Provider template name in Nango: `payfit`
Follow our [quickstart](../quickstart.md) to add an OAuth integration with Payfit in 5 minutes.

## App registration & publishing

**Rating: `Easy & fast`**
Registering an app takes only a few minutes, and you can start building immediately: [App registration docs](https://developers.payfit.io/docs/quickstart-guide#2%EF%B8%8F%E2%83%A3-become-a-payfit-partner)


## Useful links

- [How to register an Application](https://developers.payfit.io/docs/quickstart-guide#2%EF%B8%8F%E2%83%A3-become-a-payfit-partner)
- [OAuth-related docs](https://developers.payfit.io/docs/implementing-the-oauth2-flow)
- [List of OAuth scopes](https://developers.payfit.io/docs/scopes-2)

## API specific gotchas

- Payfit does not return a refresh token, you will have to reauthorize the user again.
1 change: 1 addition & 0 deletions docs/sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ const sidebars = {
'providers/notion',
'providers/outreach',
'providers/pagerduty',
'providers/payfit',
'providers/pipedrive',
'providers/qualtrics',
'providers/quickbooks',
Expand Down
8 changes: 8 additions & 0 deletions packages/server/providers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,14 @@ pagerduty:
auth_mode: OAUTH2
authorization_url: https://app.pagerduty.com/oauth/authorize
token_url: https://app.pagerduty.com/oauth/token
payfit:
auth_mode: OAUTH2
authorization_url: https://oauth.payfit.com/authorize
token_url: https://app.pagerduty.com/oauth/token
authorization_params:
response_type: code
token_params:
grant_type: authorization_code
pipedrive:
auth_mode: OAUTH2
authorization_url: https://oauth.pipedrive.com/oauth/authorize
Expand Down