Skip to Content
SpecOverview

Spec

The spec is the shared source of truth for every client: the rules, worked examples and test vectors. This section presents it.

If a client and the spec disagree, the client is wrong, or the spec needs a fix that every client then picks up.

Not official

The spec is not affiliated with, endorsed by or supported by Selcom Paytech Ltd. Where it and Selcom’s developer portal  disagree about the API itself, the portal wins.

Pages

Test vectors

The spec ships test vectors that every client must pass:

  • vectors/signing.json: signing cases and cases that must be rejected.
  • vectors/responses/: response scenarios for every operation, and webhook samples.
  • tools/: the Python reference implementation that generates them.

All credentials in the vectors are sample values or made up. None of them works against the gateway.

Source

The rules, vectors and reference implementation live in one repository: Spec repository on GitHub . Changes to the rules start there.

Last updated on