Payment
Was this helpful?
Was this helpful?
Creates a flow to cancel a given payment transaction. The cancel operation requires transactionId, thus it can be invoked only if the payment has been authorized previously.
Required scopes
payment-gateway.cancel_manage
Your Emporix tenant's name. Note: The tenant name should always be written in lowercase.
^[a-z][a-z0-9]+$
Unique identifier of a payment transaction.
Authorizes a given payment.
Required scopes
payment-gateway.authorize_manage
Your Emporix tenant's name. Note: The tenant name should always be written in lowercase.
^[a-z][a-z0-9]+$
Amount that should be authorized.
Currency for the amount that should be authorized.
Creates a flow to capture a given payment transaction. The capture operation requires transactionId, thus it can be invoked only if the payment had been previously authorized.
Required scopes
payment-gateway.capture_manage
Your Emporix tenant's name. Note: The tenant name should always be written in lowercase.
^[a-z][a-z0-9]+$
Unique identifier of a payment transaction.
Amount that should be captured. The amount should not be greater than amount that was authorized.
Currency for the amount that should be captured.
Creates a flow to return a given payment. The refund operation requires transactionId, thus it can be invoked only if the payment has been authorized and captured previously.
Required scopes
payment-gateway.refund_manage
Your Emporix tenant's name. Note: The tenant name should always be written in lowercase.
^[a-z][a-z0-9]+$
Unique identifier of a payment transaction.
Amount that should be refunded. The amount should not be greater than amount that was captured.
Currency for the amount that should be refunded.
Capture identifier. The value is mandatory only if there were more captures for a payment and the refund should be related to a specific capture. In another case the value can be skipped and the capture related to the payment will be chosen automatically.