Initiate Installment Plan
POST/initiate
Initiate establishes an installment plan but doesn't finalize it, and is thus intended for use
with Splitit premade checkout solutions such as Payment Forms or Flex Form.
Initiate only requires SAQ-A certification. You can call it multiple times for the same installment plan, since each time a new API call is made, existing data will be updated and new values will be appended to the existing plan.
Note that for funded plans, a customer's BillingAddress
object must be filled out.
Request
Header Parameters
- application/json
Body
Indicates whether to capture the first installment automatically when creating the plan, or to wait for explicit indication to do the first capture (the default is true)
Indicates whether to run a 3D secure verification (default is false)
Shopper
object
PlanData
object
required
The total order amount
When populated will be used to display as default in Payment Form
The merchant terminal identifier
Possible values: [InStore
, PhoneOrder
, ECommerce
]
How purchase was made (default is ECommerce
)
Reference order number for merchant's use
ExtendedParams
object
Additional data that can be added as key/value pair parameters by merchant (and later can be retrieved by GET)
BillingAddress
object
ISO 3166-3 code
ISO 3166-2 code
RedirectUrls
object
Used for 3DS redirection back to success or failure page
UxSettings
object
EventsEndpoints
object
Responses
- 200
- 401
- 403
- 404
- 422
- 500
- 400-503
- 400-505
- 400-511
- 400-524
- 400-526
- 400-528
- 400-529
- 400-532
- 400-550
- 400-551
- 400-554
- 400-566
- 400-572
- 400-575
- 400-595
- 400-596
- 400-599
- 400-806
Success
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [InStore
, PhoneOrder
, ECommerce
]
How purchase was made (default is ECommerce
)
Possible values: [Initialized
, PendingCapture
, Active
, Cleared
, Canceled
]
ExtendedParams
object
Shopper
object
BillingAddress
object
ISO 3166 Country name OR 2-character code OR 3-character code
ISO 3166-2 State
{
"InstallmentPlanNumber": "string",
"RefOrderNumber": "string",
"PurchaseMethod": "InStore",
"Status": "Initialized",
"Currency": "string",
"Amount": 0,
"ExtendedParams": {},
"Shopper": {
"FullName": "string",
"Email": "string",
"PhoneNumber": "string",
"Culture": "string"
},
"BillingAddress": {
"AddressLine": "string",
"AddressLine2": "string",
"City": "string",
"Country": "string",
"State": "string",
"Zip": "string"
},
"CheckoutUrl": "string"
}
Unauthorized Request: Token is not authorized or is expired
- application/json
- Schema
- Example (from schema)
Schema
Error
object
ExtraData
object
{
"TraceId": "string",
"Error": {
"Code": "string",
"Message": "string",
"AdditionalInfo": "string",
"ExtraData": {}
}
}
- application/json
- Schema
- Example (from schema)
Schema
Error
object
ExtraData
object
{
"TraceId": "string",
"Error": {
"Code": "string",
"Message": "string",
"AdditionalInfo": "string",
"ExtraData": {}
}
}
Resource Does Not Exist: Plan or service does not exist; for all APIs, if an invalid plan number is passed in the URL, this error will be returned
- application/json
- Schema
- Example (from schema)
Schema
Error
object
ExtraData
object
{
"TraceId": "string",
"Error": {
"Code": "string",
"Message": "string",
"AdditionalInfo": "string",
"ExtraData": {}
}
}
- application/json
- Schema
- Example (from schema)
Schema
Error
object
ExtraData
object
{
"TraceId": "string",
"Error": {
"Code": "string",
"Message": "string",
"AdditionalInfo": "string",
"ExtraData": {}
}
}
General Server Error: Server encountered an unexpected condition
- application/json
- Schema
- Example (from schema)
Schema
Error
object
ExtraData
object
{
"TraceId": "string",
"Error": {
"Code": "string",
"Message": "string",
"AdditionalInfo": "string",
"ExtraData": {}
}
}
InvalidInstallmentPlanStatus: Please close this window. Then click 'Splitit Payment' to create your payment plan (you haven't been charged yet).
- application/json
- Schema
- Example (from schema)
Schema
Error
object
ExtraData
object
{
"TraceId": "string",
"Error": {
"Code": "string",
"Message": "string",
"AdditionalInfo": "string",
"ExtraData": {}
}
}
InvalidNumberOfInstallments: The number of installments is not available at this store. Please check available options and try again. Thank you!
- application/json
- Schema
- Example (from schema)
Schema
Error
object
ExtraData
object
{
"TraceId": "string",
"Error": {
"Code": "string",
"Message": "string",
"AdditionalInfo": "string",
"ExtraData": {}
}
}
InvalidAmount: Invalid amount sent, such as below your minimum amount or above your maximum amount.
- application/json
- Schema
- Example (from schema)
Schema
Error
object
ExtraData
object
{
"TraceId": "string",
"Error": {
"Code": "string",
"Message": "string",
"AdditionalInfo": "string",
"ExtraData": {}
}
}
InvalidEmailFormat: Invalid email. Please check that the email address is entered in the correct format. (For example: name@mail.com)
- application/json
- Schema
- Example (from schema)
Schema
Error
object
ExtraData
object
{
"TraceId": "string",
"Error": {
"Code": "string",
"Message": "string",
"AdditionalInfo": "string",
"ExtraData": {}
}
}
InvalidZIPCode: The ZIP code must include at least 3 characters. Please check and try again.
- application/json
- Schema
- Example (from schema)
Schema
Error
object
ExtraData
object
{
"TraceId": "string",
"Error": {
"Code": "string",
"Message": "string",
"AdditionalInfo": "string",
"ExtraData": {}
}
}
InvalidCCIssueCountryNotSupportedByTerminal: We are sorry, but we currently do not accept cards issued by this country.
- application/json
- Schema
- Example (from schema)
Schema
Error
object
ExtraData
object
{
"TraceId": "string",
"Error": {
"Code": "string",
"Message": "string",
"AdditionalInfo": "string",
"ExtraData": {}
}
}
CurrencyNotSupported: We are sorry, but we currently do not accept this currency.
- application/json
- Schema
- Example (from schema)
Schema
Error
object
ExtraData
object
{
"TraceId": "string",
"Error": {
"Code": "string",
"Message": "string",
"AdditionalInfo": "string",
"ExtraData": {}
}
}
CountrySubdivisionNotSupported: Sorry, but Splitit is currently not available in your state. Please contact Splitit's customer service desk for help
- application/json
- Schema
- Example (from schema)
Schema
Error
object
ExtraData
object
{
"TraceId": "string",
"Error": {
"Code": "string",
"Message": "string",
"AdditionalInfo": "string",
"ExtraData": {}
}
}
CultureNameNotValid: Culture (language used in interfaces and communications) not valid.
- application/json
- Schema
- Example (from schema)
Schema
Error
object
ExtraData
object
{
"TraceId": "string",
"Error": {
"Code": "string",
"Message": "string",
"AdditionalInfo": "string",
"ExtraData": {}
}
}
CultureNotSupported: Culture (language used in interfaces and communications) not supported.
- application/json
- Schema
- Example (from schema)
Schema
Error
object
ExtraData
object
{
"TraceId": "string",
"Error": {
"Code": "string",
"Message": "string",
"AdditionalInfo": "string",
"ExtraData": {}
}
}
UnknownZipCode: The ZIP code you entered is not valid. Please try again.
- application/json
- Schema
- Example (from schema)
Schema
Error
object
ExtraData
object
{
"TraceId": "string",
"Error": {
"Code": "string",
"Message": "string",
"AdditionalInfo": "string",
"ExtraData": {}
}
}
AddressDataIsMissingOrPartiallyInitiated: Please enter the cardholder's complete address.
- application/json
- Schema
- Example (from schema)
Schema
Error
object
ExtraData
object
{
"TraceId": "string",
"Error": {
"Code": "string",
"Message": "string",
"AdditionalInfo": "string",
"ExtraData": {}
}
}
InvalidStateCode: We were unable to find this state code.
- application/json
- Schema
- Example (from schema)
Schema
Error
object
ExtraData
object
{
"TraceId": "string",
"Error": {
"Code": "string",
"Message": "string",
"AdditionalInfo": "string",
"ExtraData": {}
}
}
CurrencyMustBeDefinedOnTransaction: Please select the currency you wish to use.
- application/json
- Schema
- Example (from schema)
Schema
Error
object
ExtraData
object
{
"TraceId": "string",
"Error": {
"Code": "string",
"Message": "string",
"AdditionalInfo": "string",
"ExtraData": {}
}
}
PhoneIsMissing: Please enter your phone number.
- application/json
- Schema
- Example (from schema)
Schema
Error
object
ExtraData
object
{
"TraceId": "string",
"Error": {
"Code": "string",
"Message": "string",
"AdditionalInfo": "string",
"ExtraData": {}
}
}
InvalidPhoneFormat: Please enter your phone number in this format: +1-321-555-1234.
- application/json
- Schema
- Example (from schema)
Schema
Error
object
ExtraData
object
{
"TraceId": "string",
"Error": {
"Code": "string",
"Message": "string",
"AdditionalInfo": "string",
"ExtraData": {}
}
}
General Error: Sorry. There has been an error. Please try again.
- application/json
- Schema
- Example (from schema)
Schema
Error
object
ExtraData
object
{
"TraceId": "string",
"Error": {
"Code": "string",
"Message": "string",
"AdditionalInfo": "string",
"ExtraData": {}
}
}
TerminalApiKeyMissing: Terminal ID not found.
- application/json
- Schema
- Example (from schema)
Schema
Error
object
ExtraData
object
{
"TraceId": "string",
"Error": {
"Code": "string",
"Message": "string",
"AdditionalInfo": "string",
"ExtraData": {}
}
}