AdminPaymentsResource
admin/payments.AdminPaymentsResource
Methods
capturePayment
capturePayment(id
, customHeaders?
): ResponsePromise
<AdminPaymentRes
>
Parameters
id
stringRequiredcustomHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<AdminPaymentRes
>
refundPayment
refundPayment(id
, payload
, customHeaders?
): ResponsePromise
<AdminRefundRes
>
Parameters
id
stringRequiredcustomHeaders
Record<string, any>RequiredDefault: `{}`
Returns
ResponsePromise
<AdminRefundRes
>
retrieve
retrieve(id
, query?
, customHeaders?
): ResponsePromise
<AdminPaymentRes
>
Parameters
Returns
ResponsePromise
<AdminPaymentRes
>
Was this section helpful?