Direct Debits
List direct debit batch approval tasks
Changed onList all approval tasks for the given batch.
get/payments/v2beta/direct-debit-batches/{id}/approval-tasks
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:.
Query parameters
tokenstring
If a query response contains a non-empty nextToken, use that value as token query parameter to continue pagination.
limitinteger
Limit the number of items in resulting query response.
Response
A list of approval tasks.
Example response
{
"items": [
{
"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"
}
}
}
],
"nextToken": "eyIxIjogIlRoaXMgaXMgYSBkdW1teSBwYWdpbmF0aW9uIHRva2VuLiJ9",
"token": "eyIwIjogIlRoaXMgaXMgYSBkdW1teSBwYWdpbmF0aW9uIHRva2VuLiJ9",
"limit": 100
}Changes
- info
endpoint added
- info