redmond-ux

(0 reviews)

GET-BillingAccountByServicenumber

1. GET billingAccount/service/{id}

This operation retrieves billing account details based on msisdn/servicenumber.

URL
http://[host]:[port]/redmond-ux/v1/{businessId}/billingAccount/service/{id}
URL PARAMS
nametypedescriptionrequired
businessIdstring2 letter ISO 3166 country code (TT, BB, JM, PA, etc.) identifying the business unit.Y
idstringunique identifier of the service number. (service number)Y
namevaluedescriptionrequired
client_idstringThe client_id identifying the channel. Minimum characters: 5Y
client_secretstringPassword associated with the client_id. Minimum characters: 5Y
X-Correlation-IDstringIdentifier that correlates HTTP request between a client and server. Any identification model (UUDI, checksum, etc.) can be used, as long as it is a unique value to differentiate a transaction.Y

Response

Possible success response

This section defines all the possible data structures received by the client and that must be considered satisfactory at the time of responding to the method.

Liberate response Data model

NameTypeDescriptionRequired
idStringUnique identifier of the Billing AccountY
accountTypeStringType/category of customer accountY
descriptionStringDescription of the customer accountY
nameStringCustomer account nameY
paymentStatusStringCurrent payment status of the accountY
stateStringLifecycle state of the accountY
bssStateStringSource BSS specific account statusY
accountBalanceArrayBalance information associated with the customer accountY
accountBalance.amountObjectMonetary amount informationY
accountBalance.amount.unitStringCurrency code of the balance amountY
accountBalance.amount.valueNumberMonetary value of the balanceY
accountBalance.balanceTypeStringType of balance being reportedY
accountBalance.validForObjectTime period during which the balance is applicableN
accountBalance.validFor.endDateTimeDateTimeEnd date/time of balance validityN
billStructureObjectBilling structure and cycle informationY
billStructure.cycleSpecificationObjectBilling cycle specification detailsY
billStructure.cycleSpecification.idStringBilling cycle identifierY
billStructure.cycleSpecification.paymentDueDateDateTimeDate payment is dueY
billStructure.cycleSpecification.billingDayIntegerDay of month on which billing occursY
billStructure.presentationMediaArrayMedia preferences for bill presentationY
billStructure.presentationMedia.idStringPresentation media identifierY
billStructure.presentationMedia.nameStringPresentation media nameY
paymentPlanArrayPayment plan configuration associated with accountY
paymentPlan.priorityIntegerPayment plan priority orderY
paymentPlan.planTypeStringType of payment planY
paymentPlan.statusBooleanIndicates whether plan is activeY
paymentPlan.@TypeStringExtended payment plan type classificationY
relatedPartyArrayParties related to the customer accountY
relatedParty.idStringIdentifier of related partyY
relatedParty.nameStringName of related partyY
relatedParty.roleStringRole played by related partyY
relatedParty.@typeStringType of related entityY
relatedParty.@referredTypeStringReferenced entity typeY
relatedParty.@baseTypeStringBase type of related party objectY
relatedParty.characteristicArrayAdditional characteristics of the related partyY
relatedParty.characteristic.nameStringCharacteristic nameY
relatedParty.characteristic.valueString / ArrayCharacteristic valueY
relatedParty.characteristic.valueTypeStringData type of the characteristic valueN
contactArrayContact information associated with accountY
contact.contactNameStringName of contact personY
contact.partyRoleTypeStringRole of contact relative to accountY
contact.contactMediumArrayContact medium detailsY
contact.contactMedium.mediumTypeStringType of communication mediumY
contact.contactMedium.characteristicObjectContact medium characteristicsY
contact.contactMedium.characteristic.street1StringStreet address line 1Y
contact.contactMedium.characteristic.cityStringCity nameY
contact.contactMedium.characteristic.stateOrProvinceStringState or provinceY
contact.contactMedium.characteristic.countryStringCountry nameY
contact.contactMedium.characteristic.emailAddressStringEmail addressY
contact.contactMedium.characteristic.phoneNumberStringTelephone numberY
creditLimitObjectCredit limit assigned to accountY
creditLimit.unitStringCurrency code for credit limitY
creditLimit.valueNumberCredit limit amountY
defaultPaymentMethodObjectDefault method used for paymentY
defaultPaymentMethod.idStringPayment method identifierY
defaultPaymentMethod.nameStringPayment method nameY
recurringFlagBooleanIndicates whether recurring payment is enabledY
sourceBSSStringSource Billing Support System identifierY
legalEntityStringLegal entity owning the accountY
serviceObjectService associated with the customer accountY
service.idStringService identifierY
service.stateStringCurrent service stateY
service.serviceTypeStringService type classificationY
Liberate Success Response
{
    "id": "286015730000",
    "accountType": "O",
    "description": "Browse & Talk HFONE",
    "name": "MS Shawnalee M Foster",
    "paymentStatus": "Active",
    "state": "Closed",
    "bssState": "E-Written off",
    "accountBalance": [
        {
            "amount": {
                "unit": "JMD",
                "value": 0.00
            },
            "balanceType": "NetPayable"
        },
        {
            "amount": {
                "unit": "JMD",
                "value": 0.00
            },
            "balanceType": "LastBillAmount",
            "validFor": {
                "endDateTime": "2023-03-29T00:00:00.000-05:00"
            }
        },
        {
            "amount": {
                "unit": "JMD",
                "value": 4800.00
            },
            "balanceType": "LastPayment Amount",
            "validFor": {
                "endDateTime": "2021-07-27T00:00:00.000-05:00"
            }
        },
        {
            "amount": {
                "unit": "JMD",
                "value": 0.00
            },
            "balanceType": "Overdue Amount"
        },
        {
            "amount": {
                "unit": "JMD",
                "value": 0.00
            },
            "balanceType": "DepositRequired"
        },
        {
            "amount": {
                "unit": "JMD",
                "value": 23769.52
            },
            "balanceType": "WrittenOffAmount"
        },
        {
            "amount": {
                "unit": "JMD",
                "value": 0.00
            },
            "balanceType": "TotalQuery"
        },
        {
            "amount": {
                "unit": "JMD",
                "value": 0.00
            },
            "balanceType": "TotalOutstandingBalance"
        },
        {
            "amount": {
                "unit": "JMD",
                "value": 0.00
            },
            "balanceType": "DepositHeld"
        },
        {
            "amount": {
                "unit": "JMD",
                "value": 0.00
            },
            "balanceType": "Total Query Tax"
        },
        {
            "amount": {
                "unit": "JMD",
                "value": 0.00
            },
            "balanceType": "TotalAdjustmentCredit"
        },
        {
            "amount": {
                "unit": "JMD",
                "value": 0.00
            },
            "balanceType": "TotalDepositPaid"
        },
        {
            "amount": {
                "unit": "JMD",
                "value": 0.00
            },
            "balanceType": "TotalServiceChargeCredit"
        },
        {
            "amount": {
                "unit": "JMD",
                "value": 0.00
            },
            "balanceType": "TotalRewards"
        },
        {
            "amount": {
                "unit": "JMD",
                "value": 0.00
            },
            "balanceType": "TotalAvailablePointsAmount"
        },
        {
            "amount": {
                "unit": "JMD",
                "value": 24033.33
            },
            "balanceType": "BillAmount",
            "validFor": {
                "endDateTime": "2023-03-29T00:00:00.000-05:00"
            }
        }
    ],
    "billStructure": {
        "cycleSpecification": {
            "id": "E",
            "paymentDueDate": "2023-03-29T00:00:00.000-05:00",
            "billingDay": 9
        },
        "presentationMedia": [
            {
                "id": "C",
                "name": "Ceased Accounts"
            },
            {
                "id": "E",
                "name": "BillLanguage"
            }
        ]
    },
    "paymentPlan": [
        {
            "priority": 0,
            "planType": "%",
            "status": true,
            "@Type": "SupportsRecurringPayments"
        }
    ],
    "relatedParty": [
        {
            "id": "110962605",
            "name": "MS Shawnalee M Foster",
            "role": "customer",
            "@type": "Customer",
            "@referredType": "Customer",
            "@baseType": "RelatedParty",
            "characteristic": [
                {
                    "name": "DocumentType",
                    "value": "TR"
                },
                {
                    "name": "DocumentNumber",
                    "value": "110962605"
                },
                {
                    "name": "Gender",
                    "value": "F"
                },
                {
                    "name": "Title",
                    "value": "MS",
                    "valueType": "string"
                },
                {
                    "name": "FirstName",
                    "value": "Shawnalee",
                    "valueType": "string"
                },
                {
                    "name": "LastName",
                    "value": "Foster",
                    "valueType": "string"
                },
                {
                    "name": "OtherName",
                    "value": "Monique",
                    "valueType": "string"
                },
                {
                    "name": "Date-Of-Birth",
                    "value": "1982-05-02T00:00:00.000-04:00",
                    "valueType": "string"
                },
                {
                    "name": "Customer Identity",
                    "valueType": "array",
                    "value": [
                        {
                            "DocumentType": "PP",
                            "DocumentNumber": "A3963661",
                            "DocumentDescription": "Passport No"
                        },
                        {
                            "DocumentType": "TR",
                            "DocumentNumber": "110962605",
                            "DocumentDescription": "TRN Number"
                        }
                    ]
                }
            ]
        },
        {
            "id": "LIME",
            "role": "legalEntity"
        },
        {
            "@type": "Account",
            "characteristic": [
                {
                    "name": "BaseAccountType",
                    "value": "RES"
                }
            ]
        },
        {
            "id": "990000",
            "name": "Residential",
            "role": "marketingCategory"
        }
    ],
    "contact": [
        {
            "contactMedium": [
                {
                    "mediumType": "BillingAddress",
                    "characteristic": {
                        "street1": "KINGSLAND P.O BOX 22",
                        "city": "SPUR TREE",
                        "stateOrProvince": "MANCHESTER",
                        "country": "JAMAICA"
                    }
                },
                {
                    "mediumType": "Email",
                    "characteristic": {
                        "emailAddress": ""
                    }
                }
            ]
        },
        {
            "contactName": "Shawnalee Foster",
            "partyRoleType": "OWNER",
            "contactMedium": [
                {
                    "mediumType": "Telephone",
                    "characteristic": {
                        "phoneNumber": "8765703673"
                    }
                }
            ]
        },
        {
            "contactName": "PAULINE FOSTER",
            "partyRoleType": "RELAT",
            "contactMedium": [
                {
                    "mediumType": "Telephone",
                    "characteristic": {
                        "phoneNumber": "8769646405"
                    }
                }
            ]
        }
    ],
    "creditLimit": {
        "unit": "JMD",
        "value": 0
    },
    "defaultPaymentMethod": {
        "id": "C",
        "name": "Cash"
    },
    "recurringFlag": false,
    "sourceBSS": "LIBERATE",
    "legalEntity": "LIME",
    "service": {
        "id": "8767153626",
        "state": "C-Ceased",
        "serviceType": "TP"
    }
}
Cerillion Data Model
NameTypeDescriptionRequired
idStringUnique identifier of the Billing AccountY
hrefStringURI reference of the customer account resourceY
nameStringCustomer account nameY
stateStringLifecycle state of the customer accountY
bssStateStringSource BSS specific account statusY
relatedPartyArrayParties related to the customer accountY
relatedParty.idStringIdentifier of the related partyY
relatedParty.nameStringName of the related partyY
relatedParty.roleStringRole played by the related partyY
relatedParty.@typeStringType of related entityY
relatedParty.@referredTypeStringReferenced entity typeY
relatedParty.@baseTypeStringBase type of related party objectY
relatedParty.characteristicArrayAdditional characteristics of the related partyY
relatedParty.characteristic.nameStringCharacteristic nameY
relatedParty.characteristic.valueString / ArrayCharacteristic valueY
relatedParty.characteristic.valueTypeStringDatatype of characteristic valueN
relatedParty.characteristic.@referredTypeStringReferenced type associated with characteristicY
accountTypeStringType/classification of customer accountY
presentationMediaArrayPreferred bill presentation channelsY
presentationMedia.idStringPresentation media identifierY
presentationMedia.nameStringPresentation media nameY
contactArrayContact details associated with the accountY
contact.contactNameStringContact person nameY
contact.contactTypeStringContact type classificationY
contact.contactMediumArrayCommunication medium detailsY
contact.contactMedium.mediumTypeStringType of communication mediumY
contact.contactMedium.characteristicObjectCharacteristics of communication mediumY
contact.contactMedium.characteristic.addressLines1StringPrimary address lineY
contact.contactMedium.characteristic.street2StringSecondary street addressY
contact.contactMedium.characteristic.postCodeStringPostal codeY
contact.contactMedium.characteristic.contactTypeStringTelephone contact categoryY
contact.contactMedium.characteristic.phoneNumberStringTelephone numberY
contact.contactMedium.characteristic.emailAddressStringEmail addressY
accountBalanceArrayAccount balance informationY
accountBalance.amountObjectMonetary amount detailsY
accountBalance.amount.unitStringCurrency codeY
accountBalance.amount.valueNumberMonetary valueY
accountBalance.balanceTypeStringType of balanceY
accountBalance.validForObjectValidity period of balance informationY
accountBalance.validFor.endDateTimeDateTimeEnd date/time of balance validityY
billStructureObjectBilling structure detailsY
billStructure.cycleSpecificationObjectBilling cycle specificationY
billStructure.cycleSpecification.idStringBilling cycle identifierY
billStructure.cycleSpecification.paymentDueDateDateTimePayment due dateY
billStructure.cycleSpecification.billingDayIntegerDay of month billing is generatedY
billStructure.presentationMediaArrayBill presentation media preferencesY
billStructure.presentationMedia.idStringPresentation media identifierY
billStructure.presentationMedia.nameStringPresentation media nameY
paymentStatusStringCurrent payment status of the accountY
recurringFlagBooleanIndicates whether recurring payment is enabledY
sourceBSSStringSource Billing Support SystemY
serviceObjectService associated with the customer accountY
service.idStringService identifierY
service.stateStringService status/stateY
service.prepaidIndicatorBooleanIndicates whether the service is prepaidY
service.serviceTypeStringService type classificationY
Cerillion Success Response
{
    "id": "12386701",
    "href": "/tmf-api/accountManagement/v1/JM/billingAccount/12386701",
    "name": "CHRISTOPHER DUNKLEY",
    "state": "Active",
    "bssState": "SN",
    "relatedParty": [
        {
            "id": "12386701",
            "name": "CHRISTOPHER DUNKLEY",
            "role": "customer",
            "@type": "Customer",
            "@referredType": "Customer",
            "@baseType": "RelatedParty",
            "characteristic": [
                {
                    "name": "Customer Identity",
                    "valueType": "array",
                    "value": [
                        {
                            "DocumentType": "TRN",
                            "DocumentNumber": "102430322",
                            "DocumentDescription": "TRN Number"
                        }
                    ]
                },
                {
                    "@referredType": "Customer",
                    "name": "Date-Of-Birth",
                    "value": "1959-03-25T23:00:00.000-05:00",
                    "valueType": "string"
                },
                {
                    "@referredType": "Customer",
                    "name": "Title",
                    "value": "MR",
                    "valueType": "string"
                },
                {
                    "@referredType": "Customer",
                    "name": "FirstName",
                    "value": "CHRISTOPHER",
                    "valueType": "string"
                },
                {
                    "@referredType": "Customer",
                    "name": "LastName",
                    "value": "DUNKLEY",
                    "valueType": "string"
                },
                {
                    "@referredType": "Customer",
                    "name": "CompanyName",
                    "value": "DUNKLEY",
                    "valueType": "string"
                },
                {
                    "@referredType": "Customer",
                    "name": "AccountClassificationCode",
                    "value": "RS",
                    "valueType": "string"
                },
                {
                    "@referredType": "Customer",
                    "name": "AlternativeEmail",
                    "value": "CHRISMUZIKDUNKS84@YAHOO.COM",
                    "valueType": "string"
                }
            ]
        },
        {
            "@referredType": "Customer",
            "id": "23170"
        },
        {
            "@referredType": "Account",
            "id": "ST"
        }
    ],
    "accountType": "RES",
    "presentationMedia": [
        {
            "id": "E",
            "name": "EMAIL"
        },
        {
            "id": "en-us",
            "name": "BillLanguage"
        }
    ],
    "contact": [
        {
            "contactName": "CHRISTOPHER DUNKLEY",
            "contactType": "primary",
            "contactMedium": [
                {
                    "mediumType": "BillingAddress",
                    "characteristic": {
                        "addressLines1": "3",
                        "street2": "SANDY LANE",
                        "postCode": "00020"
                    }
                },
                {
                    "mediumType": "Telephone",
                    "characteristic": {
                        "contactType": "MOBILE_NO",
                        "phoneNumber": "8768409971"
                    }
                },
                {
                    "mediumType": "Email",
                    "characteristic": {
                        "emailAddress": "CHRISMUZIKDUNKS84@YAHOO.COM"
                    }
                }
            ]
        }
    ],
    "accountBalance": [
        {
            "amount": {
                "unit": "JMD",
                "value": 8055
            },
            "balanceType": "LastPayment Amount",
            "validFor": {
                "endDateTime": "2024-06-13T16:31:13.000-05:00"
            }
        },
        {
            "amount": {
                "unit": "JMD",
                "value": 25270.66
            },
            "balanceType": "CurrentBalance"
        },
        {
            "amount": {
                "unit": "JMD",
                "value": 25270.66
            },
            "balanceType": "Overdue Amount"
        },
        {
            "amount": {
                "unit": "JMD",
                "value": 0.00
            },
            "balanceType": "WrittenOffAmount"
        },
        {
            "amount": {
                "unit": "JMD",
                "value": 25270.66
            },
            "balanceType": "TotalOutstandingBalance"
        },
        {
            "amount": {
                "unit": "JMD",
                "value": 25270.66
            },
            "balanceType": "LastBillAmount",
            "validFor": {
                "endDateTime": "2026-06-15T23:00:00.000-05:00"
            }
        },
        {
            "amount": {
                "unit": "JMD",
                "value": 25270.66
            },
            "balanceType": "LedgerBalance"
        },
        {
            "amount": {
                "unit": "JMD",
                "value": 25270.66
            },
            "balanceType": "CurrentOutstandingBalance"
        },
        {
            "amount": {
                "unit": "JMD",
                "value": 25270.66
            },
            "balanceType": "BillAmount",
            "validFor": {
                "endDateTime": "2026-06-15T23:00:00.000-05:00"
            }
        }
    ],
    "billStructure": {
        "cycleSpecification": {
            "paymentDueDate": "2026-06-15T23:00:00.000-05:00",
            "id": "JMT",
            "billingDay": 1
        },
        "presentationMedia": [
            {
                "id": "E",
                "name": "EMAIL"
            },
            {
                "id": "en-us",
                "name": "BillLanguage"
            }
        ]
    },
    "paymentStatus": "In Arrears",
    "recurringFlag": false,
    "sourceBSS": "CERILLION",
    "service": {
        "id": "8766346821",
        "state": "CU",
        "prepaidIndicator": false,
        "serviceType": "TP"
    }
}

Reviews