UNPKG

expresspayments

Version:
32 lines (31 loc) 1.05 kB
// File generated from our OpenAPI spec import { ExpressPaymentsResource } from '../ExpressPaymentsResource'; const expressPaymentsMethod = ExpressPaymentsResource.method; export const ApplicationFees = ExpressPaymentsResource.extend({ retrieve: expressPaymentsMethod({ method: 'GET', fullPath: '/v1/application_fees/{id}', }), list: expressPaymentsMethod({ method: 'GET', fullPath: '/v1/application_fees', methodType: 'list', }), createRefund: expressPaymentsMethod({ method: 'POST', fullPath: '/v1/application_fees/{id}/refunds', }), listRefunds: expressPaymentsMethod({ method: 'GET', fullPath: '/v1/application_fees/{id}/refunds', methodType: 'list', }), retrieveRefund: expressPaymentsMethod({ method: 'GET', fullPath: '/v1/application_fees/{fee}/refunds/{id}', }), updateRefund: expressPaymentsMethod({ method: 'POST', fullPath: '/v1/application_fees/{fee}/refunds/{id}', }), });