Retrieves a list of collections for a specific university.\n\nTo send this request, you must provide a university ID in the request path.\n\nThe collections included in the response can be filtered by university account ID, full or partial collection and student ID, creation date, payment method, and status.\n\nYou can also sort the collections in descending or ascending order by their creation date and return the total amount for all retrieved collections.
OAuth Grant type, Private JWT
Client ID header
University ID to be used in the query
Maximum number of rows to be included on each page in the response.\n\nFewer rows can be returned, if the query does not yield that many.
Pagination identifier that is returned to the app by the API response when this uses the HATEOAS '_prev' or '_next' links.\n\nThe app can navigate from the last returned page to the next or previous page, or to the first page if no offset is specified, but to no other pages.
Sorting order for the retrieved collections.\n\nThe possible values are:\n- +created_at = Ascending order by creation date\n- -created_at = Descending order by creation date\n\nThe default value is '-created_at'.
University account ID associated with the collections to be included in the response.\n\nThe university account ID represents an account created within the One Trade system that is associated with a university. A university can have multiple accounts within the One Trade system.
Full or partial collection ID for the collections to be included in the response
Full or partial student ID associated with the collections to be included in the response, in the format defined in the 'student_id_type' parameter
Format used for the student ID in the 'student_id' parameter.\n\nThe possible values are:\n- uuid = Internal UUID\n- external = External ID\n\nThe default value is 'uuid'.
Whether the student associated with the collections to be included in the response needs to be a full or partial match to the student ID provided in the 'student_id' parameter.\n\nThe possible values are:\n- like = Student ID can be a partial match\n- equal = Student ID must be an exact match
Start date and time for the period from which collections are to be included in the response, based on their creation date.\n\nThe value uses the data format defined in ISO 8601 and is expressed in UTC time:\n\n'YYYY-MM-DDThh:mm:ss.sssZ'
End date and time for the period from which collections are to be included in the response, based on their creation date.\n\nThe value uses the data format defined in ISO 8601 and is expressed in UTC time:\n\n'YYYY-MM-DDThh:mm:ss.sssZ'
Payment method for the collections to be included in the response.\n\nThe possible values are:\n- EU_TRANSFER = Payment is made through the student's virtual account\n- CREDIT_AND_DEBIT_CARD = Payment is made directly by credit or debit card
Whether the total amount for all retrieved collections is to be included in the response.\n\nIf the value is true, the '_amount' element is included in the response.
Status of the collections to be included in the response. The possible values are:
- IN_PROGRESS = Student has not yet executed the payment
- COMPLETED = Student has executed the payment, the university has acknowledged receipt of the funds
- UNMATCHED_AMOUNT = Amount received by the university from the student does not match the collection amount
- CARD_PAYMENT_SUCCESS = Successful card payment received
- CARD_PAYMENT_FAILED = Failed card payment received
- LOCALLY_PAID = Local payment received
- REJECTED = Money from locally paid collection could not be transferred to final account
- REFUNDED = The payment has been refunded to the original payment method
Minimum amount to be included in the response. Filters by expected collection amount.\n\nThe value must be greater than or equal to 0.
Maximum amount to be included in the response. Filters by expected collection amount.\n\nThe value must be less than or equal to 2147483647.
Minimum amount to be included in the response. Filters by payment amount.\n\nThe value must be greater than or equal to 0
Maximum amount to be included in the response. Filters by payment amount.\n\nThe value must be less than or equal to 2147483647.
Query param (string, split by comma). Hydrates the collection response. Possible values for this query are:
card_payment_history
University collections response
{
"data": [
{
"id": "9c485e92-9c25-41e2-b6a5-a54381716670",
"universityId": "pagonxt_esES97452M83D",
"paymentLinkId": "V1PELwCuelhKCr",
"isSelfPayed": false,
"status": "IN_PROGRESS",
"expectedAmount": "1500",
"currency": "EUR",
"originCountryId": "AR",
"externalPaymentReference": "REF",
"payment": {
"amount": "1500",
"transactionId": "693f01e4-9150-4a73-8fe2-ee9843f9535e",
"currency": "EUR",
"valueDate": "2022-03-14T12:00:00.000Z",
"reference": "123-FDSFEFE",
"paymentMethod": "EU_TRANSFER",
"originCountry": "Argentina",
"cardTransactionId": "693f01e4-9150-4a73-8fe2-ee9843f9535e",
"merchantOrderNumber": "2507b89c-b680-46df-9505-e0b6f78cf295",
"refundData": {
"amount": "1500",
"transactionId": "693f01e4-9150-4a73-8fe2-ee9843f95123",
"operationId": "693f01e4-9150-4a73-8fe2-ee9843f95123",
"currency": "EUR"
}
},
"payer": {
"id": "f7815b9f-3628-468c-a8ef-8d195ff45768",
"firstName": "Emanuel David",
"lastName": "Ginóbili",
"email": "emanuelgi@nba.com",
"relationship": "Father",
"birthDate": "1970-01-01T00:00:00.000Z",
"residenceCountryId": "ES",
"nationalityCountryId": "ES",
"passportNumber": "12312312A",
"residentId": "12345678A",
"residentType": "PRC"
},
"student": {
"id": "693f01e4-9150-4a73-8fe2-ee9843f9535e",
"firstName": "George",
"lastName": "Washington",
"externalId": "12345678ABC",
"iban": "GB59PAGO72899000000081",
"email": "georgewashington@wh.gov",
"universityAccountId": "2507b89c-b680-46df-9505-e0b6f78cf333",
"residentId": "477376197205082595",
"residentType": "PRC",
"documentId": "E59659321",
"documentType": "PASSPORT"
},
"cardPaymentHistory": [
{
"amount": "1050.5",
"type": "GETNET",
"currency": "EUR",
"cardTransactionId": "59f85645-7021-42a7-b8e7-5db617608da6",
"merchantOrderNumber": "8294b53b-1171-461b-bb23-ade995a9e348",
"createdAt": "2023-10-20T13:22:07.450Z",
"status": "SUCCESS",
"statuses": [
{
"code": "201.0000",
"severity": "information",
"description": "3d-acquirer:The resource was successfully created."
},
{
"code": "500.1074",
"severity": "warning",
"description": "3d-acquirer:System unavailable: The MPI system is not reachable. The 3-D secure process cannot be verified."
}
]
}
],
"validInformation": false,
"conditionsPrivacy": false,
"reference": "1998II157KAU04660243",
"expirationDate": "2022-04-14T12:00:00.000Z",
"createdAt": "2022-03-14T12:00:00.000Z",
"updatedAt": "2022-03-14T12:00:00.000Z"
}
],
"_count": "1",
"_links": {
"_last": "/universities/9c485e92-9c25-41e2-b6a5-a54381716670/collections?_offset=1&_limit=1&_sort=-created_at",
"_next": "/universities/9c485e92-9c25-41e2-b6a5-a54381716670/collections?_offset=1&_limit=1&_sort=-created_at"
}
}{
"data": [
{
"id": "9c485e92-9c25-41e2-b6a5-a54381716670",
"universityId": "pagonxt_esES97452M83D",
"paymentLinkId": "V1PELwCuelhKCr",
"isSelfPayed": false,
"status": "IN_PROGRESS",
"expectedAmount": "1500",
"currency": "EUR",
"originCountryId": "AR",
"externalPaymentReference": "REF",
"payment": {
"amount": "1500",
"transactionId": "693f01e4-9150-4a73-8fe2-ee9843f9535e",
"reference": "123-FDSFEFE",
"valueDate": "2022-03-14T12:00:00.000Z",
"currency": "EUR",
"paymentMethod": "EU_TRANSFER",
"originCountry": "Argentina",
"cardTransactionId": "693f01e4-9150-4a73-8fe2-ee9843f9535e",
"merchantOrderNumber": "693f01e4-9150-4a73-8fe2-ee9843f9535e",
"refundData": {
"amount": "1500",
"transactionId": "693f01e4-9150-4a73-8fe2-ee9843f95123",
"operationId": "693f01e4-9150-4a73-8fe2-ee9843f95123",
"currency": "EUR"
}
},
"payer": {
"id": "f7815b9f-3628-468c-a8ef-8d195ff45768",
"firstName": "Emanuel David",
"lastName": "Ginóbili",
"email": "emanuelgi@nba.com",
"relationship": "Father",
"birthDate": "1970-01-01T00:00:00.000Z",
"residenceCountryId": "ES",
"nationalityCountryId": "ES",
"passportNumber": "12312312A",
"residentId": "12312312A",
"residentType": "PRC"
},
"student": {
"id": "693f01e4-9150-4a73-8fe2-ee9843f9535e",
"firstName": "George",
"lastName": "Washington",
"externalId": "12345678ABC",
"iban": "GB59PAGO72899000000081",
"email": "georgewashington@wh.gov",
"universityAccountId": "2507b89c-b680-46df-9505-e0b6f78cf333",
"residentId": "477376197205082595",
"residentType": "PRC",
"documentId": "E59659321",
"documentType": "PASSPORT"
},
"cardPaymentHistory": [
{
"amount": "1050.5",
"type": "GETNET",
"currency": "EUR",
"cardTransactionId": "59f85645-7021-42a7-b8e7-5db617608da6",
"merchantOrderNumber": "8294b53b-1171-461b-bb23-ade995a9e348",
"createdAt": "2023-10-20T13:22:07.450Z",
"status": "SUCCESS",
"statuses": [
{
"code": "201.0000",
"severity": "information",
"description": "3d-acquirer:The resource was successfully created."
},
{
"code": "500.1074",
"severity": "warning",
"description": "3d-acquirer:System unavailable: The MPI system is not reachable. The 3-D secure process cannot be verified."
}
]
}
],
"validInformation": false,
"conditionsPrivacy": false,
"reference": "1998II157KAU04660243",
"expirationDate": "2022-04-14T12:00:00.000Z",
"createdAt": "2022-03-14T12:00:00.000Z",
"updatedAt": "2022-03-14T12:00:00.000Z"
}
],
"_count": "1",
"_links": {
"_last": "/universities/9c485e92-9c25-41e2-b6a5-a54381716670/collections?with_amount=true&_offset=1&_limit=1&_sort=-created_at",
"_next": "/universities/9c485e92-9c25-41e2-b6a5-a54381716670/collections?with_amount=true&_offset=1&_limit=1&_sort=-created_at"
},
"_amount": "1500"
}UniversityCollectionsListResponse schema
data list
University collection
Unique collection ID generated by One Trade
University ID.\n\nThe value is the university ID used in the request path.
Unique payment link ID generated by One Trade
Expected total amount to be payed
Currency code.\n\nThe value is in the alpha-3 format defined in ISO 4217 (https://www.iso.org/iso-4217-currency-codes.html).
Country code of the account identifier The value is based on the ISO 3166-1 alpha-2 (https://www.iso.org/obp/ui/#search/code/).'
Unique ID
Data structure containing details of the related received payment
Amount
Unique identifier generated by One Trade for the received payment.
Currency code.\n\nThe value is in the alpha-3 format defined in ISO 4217 (https://www.iso.org/iso-4217-currency-codes.html).
Reference of payment
Date of the payment
Payment method name. Each payment method must be enabled for the client if you want to use it.
Unique identifier generated by the card payment processor for the received card payment. Only applicable to collections with payment type VISA_MASTERCARD.
Unique identifier supplied by the merchant for the card payment. Only applicable to collections with payment type VISA_MASTERCARD.
Country where the account from which the payment is made is located
Refund transaction data
Amount
Unique identifier generated by One Trade for the received payment.
Unique identifier generated by One Trade for the collection refund operation.
Currency code.\n\nThe value is in the alpha-3 format defined in ISO 4217 (https://www.iso.org/iso-4217-currency-codes.html).
Whether the collection is paid by the student
The possible values are:
- IN_PROGRESS = Student has not yet executed the payment
- COMPLETED = Student has executed the payment, the university has acknowledged receipt of the funds
- UNMATCHED_AMOUNT = Amount received by the university from the student does not match the collection amount
- CARD_PAYMENT_SUCCESS = Successful card payment received
- CARD_PAYMENT_FAILED = Failed card payment received
- LOCALLY_PAID = Local payment received
- REJECTED = Money from locally paid collection could not be transferred to final account
- REFUNDED = The payment has been refunded to the original payment method
Data structure containing payer details
Unique payer ID generated by One Trade
Payer's first name
Payer's last name
Payer's email address
Relationship with student
Date of birth
Country code of the account identifier The value is based on the ISO 3166-1 alpha-2 (https://www.iso.org/obp/ui/#search/code/).'
Country code of the account identifier The value is based on the ISO 3166-1 alpha-2 (https://www.iso.org/obp/ui/#search/code/).'
Passport identification
Resident identifier
The possible values are:
- PRC People's Republic of China Foreign Permanent Resident ID Card
Data structure containing student details
Unique student ID generated by One Trade
Student's first name
Student's last name
Student's external ID used to identify the student in the university system
IBAN of the virtual account that has been automatically generated and assigned to the student.\n\nThe student makes payments for their course to the university into this account.
Student's email address
Related university e-money account's internal account ID.
Resident identifier
The possible values are:
- PRC People's Republic of China Foreign Permanent Resident ID Card
Resident identifier
The possible values are:
- DNI Spanish national identity document
- PASSPORT
Whether the student has confirmed on the payment form that the information provided is valid
Card payment tracking history
Data structure containing card payment history details
Amount
Card payment providers
Currency code.\n\nThe value is in the alpha-3 format defined in ISO 4217 (https://www.iso.org/iso-4217-currency-codes.html).
Universally unique ID
Universally unique ID
Date and time when the collection was created.\n\nThe value uses the data format defined in ISO 8601 and is expressed in UTC time:\n\n'YYYY-MM-DDThh:mm:ss.sssZ'
Card payment status
Array of payment statuses
Data structure containing provider payment status
Generic text
Generic text
Generic text
Whether the student has accepted the privacy conditions on the payment form
Algorithm based reference for bank transfers in Mexico
Expiration date 1 month set by default from the date of creation
Date and time when the collection was created.\n\nThe value uses the data format defined in ISO 8601 and is expressed in UTC time:\n\n'YYYY-MM-DDThh:mm:ss.sssZ'
Date and time when the collection was updated.\n\nThe value uses the data format defined in ISO 8601 and is expressed in UTC time:\n\n'YYYY-MM-DDThh:mm:ss.sssZ'
Number of records in the list
Data structure containing the links for moving between the list pages
Link to the first page of the list.\n\nThe exact value depends on the data to be accessed.\n\nThe exact content of the page depends on the input parameters provided in the request, such as the offset.
Link to the last page of the list.\n\nThe exact value depends on the data to be accessed.\n\nThe exact content of the page depends on the input parameters provided in the request, such as the offset.
Link to the previous page of the list.\n\nThe exact value depends on the data to be accessed.\n\nThe exact content of the page depends on the input parameters provided in the request, such as the offset.
Link to the next page of the list.\n\nThe exact value depends on the data to be accessed.\n\nThe exact content of the page depends on the input parameters provided in the request, such as the offset.
Amount of the filtered collections
No content
Bad request
{
"errors": [
{
"code": "BAD_REQUEST",
"level": "FATAL",
"message": "Bad Request",
"description": "Error validating schema"
}
]
}Data structure containing the details for errors
Array of errors
Data structure containing the error details
Unique alphanumeric human readable error code
Brief summary of the reported issue
Level of the reported issue. The possible values are.
- ERROR
- FATAL
- INFO
- WARNING
Detailed description of the reported issue
Unauthorized
{
"errors": [
{
"code": "UNAUTHORIZED",
"message": "Unauthorized",
"level": "ERROR",
"description": "Unauthorized description"
}
]
}Data structure containing the details for errors
Array of errors
Data structure containing the error details
Unique alphanumeric human readable error code
Brief summary of the reported issue
Level of the reported issue. The possible values are.
- ERROR
- FATAL
- INFO
- WARNING
Detailed description of the reported issue
Forbidden
{
"errors": [
{
"code": "FORBIDDEN",
"level": "FATAL",
"message": "Forbidden",
"description": "Forbidden description"
}
]
}Data structure containing the details for errors
Array of errors
Data structure containing the error details
Unique alphanumeric human readable error code
Brief summary of the reported issue
Level of the reported issue. The possible values are.
- ERROR
- FATAL
- INFO
- WARNING
Detailed description of the reported issue
Not found
{
"errors": [
{
"code": "NOT_FOUND",
"level": "FATAL",
"message": "Not Found",
"description": "Not Found description"
}
]
}Data structure containing the details for errors
Array of errors
Data structure containing the error details
Unique alphanumeric human readable error code
Brief summary of the reported issue
Level of the reported issue. The possible values are.
- ERROR
- FATAL
- INFO
- WARNING
Detailed description of the reported issue
Not Acceptable
{
"errors": [
{
"code": "NOT_ACCEPTABLE",
"level": "FATAL",
"message": "Not Acceptable",
"description": "Not Acceptable description"
}
]
}Data structure containing the details for errors
Array of errors
Data structure containing the error details
Unique alphanumeric human readable error code
Brief summary of the reported issue
Level of the reported issue. The possible values are.
- ERROR
- FATAL
- INFO
- WARNING
Detailed description of the reported issue
Payload Too Large
{
"errors": [
{
"code": "PAYLOAD_TOO_LARGE",
"level": "FATAL",
"message": "Payload Too Large",
"description": "Payload Too Large description"
}
]
}Data structure containing the details for errors
Array of errors
Data structure containing the error details
Unique alphanumeric human readable error code
Brief summary of the reported issue
Level of the reported issue. The possible values are.
- ERROR
- FATAL
- INFO
- WARNING
Detailed description of the reported issue
URI Too Long
{
"errors": [
{
"code": "URI_TOO_LONG",
"level": "FATAL",
"message": "URI Too Long",
"description": "URI Too Long description"
}
]
}Data structure containing the details for errors
Array of errors
Data structure containing the error details
Unique alphanumeric human readable error code
Brief summary of the reported issue
Level of the reported issue. The possible values are.
- ERROR
- FATAL
- INFO
- WARNING
Detailed description of the reported issue
Unprocessable Entity
{
"errors": [
{
"code": "UNPROCESSABLE_ENTITY",
"level": "FATAL",
"message": "Unprocessable Entity",
"description": "Unprocessable Entity description"
}
]
}Data structure containing the details for errors
Array of errors
Data structure containing the error details
Unique alphanumeric human readable error code
Brief summary of the reported issue
Level of the reported issue. The possible values are.
- ERROR
- FATAL
- INFO
- WARNING
Detailed description of the reported issue
Too Many Requests
{
"errors": [
{
"code": "TOO_MANY_REQUESTS",
"level": "ERROR",
"message": "Too Many Requests",
"description": "Too Many Requests description"
}
]
}Data structure containing the details for errors
Array of errors
Data structure containing the error details
Unique alphanumeric human readable error code
Brief summary of the reported issue
Level of the reported issue. The possible values are.
- ERROR
- FATAL
- INFO
- WARNING
Detailed description of the reported issue
Internal server error
{
"errors": [
{
"code": "INTERNAL_SERVER_ERROR",
"level": "FATAL",
"message": "Internal server error",
"description": "Internal server error description"
}
]
}Data structure containing the details for errors
Array of errors
Data structure containing the error details
Unique alphanumeric human readable error code
Brief summary of the reported issue
Level of the reported issue. The possible values are.
- ERROR
- FATAL
- INFO
- WARNING
Detailed description of the reported issue
Service unavailable
{
"errors": [
{
"code": "SERVICE_UNAVAILABLE",
"level": "ERROR",
"message": "Service unavailable",
"description": "Service unavailable error description"
}
]
}{
"errors": [
{
"code": "fail",
"level": "ERROR",
"message": "Health check failed",
"description": "Health check failed"
}
]
}Data structure containing the details for errors
Array of errors
Data structure containing the error details
Unique alphanumeric human readable error code
Brief summary of the reported issue
Level of the reported issue. The possible values are.
- ERROR
- FATAL
- INFO
- WARNING
Detailed description of the reported issue
Gateway timeout
{
"errors": [
{
"code": "GATEWAY_TIMEOUT",
"level": "ERROR",
"message": "Gateway timeout",
"description": "Gateway timeout error description"
}
]
}Data structure containing the details for errors
Array of errors
Data structure containing the error details
Unique alphanumeric human readable error code
Brief summary of the reported issue
Level of the reported issue. The possible values are.
- ERROR
- FATAL
- INFO
- WARNING
Detailed description of the reported issue
Default error
{
"errors": [
{
"code": "INTERNAL_SERVER_ERROR",
"level": "FATAL",
"message": "Error message",
"description": "Error description"
}
]
}Data structure containing the details for errors
Array of errors
Data structure containing the error details
Unique alphanumeric human readable error code
Brief summary of the reported issue
Level of the reported issue. The possible values are.
- ERROR
- FATAL
- INFO
- WARNING
Detailed description of the reported issue