S360 Services
Home
Home
Azure DevOps Repository
  1. Payment
  • Component Diagram
  • S360 Providers
    • BackOffice Workspace
      • Application
        • Submit Application
        • Application Status
      • Service Provisioning
        • Service Provisioning Request
        • Service Provisioning Status
      • Payment
        • Pricing Request
        • Payment Confirmation
      • References
    • IID Authorization
      • Get Context
      • Create Child Session
      • Get Child Session
      • Refresh Child Session
      • Validate Child Session
      • Logout Child Session
      • Add messages
    • MDM
      • License
        • QueryLicenses
  • S360
    • BackOffice
      • Application
        • Application Decision
      • Service Provisioning
        • Service Provisioning
    • IID Portal
      • Read This First
      • Application Status
      • Services
        • Get My Services
        • Get My Service Details
        • Start My Application
      • Applications
        • Get My Applications
        • Get My Application Details
        • Complete My Application
        • View My Application
      • Inventory
        • Get My Inventories
        • Get My Inventory Details
      • Payment
        • CompletePayment
          POST
        • GetPaymentDetails
          POST
        • ConfirmPayment
          POST
        • GetDuePaymentDetails
          POST
        • GetPastPaymentDetails
          POST
        • GetMyDuePayments
          POST
        • GetMyPastPayments
          POST
        • GetMyPaymentDetails
          POST
        • GetMyPayments
          POST
      • Document
        • Retrieve Document
    • Application Workspace
      • Read This First
      • SSO
        • Authenticate
        • Refresh Session
      • Application
        • GetContext App
        • GetContext User
        • Submit My Application
        • Notify Application Status
      • Document
        • Upload Document
        • Retrieve Document
      • Proxy
        • Get Reference Data from Entity
      • DesignTime
        • Upload Application Schema
    • Rules Engines
      • Payment
  1. Payment

GetMyPastPayments

Integrating
POST
/payment/v1/payments/past
Last modified:2024-10-02 07:56:20
OperationId:GetMyPastPayments

Request

Authorization
Add parameter in header
X-API-Key
Example:
X-API-Key: ********************
Header Params

Body Params application/json

