Fetch Plan by Number
GET/:installmentPlanNumber
Retrieve an installment plan's information by providing its number in your path.
Request
Path Parameters
The number of the installment plan for which you'd like information
Header Parameters
Responses
- 200
- 401
- 403
- 404
- 422
- 500
- 400-599
Success
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Array [
]
Possible values: [InStore
, PhoneOrder
, ECommerce
]
How purchase was made (default is ECommerce
)
Possible values: [Initialized
, PendingCapture
, Active
, Cleared
, Canceled
]
Authorization
object
Possible values: [NA
, Succeeded
, Pending3DS
, Failed
]
ThreeDSRedirect
object
Params
object
Shopper
object
BillingAddress
object
ISO 3166 Country name OR 2-character code OR 3-character code
ISO 3166-2 State
PaymentMethod
object
Possible values: [Card
, SplititToken
]
Card
object
required
Possible values: [Mastercard
, Visa
, AmericanExpress
, Maestro
, JCB
, CUP
, UPI
, Discover
, Other
]
Possible values: [Credit
, Debit
, Charge
, Other
, Prepaid
, VisaDeferredDebit
, NetworkOnly
]
ExtendedParams
object
Additional data that can be added as key/value pair parameters by merchant (and later can be retrieved by GET)
Installments
object[]
Possible values: [Pending
, Processed
, Canceled
]
Refunds
object[]
Possible values: [Pending
, Succeeded
, Failed
]
Links
object
{
"InstallmentPlanNumber": "string",
"DateCreated": "2024-07-24T18:00:33.282Z",
"RefOrderNumber": "string",
"PurchaseMethod": "InStore",
"Status": "Initialized",
"Currency": "string",
"OriginalAmount": 0,
"Amount": 0,
"Authorization": {
"Status": "NA",
"Date": "2024-07-24T18:00:33.282Z",
"SplititErrorResultCode": "string",
"GatewayTransactionID": "string",
"GatewayResultCode": "string",
"GatewayResultMessage": "string",
"ThreeDSRedirect": {
"Url": "string",
"Verb": "string",
"Params": {}
},
"CAVV": "string",
"ECI": "string"
},
"Shopper": {
"FullName": "string",
"Email": "string",
"PhoneNumber": "string",
"Culture": "string"
},
"BillingAddress": {
"AddressLine": "string",
"AddressLine2": "string",
"City": "string",
"Country": "string",
"State": "string",
"Zip": "string"
},
"PaymentMethod": {
"Card": {
"CardHolderFullName": "string",
"CardNumber": "string",
"CardExpYear": "string",
"CardExpMonth": "string",
"CardCvv": "string",
"CardBrand": "Mastercard",
"CardType": "Credit"
},
"Token": "string"
},
"ExtendedParams": {},
"Installments": [
{
"InstallmentNumber": 0,
"Amount": 0,
"ProcessDateTime": "2024-07-24T18:00:33.282Z",
"Status": "Pending"
}
],
"Refunds": [
{
"RefundId": "string",
"SubmitDate": "2024-07-24T18:00:33.282Z",
"TotalAmount": 0,
"Status": "Pending",
"NonCreditRefundAmount": 0,
"CreditRefundAmount": 0
}
],
"Links": {
"Checkout": "string",
"LearnMore": "string",
"TermsConditions": "string",
"PrivacyPolicy": "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": {}
}
}
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": {}
}
}