Skip to main content
Skip to main content

AdminPaymentsResource

admin/payments.AdminPaymentsResource

Methods

capturePayment

capturePayment(id, customHeaders?): ResponsePromise<AdminPaymentRes>

Parameters

idstringRequired
customHeadersRecord<string, any>Required

Default: `{}`

Returns

ResponsePromise<AdminPaymentRes>

ResponsePromiseResponsePromise<AdminPaymentRes>Required

refundPayment

refundPayment(id, payload, customHeaders?): ResponsePromise<AdminRefundRes>

Parameters

idstringRequired
customHeadersRecord<string, any>Required

Default: `{}`

Returns

ResponsePromise<AdminRefundRes>

ResponsePromiseResponsePromise<AdminRefundRes>Required

retrieve

retrieve(id, query?, customHeaders?): ResponsePromise<AdminPaymentRes>

Parameters

idstringRequired
customHeadersRecord<string, any>Required

Default: `{}`

Returns

ResponsePromise<AdminPaymentRes>

ResponsePromiseResponsePromise<AdminPaymentRes>Required
Was this section helpful?