Skip to main content

Class: AdminPaymentsResource

Hierarchy

  • defaultCopy to Clipboard

    AdminPaymentsResourceCopy to Clipboard

Methods

capturePayment

capturePayment(idCopy to Clipboard, customHeaders?Copy to Clipboard): ResponsePromiseCopy to Clipboard<AdminPaymentResCopy to Clipboard>

Parameters

NameType
idCopy to ClipboardstringCopy to Clipboard
customHeadersCopy to ClipboardRecordCopy to Clipboard<stringCopy to Clipboard, anyCopy to Clipboard>

Returns

ResponsePromiseCopy to Clipboard<AdminPaymentResCopy to Clipboard>

Defined in

medusa-js/src/resources/admin/payments.ts:27


refundPayment

refundPayment(idCopy to Clipboard, payloadCopy to Clipboard, customHeaders?Copy to Clipboard): ResponsePromiseCopy to Clipboard<AdminRefundResCopy to Clipboard>

Parameters

NameType
idCopy to ClipboardstringCopy to Clipboard
payloadCopy to ClipboardAdminPostPaymentRefundsReqCopy to Clipboard
customHeadersCopy to ClipboardRecordCopy to Clipboard<stringCopy to Clipboard, anyCopy to Clipboard>

Returns

ResponsePromiseCopy to Clipboard<AdminRefundResCopy to Clipboard>

Defined in

medusa-js/src/resources/admin/payments.ts:35


retrieve

retrieve(idCopy to Clipboard, query?Copy to Clipboard, customHeaders?Copy to Clipboard): ResponsePromiseCopy to Clipboard<AdminPaymentResCopy to Clipboard>

Parameters

NameType
idCopy to ClipboardstringCopy to Clipboard
query?Copy to ClipboardGetPaymentsParamsCopy to Clipboard
customHeadersCopy to ClipboardRecordCopy to Clipboard<stringCopy to Clipboard, anyCopy to Clipboard>

Returns

ResponsePromiseCopy to Clipboard<AdminPaymentResCopy to Clipboard>

Defined in

medusa-js/src/resources/admin/payments.ts:12

Was this page helpful?