##### Retrieves historical termination inquiry results.
GET {{baseUrl}}/termination-inquiry/:IRN?PageOffset=0&PageLength=10&Format=JSON&AcquirerId=Excepteur fugiat reprehenderit
Returns information about Merchants, URLs and up to five principal owners, that have been terminated by an acquiring bank from a previous inquiry. To access the inquiry results of the past inquiries, acquirer should pass the inquiry reference number (IRN) received from the previous inquiries (TerminationInquiryRequest). For further details refer the documentation on Use Cases.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
PageOffset | number | (Required) The zero-based offset to start at. The actual start position is this value +1. An offset of 10 starts at item 11. Combined with the PageLength option this allows pagination to be supported through the service requests. | |
PageLength | number | (Required) The maximum number of items to retrieve within the current "page" of results. | |
Format | string | (Required) Describes format of the response you wants to serverd, response can be delevired either as XML or JSON. | |
AcquirerId | string | (Required) The Member ICA number which is used to validate that the application has permission to hit the MATCH database. This number must be obtained from a participating MATCH acquiring bank or entity before a developer can access the MATCH resource. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"TerminationInquiry":{"PageOffset":0,"Ref":"https://api.mastercard.com/fraud/merchant/v3/termination-inquiry/1234567890","TransactionReferenceNumber":"12345","PossibleMerchantMatches":[{"TotalLength":2,"TerminatedMerchant":[{"Merchant":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"MerchantMatch":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"Merchant":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"MerchantMatch":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}]},{"TotalLength":2,"TerminatedMerchant":[{"Merchant":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"MerchantMatch":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"Merchant":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"MerchantMatch":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}]}],"PossibleInquiryMatches":[{"TotalLength":2,"InquiredMerchant":[{"Merchant":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"Merchant":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}]},{"TotalLength":2,"InquiredMerchant":[{"Merchant":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"Merchant":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}]}]}}