Skip to main content

Retrieve Payment

GET 

https://embedded.runalloy.com/2024-03/one/accounting/payments/:id

Retrieve a Payment with the given id.

Request

Path Parameters

    id stringrequired

    The ID of the payment.

Query Parameters

    credentialId stringrequired

    The ID of the credential.

Header Parameters

    Authorization stringrequired

    Default value: bearer YOUR_API_KEY

Responses

200

{
"payment": {
"id": "00000000-0000-0000-0000-000000000000",
"remoteId": "325",
"transactionDate": "2022-09-01T00:00:00.000Z",
"customerId": "00000000-0000-0000-0000-000000000000",
"vendorId": "00000000-0000-0000-0000-000000000000",
"accountId": "00000000-0000-0000-0000-000000000000",
"currency": "USD",
"exchangeRate": 1,
"companyId": null,
"totalAmount": 50,
"trackingCategoryIds": [],
"remoteCreatedAt": "2022-09-02T06:23:03.000Z",
"remoteUpdatedAt": "2023-10-11T04:48:19.000Z",
"remoteDeleted": false,
"createdAt": "2024-02-22T11:18:47.232Z",
"updatedAt": "2024-02-22T13:55:37.343Z"
}
}
curl -L 'https://embedded.runalloy.com/2024-03/one/accounting/payments/:id' \
-H 'Accept: application/json'
Request Collapse all
Base URL
https://embedded.runalloy.com/2024-03/one
Parameters
— pathrequired
— queryrequired
— headerrequired
ResponseClear

Click the Send API Request button above and see the response here!