1.0.3 • Published 8 years ago

peach-pay v1.0.3

Weekly downloads
17
License
-
Repository
github
Last release
8 years ago

Peach Pay

Gitter

Init

gateway = new peach(
{
    production: false,
    userId: {PEACH_USER_ID},
    password: {PEACH_PASSWORD},
    entityId: {PEACH_ENTITY_ID}
});

Use

  • Creating a card
gateway.card.create({
    'name': "John Smith",
    'paymentBrand': "VISA",
    'ccNumber': "xxxxxxxxxxxxxxxx",
    'cardExpMonth': "01",
    'ccExpYear': "2015",
    'ccCVV': "xxx"
})
  • Creating a transaction
gateway.transaction.create({
	paymentId: {CARD_ID},
	amount: 10
})
  • Refunding a transaction
gateway.transaction.refund({
	transactionId: {TRANSACTION_ID},
	amount: 10
})
1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago