Insert payment

POST /payments
application/json

Body Required

Responses

  • 200 application/json

    API will return back posted array of transactions with added property: payment_processed with boolean true if payment has been written or false if not

POST /payments
curl \
 -X POST https://api.zooza.app/v1/payments \
 -H "Content-Type: application/json" \
 -d '[{"order_type":"course","amount":42.0,"transaction_type":"credit_via_transfer","credits":[42.0],"create_invoice":true,"variable_symbol":42.0,"posting_date":"2024-05-04","value_date":"2024-05-04","payers_reference":"string","payers_bank_reference":"string","currency":"EUR","note":"string","information_for_beneficiary":"string","bic":"string","payers_iban":"string","origin":"import","created_by":"hello@example.com","modified_by":"hello@example.com"}]'
Request examples
[
  {
    "order_type": "course",
    "amount": 42.0,
    "transaction_type": "credit_via_transfer",
    "credits": [
      42.0
    ],
    "create_invoice": true,
    "variable_symbol": 42.0,
    "posting_date": "2024-05-04",
    "value_date": "2024-05-04",
    "payers_reference": "string",
    "payers_bank_reference": "string",
    "currency": "EUR",
    "note": "string",
    "information_for_beneficiary": "string",
    "bic": "string",
    "payers_iban": "string",
    "origin": "import",
    "created_by": "hello@example.com",
    "modified_by": "hello@example.com"
  }
]
Response examples (200)
[]