Amili Docs
Home
Products
Products
  • Debt.collection
  • Account Receivable
  • Distribution
  • Pay
Go to amili.no
Home
Products
Products
  • Debt.collection
  • Account Receivable
  • Distribution
  • Pay
Go to amili.no
  1. Product lines classification
  • AmiliPay API Introduction
  • Industry Categories Reference
  • Webhooks Reference
  • Merchant
    • List all customers
      GET
    • Create customer
      POST
    • Retrieve customer
      GET
    • Update customer
      PUT
    • Create customer token
      POST
    • Retrieve pricing for a merchant
      GET
    • Update pricing for a merchant
      POST
    • List a customer's accepted agreements
      GET
  • User
    • List all users
      GET
    • Create user
      POST
    • Retrieve user
      GET
    • Update user
      PUT
    • Delete user
      DELETE
  • Onboarding
    • Create onboarding application
      POST
    • Retrieve onboarding application
      GET
    • Update onboarding application
      PUT
    • Delete onboarding application
      DELETE
    • Start processing onboarding
      POST
    • Delete onboarding shareholder
      DELETE
    • Create onboarding document
      POST
    • Retrieve onboarding document
      GET
    • Delete onboarding document
      DELETE
    • Retrieve available account agreements
      GET
    • Create onboarding agreement
      POST
    • Mark selected agreement as an accepted by the account
      POST
    • Retrieve a single agreement
      GET
    • Update onboarding agreement
      PUT
    • Deactivate agreement
      DELETE
  • Invoice
    • List all invoices
    • Create invoice
    • Retrieve invoice
    • Update invoice
    • Delete invoice
    • Refund invoice
  • Transactions
    • Get invoice transactions
  • Payout
    • List all payouts
    • Retrieve payout
    • Retrieve payout details
  • Product lines classification
    • Upload a CSV file
      POST
    • Manually get processed CSV file path
      POST
    • Download a previously uploaded CSV file
      GET
  1. Product lines classification

Manually get processed CSV file path

POST
/v1/pcm/classify/result
Returns a download link for a previously uploaded CSV file, addressed by the path returned from POST /pcm/classify. Product-line classification is not currently available - the file returned is unmodified.

Request

Authorization
API Key
Add parameter in header
X-API-KEY
Example:
X-API-KEY: ********************
or
API Key
Add parameter in header
Authorization
Example:
Authorization: ********************
or
Body Params application/json

Examples

Responses

🟢200
application/json
OK - note the returned url is this API's own /pcm/download?path=... endpoint, not a signed/expiring link and not a direct S3 URL as the example may suggest. It is the literal path value echoed back verbatim, with no HMAC or expiry.
Bodyapplication/json

🟠400
🟠401
🟠404
🔴500
Request Request Example
Shell
JavaScript
Java
Swift
curl --location '/v1/pcm/classify/result' \
--header 'X-API-KEY: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
    "path": "csvs/Ra8QH49Jv0XDDZniVaeFNBg95U6x5e.csv"
}'
Response Response Example
200 - response
{
    "data": {
        "url": "https://pay.amili.no/external/api/v1/pcm/download?path=csvs%2FRa8QH49Jv0XDDZniVaeFNBg95U6x5e.csv"
    }
}
Modified at 2026-09-25 07:15:05
Previous
Upload a CSV file
Next
Download a previously uploaded CSV file
Built with