/
UpdatePaymentInfo RESTified API

UpdatePaymentInfo RESTified API

5.4.0

A pass-through API to Dispatch (when configured) which allows the Dispatch's "Update Payment Info" API to be called.         

On this page:

Related pages:

Resource URL Summary

Pass Through Call to Dispatch's "Update Payment Info" API

PUT /up/v5/rest/dispatch/updatePaymentInfo

HTTP Headers

This API uses the standard ServiceBroker HTTP Headers.


API Specifics

Pass Through Call to Dispatch's "Update Payment Info" API

This RESTified API will perform a pass-through call to the Dispatch sub-system's "Update Payment Info" API (when configured).

URL

PUT /up/v5/rest/dispatch/updatePaymentInfo

HTTP Request Body

This request requires a JSON object supplied in the HTTP request body, which defines the parameters that will be passed through to the Dispatch "Update Payment Info" API.

UpdatePaymentInfo Object Format

{
    "MfgSvcrAcct": "FSSTEST",
    "Id": "CT.2019-4-30.100192",
    "Payment": [
        {
            "CoPayAmount": "20.00",
            "ServiceContractId": "4447587",
            "ServiceContractEndDate": "2019-11-21",
            "PONumber": "0555",
            "POAmount": 200,
            "VPONumber": "556896",
            "VPOAmount": 120,
            "WarrantyType": "REP"
        }
    ],
    "Coverage": {
        "Component": "",
        "CoverageElement": "",
        "CoverageDays": "",
        "BillTo": "",
        "MaxReimburse": "",
        "CoverageStartDate": "",
        "CoverageEndDate": ""
    }
}

UpdatePaymentInfo Object Properties

Property


TypeRequired?DescriptionDispatch Field Mapping
MfgSvcrAcctstringNo

This servicer Id given by the requestor.

MfgSvcrAcct
IdstringNoThe call number that was used when the call was originally created.CallNo
PaymentarrayNo

Pass through parameter to the Dispatch "Update Payment Info" API. 

-

CoPayAmountstringNoThis will determine how much servicer needs to charge the Consumer. It will collect from the consumer for the service.CoPayAmount

ServiceContractIdstringNoThe Consumer Service contract number on the product. This is used in Claims processing.SvcContKey

ServiceContractEndDatestringNo

The Consumer Service contract expiration date. This is used in Claims processing.

ContExpiryDate

PONumberstringNoPurchase Order Number. For display purpose only.PONumber

POAmountintegerNo

Purchase Order Amount

POAmount

VPONumberstringNoFuture use.VPONumber

VPOAmountintegerNoFuture use.VPOAmount

WarrantyTypestringNoWarranty Type. The primary ‘bill to’ (i.e.
Manufacturers Warranty, Service Contract, Owners Warranty, Sales Fulfillment).
WarrantyType
CoverageobjectNoThis field details who will pay for the call.Coverage

ComponentstringNoDescription about the component.Component

CoverageElementstringNoThis element explains what part of the element is covered under warranty.CoverageElement

CoverageDaysstringNo

How long the warranty period is expressed in days.

CoverageDays

BillTostringNoPass through parameter to the Dispatch "Update Payment Info" API. BillTo

MaxReimbursestringNo

The max amount will be paid by Warranty.

MaxReimburse

CoverageStartDatestringNoStart date of the warranty.CoverageStartDate

CoverageEndDatestringNoEnd date of the warranty. CoverageEndDate  
,
    "Id": "CT.2019-4-30.100192",
    "AckMsg": ""
}

Error

On error, a JSON-formatted version of the Dispatch "Update Payment Info" API response will be returned.

{
    "Success": false,
    "Code": 9,
    "Payload": {
        "returnCode": {
            "type": "Error",
            "message": "Dispatch Error Code"
        }
    }
}

Return Codes

In addition to the Standard Return Codes, and the Dispatch Error codes, individual API calls made have unique codes found on their individual pages.

Related content

UpdateConsumerInfo RESTified API
UpdateConsumerInfo RESTified API
More like this
UpdateProblemInfo RESTified API
UpdateProblemInfo RESTified API
More like this
UpdateRequestForAuthorizationStatus RESTified API
UpdateRequestForAuthorizationStatus RESTified API
More like this
UpdateProductInfo RESTified API
UpdateProductInfo RESTified API
More like this
UpdateServicerNotes RESTified API
UpdateServicerNotes RESTified API
More like this
UpdateCallStatusInfo RESTified API
UpdateCallStatusInfo RESTified API
More like this