Get a collection link by ID
This endpoint allows you to get a collection link by ID
Authorization
authorization
AuthorizationBearer <token>
In: header
Path Parameters
idstring
Collection link ID (Base 62 format)
Match
^[A-Za-z]{2,6}_[\w-]{22}$Example
"clink_5tgliBmzjZ6mpQPRbQjfKj"Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://api.cert.monoban.co/v1/collection_links/clink_5tgliBmzjZ6mpQPRbQjfKj"{
"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"
}{
"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"
}