Skip to content
API documentation

Changelog

Version 1.4.0

For partners who collect exam fees themselves. An application can carry your own externalRef, the application lists can be filtered by it and by payment status, and a settled payment shows the reference Main Team confirms it with. Nothing is removed; code written against 1.3.0 keeps working.

Added

Changed

  • How you receive your credentials: Main Team emails a one-time link, never the secret. The link shows apiKey and apiSecret once you click "Show credentials", expires 24 hours after it is created, is replaced by any newer link, and should be destroyed once you have saved the values. Documentation only; no operation changed.
  • On hilingua, the rule that stops a student holding two exams on one sitting is keyed by language instead of by category. A student can now hold several languages in one Language Competition sitting; the same language twice on one sitting is refused with 409 conflict, Student already has an application for <language> on this sitting. The same language cannot be sat twice on one date. A sitting held in the student's local time (Essay Writing) takes one exam in all and keeps the category message. listAvailableExams, createApplication and updateApplication follow the same rule. Every other organization is unchanged.

Removed

  • The Client libraries pages of the partner documentation (the overview, Node.js and PHP): the libraries were never published. Build your own client stays, now among the guides. GET /v1/docs/clients answers 301 to it. No operation changed.

Fixed

Release notes

Version 1.4.0 adds one optional request field, two optional list filters and two response fields, and removes nothing. Code written against 1.3.0 keeps working without a change.

Your own reference on an application

createApplication takes an optional externalRef, your own reference for the entry, such as the order number your site charged the student under. It is kept on the application and returned by every application operation. Once set it does not change: a repeat of the create with the same reference, or none, answers 200 as before, and a repeat with a different one answers 409 conflict. A repeat for an application created earlier without a reference sets it. See Your own reference.

Filtering the application lists

listApplications, listExamApplications and listStudentApplications take ?externalRef= and ?paymentStatus=pending|paid|canceled. paymentStatus=pending lists what is still to be paid. See Filter the lists.

The payment reference

On the application reads, a paid payment settled through a transaction carries reference, for example stx-6718a2f4c1d3e: the code Main Team quotes when it confirms a payment. Payments settled together share one.

Settling payments yourself

A new guide, Settling payments, describes the whole flow for partners who collect exam fees on their own site and pay Main Team by bank transfer: create the application, send Main Team a settlement list with the transfer, read the payments back as paid, and only then let the student sign in.

Amounts are in cents

price and payment.amount have always been whole numbers in the smallest unit of the currency: 2500 is 25.00. The documentation's examples showed 25; they now show what the API returns.

Receiving your credentials

Main Team now emails you a one-time link to your apiKey and apiSecret, never the secret itself. The link expires 24 hours after it is created; destroy it once you have saved the values. See How you receive them.

Search the API documentation

Guides, endpoints by name, path or permission, and error codes such as not_found.