Create a Plaid Link token
curl --request POST \
--url http://localhost:3000/v1/integrations/plaid/link-token \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('http://localhost:3000/v1/integrations/plaid/link-token', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "http://localhost:3000/v1/integrations/plaid/link-token"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "http://localhost:3000/v1/integrations/plaid/link-token"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"data": {}
}{
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"suggestion": "<string>",
"request_id": "<string>",
"resource_type": "<string>",
"resource_id": "<string>",
"retry_after_seconds": 123,
"validation_errors": [
{
"param": "<string>",
"message": "<string>",
"code": "<string>"
}
]
}
}{
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"suggestion": "<string>",
"request_id": "<string>",
"resource_type": "<string>",
"resource_id": "<string>",
"retry_after_seconds": 123,
"validation_errors": [
{
"param": "<string>",
"message": "<string>",
"code": "<string>"
}
]
}
}{
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"suggestion": "<string>",
"request_id": "<string>",
"resource_type": "<string>",
"resource_id": "<string>",
"retry_after_seconds": 123,
"validation_errors": [
{
"param": "<string>",
"message": "<string>",
"code": "<string>"
}
]
}
}{
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"suggestion": "<string>",
"request_id": "<string>",
"resource_type": "<string>",
"resource_id": "<string>",
"retry_after_seconds": 123,
"validation_errors": [
{
"param": "<string>",
"message": "<string>",
"code": "<string>"
}
]
}
}{
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"suggestion": "<string>",
"request_id": "<string>",
"resource_type": "<string>",
"resource_id": "<string>",
"retry_after_seconds": 123,
"validation_errors": [
{
"param": "<string>",
"message": "<string>",
"code": "<string>"
}
]
}
}{
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"suggestion": "<string>",
"request_id": "<string>",
"resource_type": "<string>",
"resource_id": "<string>",
"retry_after_seconds": 123,
"validation_errors": [
{
"param": "<string>",
"message": "<string>",
"code": "<string>"
}
]
}
}{
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"suggestion": "<string>",
"request_id": "<string>",
"resource_type": "<string>",
"resource_id": "<string>",
"retry_after_seconds": 123,
"validation_errors": [
{
"param": "<string>",
"message": "<string>",
"code": "<string>"
}
]
}
}Integrations
Create a Plaid Link token
POST
/
v1
/
integrations
/
plaid
/
link-token
Create a Plaid Link token
curl --request POST \
--url http://localhost:3000/v1/integrations/plaid/link-token \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('http://localhost:3000/v1/integrations/plaid/link-token', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "http://localhost:3000/v1/integrations/plaid/link-token"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "http://localhost:3000/v1/integrations/plaid/link-token"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"data": {}
}{
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"suggestion": "<string>",
"request_id": "<string>",
"resource_type": "<string>",
"resource_id": "<string>",
"retry_after_seconds": 123,
"validation_errors": [
{
"param": "<string>",
"message": "<string>",
"code": "<string>"
}
]
}
}{
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"suggestion": "<string>",
"request_id": "<string>",
"resource_type": "<string>",
"resource_id": "<string>",
"retry_after_seconds": 123,
"validation_errors": [
{
"param": "<string>",
"message": "<string>",
"code": "<string>"
}
]
}
}{
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"suggestion": "<string>",
"request_id": "<string>",
"resource_type": "<string>",
"resource_id": "<string>",
"retry_after_seconds": 123,
"validation_errors": [
{
"param": "<string>",
"message": "<string>",
"code": "<string>"
}
]
}
}{
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"suggestion": "<string>",
"request_id": "<string>",
"resource_type": "<string>",
"resource_id": "<string>",
"retry_after_seconds": 123,
"validation_errors": [
{
"param": "<string>",
"message": "<string>",
"code": "<string>"
}
]
}
}{
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"suggestion": "<string>",
"request_id": "<string>",
"resource_type": "<string>",
"resource_id": "<string>",
"retry_after_seconds": 123,
"validation_errors": [
{
"param": "<string>",
"message": "<string>",
"code": "<string>"
}
]
}
}{
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"suggestion": "<string>",
"request_id": "<string>",
"resource_type": "<string>",
"resource_id": "<string>",
"retry_after_seconds": 123,
"validation_errors": [
{
"param": "<string>",
"message": "<string>",
"code": "<string>"
}
]
}
}{
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"suggestion": "<string>",
"request_id": "<string>",
"resource_type": "<string>",
"resource_id": "<string>",
"retry_after_seconds": 123,
"validation_errors": [
{
"param": "<string>",
"message": "<string>",
"code": "<string>"
}
]
}
}