UNPKG

expresspayments

Version:
30 lines (29 loc) 1.01 kB
"use strict"; // File generated from our OpenAPI spec Object.defineProperty(exports, "__esModule", { value: true }); exports.Sources = void 0; const ExpressPaymentsResource_js_1 = require("../ExpressPaymentsResource.js"); const expressPaymentsMethod = ExpressPaymentsResource_js_1.ExpressPaymentsResource.method; exports.Sources = ExpressPaymentsResource_js_1.ExpressPaymentsResource.extend({ create: expressPaymentsMethod({ method: 'POST', fullPath: '/v1/sources', }), retrieve: expressPaymentsMethod({ method: 'GET', fullPath: '/v1/sources/{source}', }), update: expressPaymentsMethod({ method: 'POST', fullPath: '/v1/sources/{source}', }), listSourceTransactions: expressPaymentsMethod({ method: 'GET', fullPath: '/v1/sources/{source}/source_transactions', methodType: 'list', }), verify: expressPaymentsMethod({ method: 'POST', fullPath: '/v1/sources/{source}/verify', }), });