Skip to main content
POST
Create payment

Authorizations

Authorization
string
header
required

Access token obtained from the /v1/auth/login endpoint

Body

application/json
invoice_id
string<uuid>
required
Example:

"01jtbf0c9zaraqx3swthf88n5y"

amount
number<float>
required
Example:

1000

payment_date
string<date> | null
Example:

"2023-06-25"

is_settled
boolean
default:true
Example:

true

notes
string | null
Example:

"Payment via bank transfer"

Response

Payment created successfully

success
boolean
Example:

true

message
string
Example:

"Payment created successfully"

data
object