Amili Docs
Home
Products
Products
  • Debt.collection
  • Account Receivable
  • Distribution
Go to amili.no
Home
Products
Products
  • Debt.collection
  • Account Receivable
  • Distribution
Go to amili.no
  1. Payment
  • About
  • Collection API
    • CallBanqSoft
      • banqsoft
    • Batches
      • Get all batches
      • Get organization batches
      • Get batch by ID
    • Collections
      • Retrieve cases for an organization
    • Invoice
      • Create a new invoice
      • Get organization invoices
      • Get invoice by ID
      • Get invoice documents by invoice id
      • Get invoice history by invoice id
      • Get invoice payments by invoice id
      • Pause invoice
      • Withdraw invoice
      • Resume invoice
    • Payment
      • Create new payments
        POST
    • Api Status
      • Ping the server
      • Ping the server to check if authorized
      • Check the status of the API health
    • Organizations
      • Get reports on a organization
    • Settlement
      • Retrieve settlements from an organization
  • AutoCollect
    • Attachment
      • /webapi/api/Attachment
    • Batch
      • /webapi/api/Batch
      • /webapi/api/Batch
    • Ping
      • /webapi/api/Ping
Home
Products
Products
  • Debt.collection
  • Account Receivable
  • Distribution
Go to amili.no
Home
Products
Products
  • Debt.collection
  • Account Receivable
  • Distribution
Go to amili.no
  1. Payment

Create new payments

POST
/orgs/{orgId}/payments
Endpoint to register payments for invoices

Request

Authorization
JWT Bearer
Add the parameter
Authorization
to Headers
Example:
Authorization: ********************
or
Path Params

Body Params application/jsonRequired

Examples

Responses

🟢202Accepted
application/json
Accepted
Body

🟠400Bad Request
🟠401Unauthorized
🟠403Forbidden
🟠422Unprocessable Entity
🟠429Too Many Requests
🔴500Internal Server Error
🔴503Service Unavailable
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/orgs//payments' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9",
    "payments": [
        {
            "invoiceId": "string",
            "invoiceNumber": "string",
            "uniqueSourcePaymentId": "string",
            "type": 0,
            "amount": 0,
            "currency": "string",
            "date": "2019-08-24T14:15:22Z",
            "description": "string"
        }
    ]
}'
Response Response Example
202 - Example 1
"{\n  \"summary\": {\n    \"status\": \"SUCCESS\"\n  },\n  \"data\": {\n    \"batchId\": \"ae257e86-dc53-4865-9c97-5b125a3a5ac2\",\n    \"batchUrl\": \"https://api.amili.no/collection/v1/batches/ae257e86-dc53-4865-9c97-5b125a3a5ac2\"\n  }\n}"
Modified at 2025-09-23 10:42:55
Previous
Resume invoice
Next
Ping the server
Built with