Tuitions
Create tuition
Create Tuition
If a target country and university have been found by your user, the next step is most probably to initiate tuition payment. To achieve this, you will have to send a POST request to this endpoint:
Endpoint
{{baseurl}}/tuitions/create
Request parameters:
Field | Data Type | Description |
---|---|---|
amount | Number >= 2000 | Required. This specifies the amount of money to be paid. It must be a number greater than or equal to 2000. |
country | String | Required. The country where the university is located. |
currency | String | Required. The currency type to be used for the payment. |
student | Object (CreateBeneficiaryDto) | Required. The details of the beneficiary of the tuition payment. |
type | String: Enum SCHOOL ACCOMODATION | Required. The specific transaction type. It must be either “SCHOOL” or “ACCOMODATION”. |
university | Object Universitydto | Required. The target university the tuition is intended for. |
address | string | Address of the person paying the tuition. |
reference | string | Uniques idenfier of the user. |
saveStudent | boolean | This is a yes/no value indicating whether to save the student information for future use. |
Your request should look like this:
If you got everything right, you should get this response.