Describes a request to complete (capture) a payment using CompletePayment.
By default, payments are set to autocomplete
immediately after they are created.
To complete payments manually, set autocomplete
to false
.
CompletePaymentRequest
Name | Type | Tags | Description |
---|---|---|---|
versionToken |
string | undefined |
Optional | Used for optimistic concurrency. This opaque token identifies the current Payment version that the caller expects. If the server has a different version of the Payment, the update fails and a response with a VERSION_MISMATCH error is returned. |
{}