9x Paynet OpenAPI

Try with Apifox

Import this repo’s collection; contract via OpenAPI YAML

This repository ships two importable artifacts with different jobs:

FileRole
apifox/9x-Paynet-OpenAPI-AccessKey.postman_collection.jsonExecutable cases — assertions + HMAC pre-request scripts
openapi/9x-paynet-openapi-entry.openapi.yamlContract — fields, examples, error notes

Step-by-step ops (env vars, flags, case order) live in
apifox/TESTING_GUIDE.md — that is the lab manual, not this site’s narrative.

Import

  1. Apifox → Import → Postman → pick the collection JSON
  2. Optionally import the OpenAPI YAML into a separate folder for schema reference — do not overwrite executable requests
  3. Set env: baseUrl, app_id, merchant/store, etc.
  4. Recompute app RSA2 sign after every body change; morph-2 key_sign can be filled by collection scripts from secret

Collection layout (aligned with the contract)

  1. Admin — RSA2 only: create clerk / manager, list, rotate, revoke
  2. Morph-2 assertions — missing key, bad sign, wrong store, clerk vs manager refund, rotate/revoke aftermath
  3. Morph-1 payment samples — optional unified order / query

These cases exercise the same methods and error codes as the contract — not a second API.

How this relates to the docs

  • Concepts & conventions: Concepts
  • Field authority: API Reference and openapi/*.yaml
  • Click send / assert: Apifox collection + TESTING_GUIDE.md

On this page