Skip to main content

Update a funds transfer method

PATCH 

https://api.sandbox.magfi.net/v2/funds-transfer-methods/:funds-transfer-method-id

Update an existing funds transfer method

Request

Path Parameters

    funds-transfer-method-id uuidrequired

    ID of the funds transfer method to update

Bodyrequired

    labelstring

    User-defined label for the transfer method

    contactNamestring

    Name of contact associated with transfer method

    contactEmailemail

    Email of contact associated with transfer method

Responses

Funds transfer method updated successfully

Schema
    iduuid
    accountIduuid

    ID of the associated account

    fundsTransferTypestring

    Type of funds transfer (ACH, CREDIT_CARD, WIRE, WIRE_INTERNATIONAL, CHECK)

    Possible values: [ACH, CREDIT_CARD, WIRE, WIRE_INTERNATIONAL, CHECK]

    transferDirectionstring

    Direction of the transfer (INCOMING or OUTGOING)

    Possible values: [INCOMING, OUTGOING]

    Default value: INCOMING
    labelstring

    User-defined label for the transfer method

    inactiveboolean

    Whether the transfer method is inactive

    Default value: false
    bankNamestring

    Name of the bank

    bankAccountNamestring

    Name on the bank account

    bankAccountTypestring

    Type of bank account (CHECKING or SAVINGS)

    Possible values: [CHECKING, SAVINGS]

    routingNumberstring

    Bank routing number

    last4string

    Last 4 digits of account number

    swiftCodestring

    SWIFT code for international transfers

    ibanstring

    International Bank Account Number

    creditCardNamestring

    Name on credit card

    creditCardPostalCodestring

    Postal code associated with credit card

    creditCardTypestring

    Type of credit card (VISA, MASTERCARD, AMEX, DISCOVER)

    Possible values: [VISA, MASTERCARD, AMEX, DISCOVER]

    creditCardExpirationDatestring

    Expiration date of credit card in MM/YY format

    creditCardBinstring

    Bank Identification Number (first 6-8 digits of card)

    creditCardFundingTypestring

    Funding type of card (CREDIT, DEBIT, PREPAID, UNKNOWN)

    Possible values: [CREDIT, DEBIT, PREPAID, UNKNOWN]

    checkPayeestring

    Name of check payee

    contactNamestring

    Name of contact associated with transfer method

    contactEmailemail

    Email of contact associated with transfer method

    createdAtdate-time
    updatedAtdate-time
const myHeaders = new Headers();
myHeaders.append("Content-Type", "application/json");
myHeaders.append("Accept", "application/json");

const raw = JSON.stringify({
"label": "string",
"contactName": "string",
"contactEmail": "user@example.com"
});

const requestOptions = {
method: "PATCH",
headers: myHeaders,
body: raw,
redirect: "follow"
};

fetch("https://api.sandbox.magfi.net/v2/funds-transfer-methods/:funds-transfer-method-id", requestOptions)
.then((response) => response.text())
.then((result) => console.log(result))
.catch((error) => console.error(error));
Request Collapse all
Base URL
https://api.sandbox.magfi.net
Parameters
— pathrequired
Body required
{
  "label": "string",
  "contactName": "string",
  "contactEmail": "user@example.com"
}
ResponseClear

Click the Send API Request button above and see the response here!