Organisations
Pay Runs
Get pay run
Retrieves the details for a single pay run. This will include all of the constituent batches, groups and payables. Each constituent entity will have a status which you can use to determine the current status of any payment attempt.
get/organisations/{organisationId}/pay-runs/{payRunId}
Request
- Base URLhttps://api.partners.uat.crezco.com
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
organisationIdstring uuid required
The unique Crezco ID for an organisation
payRunIdstring uuid required
The unique pay run ID for the pay run
Headers
Crezco-Versionstring
The requested API version
Response
OK
Example response
{
"partnerEntityId": "Your-Unique-ID",
"scheduledExecutionDate": "2023-07-17",
"paymentSourceId": "C86FC455-3D2C-484C-9B8A-1996B2C6DB5E",
"payables": [
{
"fundingAmount": {
"currencyCode": "GBP",
"amountInMinorUnits": 1275
},
"reference": "My-Ref-1234",
"reversedAmount": {
"currencyCode": "GBP",
"amountInMinorUnits": 1275
},
"paymentSourceId": "C86FC455-3D2C-484C-9B8A-1996B2C6DB5E"
}
],
"groups": [
{
"partnerEntityId": "Your-Unique-ID",
"partnerPayableIds": [
{
"partnerEntityId": "Your-Unique-ID"
}
],
"reference": "My-Ref-1234"
}
],
"batches": [
{
"groups": [
{
"partnerEntityId": "Your-Unique-ID"
}
],
"payables": [
{
"partnerEntityId": "Your-Unique-ID"
}
]
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.