v1
latestOpenAPI 3.0.12026-07-2428103163.2 KBOrganisations
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}
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"
}
]
}
]
}