9x Paynet OpenAPI

Access Key

Scopes, store binding, and create / list / rotate / revoke

An Access Key is a fine-grained credential under an app: bound to institution / merchant / store, with a scope that limits which payment methods it may call.

Admin methods

methodRole
access.key.createCreate; response secret appears once
access.key.listList; never returns secret
access.key.rotateRotate; old secret dies immediately; new secret once
access.key.revokeRevoke; further use of that key fails

These methods need only morph 1 RSA2.

Scopes

Set scope_id on create:

scopeTypical use
payments.read_writeQuery / place order (often “clerk”)
payments.refundRefund-capable methods (often “manager”)

Insufficient scope (e.g. clerk calling order.refund.submit) yields E07315 at the Access Key gate, not a business refund error.

On successful create, data.methods lists methods allowed for that scope.

Binding

institution_no / merchant_no / store_no on create are stored on the key.
Morph 2 requests must match that binding or you get E07314.

Secret handling

  • Persist secret only from create / rotate responses
  • A secret field on list is a server bug
  • After rotate, stop using the old secret; revoke is permanent for that key_id
  1. Create a clerk (payments.read_write) and a manager (payments.refund) with app RSA2
  2. Checkout / query with clerk; refunds with manager
  3. Rotate on a schedule; revoke on staff leave or leakage

Field examples: API Reference. Hands-on: Apifox.

On this page