Example
{
    "requestControl": {
        "limit": 10,
        "page": 1,
        "returnQuotation": true,
        "returnQuotationFeeDetails": true,
        "returnPaymentAudit": false,
        "returnTransaction": false
    },
    "query": {
        "userId": "5c9b07d7-a9e4-49e4-9b83-5e64b7fd868e",
        "dulNumber": "4745924601272",
        "serviceId": "b4110ed3-ddc6-44ac-8783-63e63c724407",
        "applicationId": "08e7c7ec-a40a-4310-b605-4c2c435854ca",
        "entityId": "RTA",
        "entityName": "Schmitt - Leuschke",
        "quoteOnMin": "2024-10-01T14:45:21.890Z",
        "quoteOnMax": "2024-10-01T14:34:17.578Z",
        "amountMin": -89480758.2627271,
        "amountMax": 1988038.801142931,
        "status": "completed"
    },
    "sort": {
        "by": "ServiceName",
        "order": "ASC"
    },
    "search": {
        "by": [
            "enim laboris ut Ut",
            "dolore in aliqua exercitation mollit",
            "velit dolore nisi in Lorem"
        ],
        "text": "dolor"
    }
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/payment/v1/payments/past' \
--header 'X-Request-ID: {% faker datatype.uuid %}' \
--header 'x-IID-Sid: {% faker datatype.uuid %}' \
--header 'X-IID-TraceId: {% faker datatype.uuid %}' \
--header 'x-IID-Usr-CorrelationId: userid' \
--header 'Content-Type: application/json' \
--header 'X-API-Key;' \
--data-raw '{
    "requestControl": {
        "limit": 10,
        "page": 1,
        "returnQuotation": true,
        "returnQuotationFeeDetails": true,
        "returnPaymentAudit": false,
        "returnTransaction": false
    },
    "query": {
        "userId": "5c9b07d7-a9e4-49e4-9b83-5e64b7fd868e",
        "dulNumber": "4745924601272",
        "serviceId": "b4110ed3-ddc6-44ac-8783-63e63c724407",
        "applicationId": "08e7c7ec-a40a-4310-b605-4c2c435854ca",
        "entityId": "RTA",
        "entityName": "Schmitt - Leuschke",
        "quoteOnMin": "2024-10-01T14:45:21.890Z",
        "quoteOnMax": "2024-10-01T14:34:17.578Z",
        "amountMin": -89480758.2627271,
        "amountMax": 1988038.801142931,
        "status": "completed"
    },
    "sort": {
        "by": "ServiceName",
        "order": "ASC"
    },
    "search": {
        "by": [
            "enim laboris ut Ut",
            "dolore in aliqua exercitation mollit",
            "velit dolore nisi in Lorem"
        ],
        "text": "dolor"
    }
}'

Responses

🟢200Success
application/json
Body

Example
{
    "status": 200,
    "externalId": "581e41ef-24ce-40e5-9dd2-cd78f8ddb03f",
    "esbUUID": "46024d37-6948-43e0-9e5e-4ee514371f0a",
    "desc": {
        "code": "64385-8192",
        "en": "Success",
        "ar": "نجاح"
    },
    "page": {
        "total": 8710,
        "limit": 34499,
        "page": 8220
    },
    "myPastPayments": [
        {
            "paymentId": "f96fd6aa-5d35-4ba2-ba6d-77ce88eeff91",
            "lastExternalRefId": "988c5643-f11b-4eee-8ab8-a9475b270e49",
            "paidThru": "DubaiPay",
            "paidBy": "6cc6f122-6f8f-4bcb-9eec-d35a9bf515f4",
            "paymentAudit": [
                {
                    "executedBy": "230e3272-b515-474d-9e5c-ccc309896c85",
                    "executedOn": "2024-10-01T22:55:36.512Z",
                    "externalOps": "DetailsByPaymentId",
                    "message": "generate neural feed",
                    "code": "11125",
                    "externalStatus": "new",
                    "externalRefId": "46efb04c-dbca-4094-a985-3f94e6a07829"
                },
                {
                    "executedBy": "ad0063e0-0acc-4cec-8feb-9f7d56bfc95c",
                    "executedOn": "2024-10-02T09:32:58.720Z",
                    "externalOps": "Register",
                    "message": "generate wireless pixel",
                    "code": "16775-4550",
                    "externalStatus": "new",
                    "externalRefId": "06ec6760-07f6-4278-aa3c-0d291c5ca8ee"
                }
            ],
            "quotations": [
                {
                    "invoiceId": "3b0e91ab-7c2b-458f-b8f0-f7c0e2e8f47a",
                    "dulNumber": "272164088648448",
                    "quotedBy": "0fac4b97-c3d4-4832-b380-5be74b911a35",
                    "pricedBy": "DET",
                    "serviceId": "11a2b242-9362-45f0-988d-dcb66f07183b",
                    "serviceName": "Refined Frozen Ball",
                    "applicationId": "fab38e26-ae8f-4ee7-94fc-10c853d47633",
                    "entityId": "RTA",
                    "payType": "PayToSubmit",
                    "total": -10957246.82255885,
                    "totalItem": 14378,
                    "currency": "GYD",
                    "quotedOn": "2024-10-01T15:35:34.497Z",
                    "expiredOn": "2024-10-02T03:07:32.609Z",
                    "status": "Pending Payment",
                    "availableActions": [
                        "dolore sint anim ex",
                        "minim aliquip sint cillum",
                        "dolore velit proident"
                    ],
                    "items": [
                        {
                            "itemId": "597932457312092",
                            "itemName": "Oriental Frozen Bike",
                            "beneficiaryId": "RTA",
                            "beneficiaryName": "Quitzon - Vandervort",
                            "amount": 39417427.84947157,
                            "description": "Ergonomic executive chair upholstered in bonded black leather and PVC padded seat and back for all-day comfort and support"
                        },
                        {
                            "itemId": "571252209450565",
                            "itemName": "Awesome Cotton Shirt",
                            "beneficiaryId": "RTA",
                            "beneficiaryName": "Reichel, Hackett and Flatley",
                            "amount": -68878739.64672226,
                            "description": "The automobile layout consists of a front-engine design, with transaxle-type transmissions mounted at the rear of the engine and four wheel drive"
                        },
                        {
                            "itemId": "355624818065239",
                            "itemName": "Sleek Bronze Soap",
                            "beneficiaryId": "RTA",
                            "beneficiaryName": "Borer, Lehner and Bauch",
                            "amount": 33270251.921926647,
                            "description": "The automobile layout consists of a front-engine design, with transaxle-type transmissions mounted at the rear of the engine and four wheel drive"
                        }
                    ]
                },
                {
                    "invoiceId": "5b044129-e037-41f4-b691-f328acb331cc",
                    "dulNumber": "974901816495405",
                    "quotedBy": "01a714c2-6bfa-4873-99d9-edf385e5ee62",
                    "pricedBy": "DET",
                    "serviceId": "bab80e20-8973-47b7-a0e4-6ed8a78407e7",
                    "serviceName": "Bespoke Plastic Pants",
                    "applicationId": "89b227b8-6630-4ea3-aa96-27f818e932bd",
                    "entityId": "RTA",
                    "payType": "PayToApply",
                    "total": 48474408.27354425,
                    "totalItem": 84803,
                    "currency": "SGD",
                    "quotedOn": "2024-10-01T23:03:14.387Z",
                    "expiredOn": "2024-10-02T00:41:47.563Z",
                    "status": "Pending Payment",
                    "availableActions": [
                        "nisi",
                        "veniam dolore in enim quis",
                        "do labore dolore in"
                    ],
                    "items": [
                        {
                            "itemId": "459069299797258",
                            "itemName": "Small Rubber Shoes",
                            "beneficiaryId": "RTA",
                            "beneficiaryName": "Halvorson, Hahn and Boyer",
                            "amount": -18616258.345035017,
                            "description": "The automobile layout consists of a front-engine design, with transaxle-type transmissions mounted at the rear of the engine and four wheel drive"
                        },
                        {
                            "itemId": "369566098474751",
                            "itemName": "Licensed Bronze Pants",
                            "beneficiaryId": "RTA",
                            "beneficiaryName": "Swaniawski - Connelly",
                            "amount": 91849454.74500698,
                            "description": "The Nagasaki Lander is the trademarked name of several series of Nagasaki sport bikes, that started with the 1984 ABC800J"
                        },
                        {
                            "itemId": "731090791623734",
                            "itemName": "Sleek Soft Car",
                            "beneficiaryId": "RTA",
                            "beneficiaryName": "Shanahan, Balistreri and Effertz",
                            "amount": -59468758.49599738,
                            "description": "Andy shoes are designed to keeping in mind durability as well as trends, the most stylish range of shoes & sandals"
                        }
                    ]
                },
                {
                    "invoiceId": "80181748-adb9-4c3d-b854-1b98f70cc95c",
                    "dulNumber": "318592838675780",
                    "quotedBy": "de08b6ba-df64-4971-934f-6aed8ba43f63",
                    "pricedBy": "DET",
                    "serviceId": "d3f9d5a8-703a-464b-ac73-e6a05d444be5",
                    "serviceName": "Licensed Cotton Salad",
                    "applicationId": "99f169ce-f59b-4cad-a832-52937bab5122",
                    "entityId": "RTA",
                    "payType": "PayToFulfill",
                    "total": -9947252.464180961,
                    "totalItem": 37045,
                    "currency": "EUR",
                    "quotedOn": "2024-10-01T14:06:33.070Z",
                    "expiredOn": "2024-10-02T07:17:01.691Z",
                    "status": "Pending Payment",
                    "availableActions": [
                        "Lorem sit do",
                        "occaecat deserunt commodo culpa irure"
                    ],
                    "items": [
                        {
                            "itemId": "345005582658456",
                            "itemName": "Intelligent Granite Bacon",
                            "beneficiaryId": "RTA",
                            "beneficiaryName": "Nader LLC",
                            "amount": -86664672.1570702,
                            "description": "New range of formal shirts are designed keeping you in mind. With fits and styling that will make you stand apart"
                        }
                    ]
                }
            ],
            "transactions": [
                {
                    "invoiceId": "b89b519e-ec9e-4331-8a2f-fb432aa0f839",
                    "spCode": "DET",
                    "spTrn": "36f37779-99d0-4ad8-94fd-eba72da42ea7",
                    "degTrn": "152a481e-9b4c-42cf-95fc-81feb104e7c5",
                    "servCode": "49379",
                    "transactOn": "2024-10-01T11:13:57.840Z",
                    "transactBy": "bf9deba5-ba00-42bc-8534-4bb917ccef05",
                    "channel": "104",
                    "description": "Neque consequuntur qui iure aliquid. Fuga eaque facere optio ex. Laboriosam sapiente amet totam quia.",
                    "type": "auth",
                    "version": "enim adipisicing sed",
                    "settlementType": "private",
                    "paymentMethod": "Credit Card",
                    "message": {
                        "code": "12444",
                        "text": "in non cupidatat enim"
                    }
                },
                {
                    "invoiceId": "d27ae461-9b7d-4a51-b895-5d18ed6dc611",
                    "spCode": "DET",
                    "spTrn": "aa651c02-3bb3-47da-9e2b-b3b6cb9425a9",
                    "degTrn": "8c5b51f6-cca3-47ef-88c6-b04fecd34eed",
                    "servCode": "41853-5745",
                    "transactOn": "2024-10-02T03:08:37.143Z",
                    "transactBy": "c9d16094-222c-40af-8def-224838bb6c1f",
                    "channel": "101",
                    "description": "Odio temporibus molestiae culpa doloremque. Dolores accusantium quisquam enim consequatur delectus aut quisquam assumenda. Sit odio maiores explicabo suscipit suscipit molestiae eum voluptatum mollitia. Eum deleniti delectus vel iure ipsam aut corporis. Optio dignissimos modi voluptate quo beatae reprehenderit illum autem cupiditate.",
                    "type": "auth",
                    "version": "in dolore",
                    "settlementType": "gov",
                    "paymentMethod": "Credit Card",
                    "message": {
                        "code": "74813-4627",
                        "text": "Ut consectetur nulla dolor ipsum"
                    }
                },
                {
                    "invoiceId": "81aa76a7-c4ef-4903-98c9-06a91f8990cd",
                    "spCode": "DET",
                    "spTrn": "e1dbd7e3-4b6b-426c-a22a-af8ca806818a",
                    "degTrn": "f34fe9c9-6c69-43da-8d21-4beb2ed84ffa",
                    "servCode": "74184",
                    "transactOn": "2024-10-01T18:36:05.376Z",
                    "transactBy": "15d2fc44-3f72-4caa-a4e3-4a617a4669f2",
                    "channel": "102",
                    "description": "Provident voluptate enim perferendis quisquam debitis odit iste. At corporis deleniti suscipit nulla. Nesciunt similique sed. Alias reprehenderit magni officia similique nam perferendis. Rem suscipit unde ab corrupti sint. Incidunt beatae sunt temporibus aliquam.",
                    "type": "sale",
                    "version": "ipsum",
                    "settlementType": "private",
                    "paymentMethod": "Credit Card",
                    "message": {
                        "code": "60273",
                        "text": "magna"
                    }
                }
            ]
        }
    ]
}
Modified at 2024-10-02 07:56:20
Previous
GetMyDuePayments
Next
GetMyPaymentDetails
Built with