Skip to main content

Postman Example

Postman Collection & Environment Examples

To help you quickly test the AkashicPay SecureAPI, we provide downloadable Postman Collection and Environment files.

These files are versioned — the current release is v0.2.

Downloads

  • 🔗 Collection: [AkashicPay] SecureAPI - example v0.2.postman_collection.json
  • 🔗 Environment: Testnet-SecureAPI-Env.postman_environment.json

Be sure to replace the above URLs with your actual download links.


How to Use

  1. Install Postman
  2. Import the Collection
    • Open Postman and click Import in the top left.
    • Upload the file:
      &#xNAN;[AkashicPay] SecureAPI - example.postman_collection.json
  3. Import the Environment
    • Repeat the same process for the file:
      &#xNAN;Testnet-SecureAPI-Env.postman_environment.json
    • After importing, select the environment from the dropdown in the top-right corner of Postman.
  4. Set Required Variables
    • The environment file includes the following variables:

      • IP: Base URL of the testnet API (e.g., testnet: 34.87.94.182)
      • L2Address: Your Layer 2 address — replace this with the address you received
      • PrivateKey: Your private key — replace this with the key associated with your L2Address

      Make sure to keep your private key secure. Do not share it publicly.

  5. Start Testing
    • The collection includes example requests with placeholders that will automatically use the environment variables you’ve configured.

Attachment Files

  1. Example Postman Collection Json

    🗂️
    AkashicPay__SecureAPI-_example_v0.2.postman_collection.json
    JSON
    ⬇ Download
  2. Example TestNet Environment

    🗂️
    Testnet-SecureAPI-Env.postman_environment.json
    JSON
    ⬇ Download