About the Loan API

The Loan API allows you to create and manage installment loan products, such as Galileo Buy Now Pay Later and related installment loan products. For instructions on using this API see the Setup for Installment Loans guide.

The Loan API is a separate system from Program API, but shares certain conventions for client development ease of use. For common errors, the Lending system shares status codes with Program API. Other errors, specific to the lending system, have four-digit prefixes unique to that Loan API endpoint.

Base URL

The Loan API is only provided via a tenanted domain in Galileo’s client validation and production environments. During setup with Galileo, you will be provided with a domain unique to you that must be used for all Loan API calls.

Versions

There is currently one supported version, 1.0, of the Loan API.

While developing against the Loan API, please anticipate that the version component of the URI path can change as we develop changes to the Loan API endpoints. In cases where we must introduce breaking changes, they will be introduced behind a new API version.

Authentication

The Loan API uses the same IP address whitelisting and credential approach as the Program API. You can choose to use their existing credentials or be issued new credentials for use with the Loan API. Follow the authentication steps for the Program API.

Connectivity

The Loan API does not have a dedicated connectivity endpoint.

Basic credential validation and connectivity can be validated by calling one of the system’s read endpoints, such as Get Loan Status with an invalid loanId. The call should connect, authenticate, and return a 1202-01 error indicating an invalid loan id was used. This procedure should not be used as part of an automated process.

Endpoints

The Loan API requests and responses are conventional and are similar to Program API. Requests are made with form encoded parameters in HTTP posts. Responses are available as JSON messages with snake_case field names.