List of collection links
This endpoint allows you to list the created collection links
Authorization
authorization
AuthorizationBearer <token>
In: header
Query Parameters
page_number?integer
Number of the page
Default
1Range
1 <= valueExample
1page_size?integer
Amount of registers that must be listed by page
Default
10Range
10 <= value <= 500Example
10external_id?string
Filter by external id field
reference?string
Filter by reference field, it works as not exact filter and must be sent 4 characters at least.
Length
4 <= lengthenabled?boolean
Filter by enabled field
payer?object
Filter by payer info
inserted_at?object
Filter by a range of date/time
expires_at?object
Filter by expires_at field, it works as with range of date/time.
sort?object
Sorts the collection links according to the types and fields.
Default
{"field":"inserted_at","type":"desc"}Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://api.cert.monoban.co/v1/collection_links"{
"collection_links": [
{
"account_id": "acc_5tgliBmzjZ6mpQPRbQjfKj",
"amount": {
"amount": 100000000,
"currency": "COP"
},
"amount_validation": "free",
"enabled": false,
"expires_at": "2022-01-01T01:00:00Z",
"external_id": "37979c4d-9a6b-40de-b258-42e62f7ee4f1",
"id": "clink_5tgliBmzjZ6mpQPRbQjfKj",
"inserted_at": "2022-01-01T01:00:00Z",
"link": "https://cuentamono.com/collections/0nhhhaDS62th4QyoS6oi8h",
"payer": {
"document_number": "string",
"document_type": "CC",
"email": "someone@gmail.com",
"name": "string",
"note": {
"editable": false,
"required": false,
"value": "string"
},
"phone": "+573000000000"
},
"realtime_transfer": false,
"redirect_url": "https://www.mono.la/",
"reference": {
"editable": false,
"required": false,
"value": "string"
},
"successful_payments": 1,
"updated_at": "2022-01-01T01:00:00Z",
"usage_type": "single_use"
}
],
"pagination": {
"page_number": 1,
"page_size": 10,
"total_items": 100,
"total_pages": 10
}
}{
"code": "400 Bad Request",
"errors": [
{
"error_code": "validation_error",
"message": "Generic changeset errors",
"path": null,
"url": null
}
],
"id": "log_7MkWaFqvfosB8fzHhb1Eql",
"message": "Malformed request"
}{
"code": "401 Unauthorized",
"errors": [
{
"error_code": "expired_token",
"message": "The token is expired, inactive, or doesn't exist.",
"path": null,
"url": null
}
],
"id": "log_7MkWaFqvfosB8fzHhb1Eql",
"message": "Authorization header is missing or invalid."
}{
"code": "403 Forbidden",
"errors": [
{
"error_code": "not_authorized",
"message": "Not authorized to have access to this resource.",
"path": null,
"url": null
}
],
"id": "log_7MkWaFqvfosB8fzHhb1Eql",
"message": "Not authorized to have access to this resource"
}{
"code": "422 Unprocessable Entity",
"errors": [
{
"error_code": "missing_field",
"message": "The field is missing on the request body or parameters.",
"path": "#/path/to/field",
"url": null
}
],
"id": "log_7MkWaFqvfosB8fzHhb1Eql",
"message": "Validation errors"
}