Collections
Get All Collections
Collections
Get All Collections
List all collections
GET
/
collections
curl -X GET https://api.swervpay.co/api/v1/collections \
-H "Authorization: Bearer <TOKEN>" \
-H "Content-Type: application/json"
[
{
"account_name": "<string>",
"account_number": "<string>",
"account_type": "<string>",
"address": "<string>",
"balance": 123,
"bank_address": "<string>",
"bank_code": "<string>",
"bank_name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"id": "<string>",
"pending_balance": 123,
"reference": "<string>",
"routing_number": "<string>",
"status": "<string>",
"total_received": 123,
"updated_at": "2023-11-07T05:31:56Z"
}
]
curl -X GET https://api.swervpay.co/api/v1/collections \
-H "Authorization: Bearer <TOKEN>" \
-H "Content-Type: application/json"
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Response
200
application/json
OK
The response is of type object[]
.
Was this page helpful?
curl -X GET https://api.swervpay.co/api/v1/collections \
-H "Authorization: Bearer <TOKEN>" \
-H "Content-Type: application/json"
[
{
"account_name": "<string>",
"account_number": "<string>",
"account_type": "<string>",
"address": "<string>",
"balance": 123,
"bank_address": "<string>",
"bank_code": "<string>",
"bank_name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"id": "<string>",
"pending_balance": 123,
"reference": "<string>",
"routing_number": "<string>",
"status": "<string>",
"total_received": 123,
"updated_at": "2023-11-07T05:31:56Z"
}
]