0.0.1 • Published 2 years ago
mercado-pago-point v0.0.1
mercado-pago-point
Mercado Pago Payment by Point
Install
npm install mercado-pago-point
npx cap sync
API
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'
0.0.1
2 years ago