Skip to content

Start reservation payment workflow

POST
/reservation-payment-workflow-starts
curl --request POST \
--url https://example.com/reservation-payment-workflow-starts \
--header 'Content-Type: application/json' \
--data '{ "paymentWorkflowRequestId": "example", "paymentId": "example", "amountKrw": 1, "action": "verify_paid_payment" }'
Media typeapplication/json
ReservationPaymentWorkflowStart
object
paymentWorkflowRequestId
required
string
>= 1 characters
paymentId
required
string
>= 1 characters
amountKrw
required
integer
>= 1
action
required
string
Allowed values: verify_paid_payment cancel_payment refund_payment
key
additional properties

Reservation payment workflow accepted

Media typeapplication/json
ReservationPaymentWorkflowStartResponse
object
paymentWorkflowRequestId
required
string
>= 1 characters
paymentId
required
string
>= 1 characters
amountKrw
required
integer
>= 1
action
required
string
Allowed values: verify_paid_payment cancel_payment refund_payment
workflowName
required
string
Allowed value: ReservationPaymentWorkflow
workflowKey
required
string
>= 1 characters
workflowEngine
required
string
Allowed value: restate
invocationId
required
string
>= 1 characters
workflowStatus
required
string
Allowed values: requested accepted running completed failed cancelled
key
additional properties

Workflow payload is not valid for payment orchestration

Reservation payment workflow runtime is unavailable