Fetch Plan(s) by Alternate Field
GET/search
Retrieves a plan by RefOrderNumber
or ExtendedParams
. Note that RefOrderNumber
or ExtendedParams
were optionally specified by you upon plan creation.
Request
Query Parameters
Specify the key and value you used when establishing the plan. For example ExtendedParams["MerchantInternalID"]="5345532"
Header Parameters
Responses
- 200
- 401
- 403
- 404
- 422
- 500
- 400-599
Success
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
Array [
]
]
PlanList
object[]
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
Installments
object[]
Possible values: [Pending
, Processed
, Canceled
]
Refunds
object[]
Possible values: [Pending
, Succeeded
, Failed
]
Links
object
{
"PlanList": [
{
"InstallmentPlanNumber": "string",
"DateCreated": "2024-07-24T18:00:33.291Z",
"RefOrderNumber": "string",
"PurchaseMethod": "InStore",
"Status": "Initialized",
"Currency": "string",
"OriginalAmount": 0,
"Amount": 0,
"Authorization": {
"Status": "NA",
"Date": "2024-07-24T18:00:33.291Z",
"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.292Z",
"Status": "Pending"
}
],
"Refunds": [
{
"RefundId": "string",
"SubmitDate": "2024-07-24T18:00:33.292Z",
"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": {}
}
}