Skip to content

Adyen ​

Fingermark Adyen payment integration

Overview ​

This library currently only supports payments and refunds for local integrations.

Usage ​

All functions return an Xstate machine instance. The current states are idle, loading, success, cancelled and failure

js
import { pay, refund } from '@fingermarkglobal/adyen';

const paymentMachine = pay({ amount: 12.5 });

const refundMachine = refund({ transactionId: '12345', timestamp: '2019-08-07T10:16:10.000Z' });