michangarrito/apps/backend/node_modules/stripe/esm/resources/PaymentIntents.js
rckrdmrd 48dea7a5d0 feat: Initial commit - michangarrito
Marketplace móvil para negocios locales mexicanos.

Estructura inicial:
- apps/backend (NestJS API)
- apps/frontend (React Web)
- apps/mobile (Expo/React Native)
- apps/mcp-server (Claude MCP Server)
- apps/whatsapp-service (WhatsApp Business API)
- database/ (PostgreSQL DDL)
- docs/ (Documentación)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-07 04:41:02 -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',
}),
});