Create processor token
curl --request POST \
--url https://api-sb.meld.io/bank-linking/accounts/{financialAccountId}/processors/create-token \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"processor": "ACHQ"
}
'import requests
url = "https://api-sb.meld.io/bank-linking/accounts/{financialAccountId}/processors/create-token"
payload = { "processor": "ACHQ" }
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({processor: 'ACHQ'})
};
fetch('https://api-sb.meld.io/bank-linking/accounts/{financialAccountId}/processors/create-token', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-sb.meld.io/bank-linking/accounts/{financialAccountId}/processors/create-token",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'processor' => 'ACHQ'
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api-sb.meld.io/bank-linking/accounts/{financialAccountId}/processors/create-token"
payload := strings.NewReader("{\n \"processor\": \"ACHQ\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api-sb.meld.io/bank-linking/accounts/{financialAccountId}/processors/create-token")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"processor\": \"ACHQ\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-sb.meld.io/bank-linking/accounts/{financialAccountId}/processors/create-token")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"processor\": \"ACHQ\"\n}"
response = http.request(request)
puts response.read_body{
"processor": "ACHQ",
"serviceProvider": "FINICITY",
"token": "<string>"
}{
"code": "<string>",
"displayMessage": "<string>",
"errors": [
"<string>"
],
"message": "<string>",
"requestId": "<string>",
"serviceProviderDetails": {},
"timestamp": "2023-11-07T05:31:56Z"
}Accounts
Create processor token
The token is used by the processor to access the information on this account via a service provider. Depending on the service provider and/or processor, this token represents whatever token/code/key is needed to provide access.
POST
/
bank-linking
/
accounts
/
{financialAccountId}
/
processors
/
create-token
Create processor token
curl --request POST \
--url https://api-sb.meld.io/bank-linking/accounts/{financialAccountId}/processors/create-token \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"processor": "ACHQ"
}
'import requests
url = "https://api-sb.meld.io/bank-linking/accounts/{financialAccountId}/processors/create-token"
payload = { "processor": "ACHQ" }
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({processor: 'ACHQ'})
};
fetch('https://api-sb.meld.io/bank-linking/accounts/{financialAccountId}/processors/create-token', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-sb.meld.io/bank-linking/accounts/{financialAccountId}/processors/create-token",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'processor' => 'ACHQ'
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api-sb.meld.io/bank-linking/accounts/{financialAccountId}/processors/create-token"
payload := strings.NewReader("{\n \"processor\": \"ACHQ\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api-sb.meld.io/bank-linking/accounts/{financialAccountId}/processors/create-token")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"processor\": \"ACHQ\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-sb.meld.io/bank-linking/accounts/{financialAccountId}/processors/create-token")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"processor\": \"ACHQ\"\n}"
response = http.request(request)
puts response.read_body{
"processor": "ACHQ",
"serviceProvider": "FINICITY",
"token": "<string>"
}{
"code": "<string>",
"displayMessage": "<string>",
"errors": [
"<string>"
],
"message": "<string>",
"requestId": "<string>",
"serviceProviderDetails": {},
"timestamp": "2023-11-07T05:31:56Z"
}Headers
Body
application/json
Processor which will have access to this account
Available options:
ACHQ, ADP_ROLL, ALLOY, ALPACA, APEX, ASTRA, ATOMIC, AYDEN, BAKKT, BOND, CHECK, CHECKBOOK, CHECKOUT, CIRCLE, DRIVEWEALTH, DWOLLA, FINIX, FORTRESS_TRUST, GALILEO, GEMINI, GUSTO, HIGHNOTE, I2C, KNOT, LITHIC, MARQETA, MODERN_TREASURY, MOOV, OCROLUS, PRIME_TRUST, RISKIFIED, RIZE, SARDINE, SILA_MONEY, SILICON_VALLEY_BANK, SOLID, STRIPE, TABA_PAY, TEAL, TREASURY_PRIME, UNIT, UTB, VESTA, VOPAY, WEPAY, WYRE, ZERO_HASH Response
Processor token is returned
Processor
Available options:
ACHQ, ADP_ROLL, ALLOY, ALPACA, APEX, ASTRA, ATOMIC, AYDEN, BAKKT, BOND, CHECK, CHECKBOOK, CHECKOUT, CIRCLE, DRIVEWEALTH, DWOLLA, FINIX, FORTRESS_TRUST, GALILEO, GEMINI, GUSTO, HIGHNOTE, I2C, KNOT, LITHIC, MARQETA, MODERN_TREASURY, MOOV, OCROLUS, PRIME_TRUST, RISKIFIED, RIZE, SARDINE, SILA_MONEY, SILICON_VALLEY_BANK, SOLID, STRIPE, TABA_PAY, TEAL, TREASURY_PRIME, UNIT, UTB, VESTA, VOPAY, WEPAY, WYRE, ZERO_HASH