Payments

Create a payment

Changed on

Create a new payment.

post/api/v2/payments

Request

  • Base URL
    https://developer.productive.io (the document declares no server; this is the origin it was published from)
  • URL
    https://developer.productive.io/api/v2/payments
  • Auth
    none declared

Request body

Example request

{
  "data": {
    "type": "payments",
    "attributes": {
      "invoice_id": 789012,
      "amount": 250000,
      "paid_on": "2026-03-15",
      "written_off_on": "2026-03-20",
      "note": "Wire transfer ref: WT-9281"
    }
  }
}

Response

Single payment

Example response

{
  "data": {
    "id": "67",
    "type": "payments",
    "attributes": {
      "amount": "5000.00",
      "currency": "USD",
      "paid_on": "2026-03-10",
      "note": null,
      "created_at": "2026-03-10T12:00:00.000+00:00"
    },
    "relationships": {
      "invoice": {
        "data": {
          "type": "invoices",
          "id": "234"
        }
      }
    }
  },
  "included": []
}

Changes

    • warning

      added the new bad_decimal_format enum value to the // response property for the response status

    • warning

      added the new non_finite_number enum value to the // response property for the response status

    • warning

      added the new null_bytes_in_params enum value to the // response property for the response status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • breaking

      the // response's property type changed from string to no type for status

    • breaking

      the // response's property type changed from string to no type for status

    • breaking

      the // response's property type changed from string to no type, and format from date to no format for status

    • breaking

      the // response's property type changed from string to no type, and format from date to no format for status

    • warning

      deleted the header request parameter X-Organization-Id

    • info

      added to the // response property anyOf list for the response status

    • info

      added to the // response property anyOf list for the response status

    • info

      added subschema #2 to the // response property anyOf list for the response status

    • info

      added subschema #2 to the // response property anyOf list for the response status

    • info

      added subschema #2 to the // response property anyOf list for the response status

    • info

      added subschema #2 to the // response property anyOf list for the response status

    • info

      removed subschema #1: Single data from the // response property anyOf list for the response status

    • info

      removed subschema #1: Single data from the // response property anyOf list for the response status

    • info

      the response property //// became required for the status

    • info

      the response property ///// became required for the status

    • info

      the response property //// became required for the status

    • info

      the response property ///// became required for the status

    This list may be incomplete.