Insert payment
Body Required
-
Values are
course
ororder
. -
order_id Required
Resource ID
-
Values are
credit_via_transfer
,credit
,credit_correction
,course_payment
,course_payment_correction
,registration_fee
,registration_fee_correction
,discount
,discount_correction
,refund
, orsimple_refund
. -
credits array[number]
-
create_invoice boolean
-
variable_symbol number
-
posting_date string(date)
-
value_date string(date)
-
payers_reference string
-
payers_bank_reference string
-
currency string
Values are
EUR
,CZK
,PLN
,GBP
, orRON
. -
note string
-
information_for_beneficiary string
-
bic string
-
payers_iban string
-
origin string
Values are
import
,inbound
, ormanual
. -
created_by string(email)
-
modified_by string(email)
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)
[]