mercado-pago-point
v0.0.1
Published
Mercado Pago Payment by Point
Downloads
25
Readme
mercado-pago-point
Mercado Pago Payment by Point
Install
npm install mercado-pago-point
npx cap syncAPI
echo(...)
echo(options: { value: string; }) => Promise<{ value: string; }>| Param | Type |
| ------------- | ------------------------------- |
| options | { value: string; } |
Returns: Promise<{ value: string; }>
sendPayment(...)
sendPayment(options: Payment) => Promise<PaymentResponse>| Param | Type |
| ------------- | ------------------------------------------- |
| options | Payment |
Returns: Promise<PaymentResponse>
Interfaces
PaymentResponse
| Prop | Type |
| --------------------- | --------------------------------------------- |
| amount | number |
| paymentId | number |
| cardType | CardType |
| installments | number |
| truncCardHolder | string |
Payment
| Prop | Type |
| -------------------------- | --------------------------------------------- |
| appId | string |
| appSecret | string |
| appFee | number |
| amount | number |
| description | string |
| cardType | CardType |
| installments | number |
| disableBackButton | boolean |
| notificationUrl | string |
| externalReference | string |
| sponsorId | number |
| playerEmail | string |
| playerIdentification | string |
| collectorId | number |
| isKiosk | boolean |
Type Aliases
CardType
'credit_card' | 'debit_card'
