List Recurring Contracts
X-API-Key<token>
In: header
Query Parameters
filter?
limit?number
page?number
sort?string
Response Body
application/json
curl -X GET "https://example.com/payment-contracts"{ "type": "string", "code": "string", "status": 0, "message": "string", "data": { "docs": [ { "id": "string", "type": "salary", "payer": "string", "payees": [ { "_id": "string", "proProfil": "string", "role": "worker", "rate": 0, "since": "2019-08-24T14:15:22Z", "until": "2019-08-24T14:15:22Z" } ], "worker": "string", "customDays": 0, "amount": 0, "currency": "string", "paymentDay": 0, "startDate": "2019-08-24T14:15:22Z", "endDate": "2019-08-24T14:15:22Z", "status": "pending", "commissionRate": 0, "accesses": [ { "_id": "string", "targetType": "Profil", "target": "string", "role": "viewer", "grantedBy": "string", "grantedAt": "2019-08-24T14:15:22Z", "revokedAt": "2019-08-24T14:15:22Z", "status": "active" } ], "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "schedule": "one_time" } ], "totalDocs": 0, "page": 0, "totalPages": 0 }}