37 lines
1.3 KiB
JavaScript
37 lines
1.3 KiB
JavaScript
"use strict";
|
|
// File generated from our OpenAPI spec
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.Authorizations = void 0;
|
|
const StripeResource_js_1 = require("../../../StripeResource.js");
|
|
const stripeMethod = StripeResource_js_1.StripeResource.method;
|
|
exports.Authorizations = StripeResource_js_1.StripeResource.extend({
|
|
create: stripeMethod({
|
|
method: 'POST',
|
|
fullPath: '/v1/test_helpers/issuing/authorizations',
|
|
}),
|
|
capture: stripeMethod({
|
|
method: 'POST',
|
|
fullPath: '/v1/test_helpers/issuing/authorizations/{authorization}/capture',
|
|
}),
|
|
expire: stripeMethod({
|
|
method: 'POST',
|
|
fullPath: '/v1/test_helpers/issuing/authorizations/{authorization}/expire',
|
|
}),
|
|
finalizeAmount: stripeMethod({
|
|
method: 'POST',
|
|
fullPath: '/v1/test_helpers/issuing/authorizations/{authorization}/finalize_amount',
|
|
}),
|
|
increment: stripeMethod({
|
|
method: 'POST',
|
|
fullPath: '/v1/test_helpers/issuing/authorizations/{authorization}/increment',
|
|
}),
|
|
respond: stripeMethod({
|
|
method: 'POST',
|
|
fullPath: '/v1/test_helpers/issuing/authorizations/{authorization}/fraud_challenges/respond',
|
|
}),
|
|
reverse: stripeMethod({
|
|
method: 'POST',
|
|
fullPath: '/v1/test_helpers/issuing/authorizations/{authorization}/reverse',
|
|
}),
|
|
});
|