ACH Token Import

This API endpoint allows a user to import a Stripe ACH payment method into Fusebill for a given customer.

Request Parameters

customerIdNumberFusebill ID of the target customerYes
stripeCustomerIdStringStripe customer ID, prefixed by, and including "cus_".Yes
stripeCardIdStringThe Stripe card id, prefixed by, and including "card" or "ba". This must be an existing card associated with the stripe customer. It may return the error message "No such source: ..." if the card is not found.Yes
curl -X POST "" \
	-H "Content-Type: application/json" \
	-H "Authorization: Basic {APIKey}" \
	-d "{customerId:{id},stripeCustomerId:{id},stripeCardId:{bankId}}"
//Json Payload
string jsonData = "{'customerId':{id},'stripeCustomerId':{id},'stripeCardId':{bankId}}";
//Setup API key
string apiKey = "{APIKey}";
//Configure URI
WebRequest request = WebRequest.Create("HTTPS://");
//Add Content type
request.ContentType = "application/json";
//Add Api key authorization
request.Headers.Add(HttpRequestHeader.Authorization, "Basic "+apiKey);
//Set request method
request.Method = "POST";
//Add the json data to request
using (var streamWriter = new StreamWriter(request.GetRequestStream()))
//Perform the request
var httpResponse = (HttpWebResponse)request.GetResponse();
//Record the response from our request
var result = "";
using (var streamReader = new StreamReader(httpResponse.GetResponseStream()))
  result = streamReader.ReadToEnd();
#Import library JSON
import json
#Import library Requests
import requests
#Pass in a dictionary to the Headers parameter
headers = {'Authorization' : 'Basic {APIKey}', 'Content-Type' : 'application/json'}
#Pass in a dictionary to the Payload parameter
payload = {'customerId':{id},'stripeCustomerId':{id},'stripeCardId':{bankId}}
#Pass in your URI, Payload and Headers
r ='', data=json.dumps(payload), headers=headers)
  "stripeCustomerId": "cus_AExsNjBZDLMNDK",
  "stripeCardId": "card_19uTyBAXix6Ggd0efp4HNNp7"
"maskedAccountNumber": "****6789",
"maskedTransitNumber": "****0000",
"bankAccountType": "company",
"customerId": 186838,
"firstName": "John",
"lastName": "Doe",
"address1": null,
"address2": null,
"countryId": 840,
"country": "USA",
"stateId": null,
"state": "",
"city": null,
"postalZip": null,
"isDefault": false,
"externalCustomerId": "cus_AExsNjBZDLMNDK",
"externalCardId": "ba_19uTxsAXix6Ggd0eV10oEGSm",
"storedInFusebillVault": false,
"id": 92672,
"uri": null
    "ErrorId": 0,
    "HttpStatusCode": 404,
    "Errors": [
            "Key": "Api Error",
            "Value": "Customer with id 1325 not found."