Saltar al contenido principal

CapturePaymentInput

Input for capturePayment. Requires the payment to be in AUTHORIZED state.

input CapturePaymentInput {
paymentId: ID!
amount: Int
}

Fields​

CapturePaymentInput.paymentId ● ID! non-null scalar​

ID of the payment to capture (Charge.id).

CapturePaymentInput.amount ● Int scalar​

The amount to capture, in the smallest currency unit. It must not exceed the authorized amount, and the rest of the authorized amount is not captured. Defaults to the authorized amount when omitted.

Member Of​

capturePayment mutation