Retrieve Payment groups by account
get/api/v2.0/accounts/{accountId}/paymentgroup
Request
- Base URLhttps://sandbox-api-baasic.transfero.com
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
versionstring required
The current version of BaaSiC API
accountIdstring required
Target withdraw account identification
Query parameters
beginDatestring
Start date for range search of payment group. This field must follow one of the patterns: YYYY-MM-dd'T'HH:mm:ss or YYYY-MM-dd HH:mm:sszzz
endDatestring
Final date for range search of payment group. This field must follow one of the patterns: YYYY-MM-dd'T'HH:mm:ss or YYYY-MM-dd HH:mm:sszzz
limitinteger
The maximum number of items returned.
offsetinteger
The page for a pagination
Headers
Authorizationstring required
The personal authentication token obtained by each user from the token authentication endpoint
Response
200
Example response
[
{
"paymentGroupId": "86571dbd-e97f-4552-ae9c-22f0e81abfba",
"totalAmount": 4000,
"numberOfPayments": 2,
"numberOfPaymentsPending": 1,
"numberOfPaymentsProcessing": 1,
"createdAt": "2020-05-14",
"createdAtDetailed": "0001-01-01T12:00:00Z"
}
]Changes
No recorded changes to this operation across all 1 revision of this API.