michangarrito/apps/backend/node_modules/stripe/esm/resources/PaymentIntents.js
rckrdmrd 97f407c661 [MIGRATION-V2] feat: Migrar michangarrito a estructura v2
- Prefijo v2: MCH
- TRACEABILITY-MASTER.yml creado
- Listo para integracion como submodulo

Workspace: v2.0.0 | SIMCO: v4.0.0
2026-01-10 11:28:54 -06:00

54 lines
1.7 KiB
JavaScript

// File generated from our OpenAPI spec
import { StripeResource } from '../StripeResource.js';
const stripeMethod = StripeResource.method;
export const PaymentIntents = StripeResource.extend({
create: stripeMethod({ method: 'POST', fullPath: '/v1/payment_intents' }),
retrieve: stripeMethod({
method: 'GET',
fullPath: '/v1/payment_intents/{intent}',
}),
update: stripeMethod({
method: 'POST',
fullPath: '/v1/payment_intents/{intent}',
}),
list: stripeMethod({
method: 'GET',
fullPath: '/v1/payment_intents',
methodType: 'list',
}),
applyCustomerBalance: stripeMethod({
method: 'POST',
fullPath: '/v1/payment_intents/{intent}/apply_customer_balance',
}),
cancel: stripeMethod({
method: 'POST',
fullPath: '/v1/payment_intents/{intent}/cancel',
}),
capture: stripeMethod({
method: 'POST',
fullPath: '/v1/payment_intents/{intent}/capture',
}),
confirm: stripeMethod({
method: 'POST',
fullPath: '/v1/payment_intents/{intent}/confirm',
}),
incrementAuthorization: stripeMethod({
method: 'POST',
fullPath: '/v1/payment_intents/{intent}/increment_authorization',
}),
listAmountDetailsLineItems: stripeMethod({
method: 'GET',
fullPath: '/v1/payment_intents/{intent}/amount_details_line_items',
methodType: 'list',
}),
search: stripeMethod({
method: 'GET',
fullPath: '/v1/payment_intents/search',
methodType: 'search',
}),
verifyMicrodeposits: stripeMethod({
method: 'POST',
fullPath: '/v1/payment_intents/{intent}/verify_microdeposits',
}),
});