SFTP

The basic information on how to use SFTP for batch/bulk operations.

If you have an SFTP client configured you can click here to launch an FTP connection, thought you will still need to get a username and password using one of the methods described below.

HostPort
sftp.authvia.com421

Authentication

We support two ways of supplying a username and password for your SFTP connections. The recommended way is by creating a JWT and passing it as the password. Since JWT's expire, have specific grants and don't transmit a shared secret is is a far more secure option.

JWT

To authenticate using a JWT use our existing authentication logic to create a JWT, and make sure it has the jobs:create jobs:read scopes. Then pass the azp (client_id used to create the JWT) from the JWT as the username and the entire JWT as the password.

📘

Info

Password length cannnot be greater than 1000 characters, so you may need to limit your scopes if the JWT length exceeds 1000 characters.

The scopes in the JWT will determine what folders you have access to.

Required Scopes by Folder

FolderRequired ScopesDescription
/customerscustomers:createCreate or update customers
/payment-methodspayment_methods:createCreate or update payment methods
/payment-methods-deletepayment_methods:deleteDelete payment methods
/transactionstransactions:createCreate transactions
/messagesmessages:createSend messages
/filesfiles:create, files:readUpload and manage files
/blueprints/{blueprint-id}blueprints:createCreate business processes via blueprints
/blueprints/{blueprint-id}/eventsblueprints:read, business_processes:updateInteract with business processes via events
/blueprints/{blueprint-id}/transactionsblueprints:read, transactions:createCreate transactions via blueprints
/business-process-eventsbusiness_processes:read, business_processes:updateInteract with business processes directly

Merchant Product

Alternatively, if your circumstance does not allow for JWT creation you can have a fixed username and password by creating an Account Product (Merchant Product). You will define the password you want to use for your password and the AVID for the merchant will be the username.

🔑

Admin Access

This type of authentication is always going to be admin access to any and all behaviors.

{
  "line": "batch",
  "product": "sftp",
  "provider": "authvia",
  "config": {
    "password": "your,Password_Goes-Here"
  }
}

Available Folders

The following folders are available for batch/bulk operations based on your JWT scopes:

📘

ID Seed

Its not uncommon in batch situations using the ID created by the Authvia platform, is not useful, or available. Its recommended you make use of our id seed's in your files so you can not only create, but then update and associate data as needed with any bulk/batch behavior.

Limits

File Length

We do not have any known limits at this time for file length. Testing has been done up to 1MM lines and while duration increases, the amount of data in the file and the behavior operation being executed both have an impact on that duration.

Column Length

The number of columns also does not have any known length. In general, we disregard all columns that do not apply to the operation being requested. We do as that you be reasonable with what data you send across, its best to only send whats needed and to avoid sending data that can be statically defined in a blueprint. Given that we have a pretty rich set of interpolation behaviors your engineers or our support can help reduce the file size, if it poses any problems.