Source Account

Define pre-fetched accounts available to fund transfers

Definition

export type ReadyRemitSourceAccount = {
  alias: string;
  balance: number;
  last4: string;
  sourceProviderId: string;
}

Properties

PropertyTypeDescription
aliasStringAn alias for the source account
balanceNumberThe available balance of the source account
last4StringThe last four digits of the source account
sourceProviderIdStringA unique identifier for the source account

Sample Usage

import { startSDK, ReadyRemitEnvironment } from 'react-native-ready-remit-sdk';

const sourceAccounts = [
  { alias: 'Checking', balance: 500.0, last4: '1234', sourceProviderId: '5163e857-9a05-4170-9d35-d6ad780a0584' },
];

startSDK({
  configuration: {
    environment: ReadyRemitEnvironment.Sandbox,
    sourceAccounts,
  },
});