Skip to content

Charge user for a parking session invoice

POST
/payments/v1/charge-payment/
curl --request POST \
--url https://api.nudova.dev/api/payments/v1/charge-payment/ \
--header 'Authorization: <Authorization>' \
--header 'Content-Type: application/json' \
--data '{ "invoice_id": 1, "payment_method_id": 1 }'

POST /api/v1/charge-payment/

Media typeapplication/json
object
invoice_id
required
Invoice id

ID of the invoice to pay

integer
payment_method_id
Payment method id

Optional: ID of payment method to use. Uses default if not provided

integer
Examplegenerated
{
"invoice_id": 1,
"payment_method_id": 1
}
Media typeapplication/json
object
invoice_id
required
Invoice id

ID of the invoice to pay

integer
payment_method_id
Payment method id

Optional: ID of payment method to use. Uses default if not provided

integer
Examplegenerated
{
"invoice_id": 1,
"payment_method_id": 1
}