Direct Debits
Get direct debit batch approval task
Changed onGet the approval task with the specified ID.
get/payments/v2beta/direct-debit-batches/{id}/approval-tasks/{taskId}
Request
- Base URLhttps://api.atlar.com
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
Atlar resource ID or External ID. Prefix External IDs with external:.
taskIdstring required
Approval task ID.
Response
The approval task.
Example response
{
"id": "2ed9a3ee-60aa-4f9f-a858-2eed4eefbbc8",
"organizationId": "2ed9a3ee-60aa-4f9f-a858-2eed4eefbbc8",
"starterUserId": "2ed9a3ee-60aa-4f9f-a858-2eed4eefbbc8",
"starterRoleId": "2ed9a3ee-60aa-4f9f-a858-2eed4eefbbc8",
"errors": [
{
"code": "invalid_value",
"error": "Must be one of [direct_debits mandates payments]",
"field": "filter.0.resource",
"metadata": {
"resource": "credit_transfers",
"method": "read"
}
}
],
"created": "2022-05-04T18:31:12.889104898Z",
"updated": "2022-05-04T18:47:32.213842599Z",
"version": 1,
"input": {
"batchId": "2ed9a3ee-60aa-4f9f-a858-2eed4eefbbc8",
"action": "APPROVE",
"approver": {
"userId": "2ed9a3ee-60aa-4f9f-a858-2eed4eefbbc8"
}
}
}Changes
- info
endpoint added
- info