Update transfer metadata
Update the metadata contained on a transfer.
Read our transfers overview guide to learn more.
To access this endpoint using an access token
you'll need to specify the /accounts/{accountID}/transfers.write scope.
curl -X PATCH "https://api.moov.io/accounts/{accountID}/transfers/{transferID}" \
-H "Authorization: Bearer {token}" \
-H "X-Moov-Version: v2026.04.00"mc, _ := moov.NewClient()
var accountID string
var transferID string
mc.PatchTransfer(ctx, accountID, transferID, moov.PatchTransferMetadata(
map[string]string{
"Property1": "string",
},
))
import { Moov } from "@moovio/sdk";
const moov = new Moov({
security: {
username: "",
password: "",
},
});
async function run() {
const result = await moov.transfers.update({
transferID: "de30c075-4245-4d62-bfb3-f76d4d7d3b9c",
accountID: "18a7907d-2f89-493a-b15a-3aad91c24496",
patchTransfer: {
metadata: {
"optional": "metadata",
},
},
});
console.log(result);
}
run();declare(strict_types=1);
require 'vendor/autoload.php';
use Moov\MoovPhp;
use Moov\MoovPhp\Models\Components;
$sdk = MoovPhp\Moov::builder()
->setSecurity(
new Components\Security(
username: '',
password: '',
)
)
->build();
$patchTransfer = new Components\PatchTransfer(
metadata: [
'optional' => 'metadata',
],
);
$response = $sdk->transfers->update(
transferID: 'de30c075-4245-4d62-bfb3-f76d4d7d3b9c',
accountID: '18a7907d-2f89-493a-b15a-3aad91c24496',
patchTransfer: $patchTransfer
);
if ($response->transfer !== null) {
// handle response
}package hello.world;
import io.moov.sdk.Moov;
import io.moov.sdk.models.components.PatchTransfer;
import io.moov.sdk.models.components.Security;
import io.moov.sdk.models.errors.PatchTransferValidationError;
import io.moov.sdk.models.operations.UpdateTransferResponse;
import java.lang.Exception;
import java.util.Map;
public class Application {
public static void main(String[] args) throws PatchTransferValidationError, Exception {
Moov sdk = Moov.builder()
.security(Security.builder()
.username("")
.password("")
.build())
.build();
UpdateTransferResponse res = sdk.transfers().update()
.transferID("de30c075-4245-4d62-bfb3-f76d4d7d3b9c")
.accountID("18a7907d-2f89-493a-b15a-3aad91c24496")
.patchTransfer(PatchTransfer.builder()
.metadata(Map.ofEntries(
Map.entry("optional", "metadata")))
.build())
.call();
if (res.transfer().isPresent()) {
System.out.println(res.transfer().get());
}
}
}from moovio_sdk import Moov
from moovio_sdk.models import components
with Moov(
security=components.Security(
username="",
password="",
),
) as moov:
res = moov.transfers.update(transfer_id="de30c075-4245-4d62-bfb3-f76d4d7d3b9c", account_id="18a7907d-2f89-493a-b15a-3aad91c24496", metadata={
"optional": "metadata",
})
# Handle response
print(res)require 'moov_ruby'
Models = ::Moov::Models
s = ::Moov::Client.new(
security: Models::Components::Security.new(
username: '',
password: ''
)
)
res = s.transfers.update(transfer_id: 'de30c075-4245-4d62-bfb3-f76d4d7d3b9c', account_id: '18a7907d-2f89-493a-b15a-3aad91c24496', patch_transfer: Models::Components::PatchTransfer.new(
metadata: {
'optional' => 'metadata',
}
))
unless res.transfer.nil?
# handle response
endusing Moov.Sdk;
using Moov.Sdk.Models.Components;
using System.Collections.Generic;
var sdk = new MoovClient(security: new Security() {
Username = "",
Password = "",
});
var res = await sdk.Transfers.UpdateAsync(
transferID: "de30c075-4245-4d62-bfb3-f76d4d7d3b9c",
accountID: "18a7907d-2f89-493a-b15a-3aad91c24496",
body: new PatchTransfer() {
Metadata = new Dictionary<string, string>() {
{ "optional", "metadata" },
},
}
);
// handle response{
"transferID": "d835gf30-4b19-4850-a9b2-c0624c41ecb3",
"source": {
"paymentMethodID": "9506dbf6-4208-44c3-ad8a-e4431660e1f2",
"paymentMethodType": "card-payment",
"account": {
"accountID": "7e4b26c2-b399-49ef-8390-50e1ea44d550",
"email": "jules@julesjackson.com",
"displayName": "Jules Jackson"
},
"card": {
"cardID": "aefd5563-93c6-413c-875e-1bd0ebfc116d",
"fingerprint": "2f5d782ceef1c3bd31ed5...",
"brand": "Visa",
"cardType": "credit",
"lastFourCardNumber": "2000",
"bin": "400020",
"expiration": {
"month": "01",
"year": "28"
},
"holderName": "Jules Jackson",
"billingAddress": {
"postalCode": "80301"
},
"domesticPushToCard": "standard",
"domesticPullFromCard": "supported",
"cardVerification": {
"cvv": "unavailable",
"addressLine1": "unavailable",
"postalCode": "unavailable",
"accountName": {
"firstName": "unavailable",
"lastName": "unavailable",
"middleName": "unavailable",
"fullName": "unavailable"
}
},
"issuer": "Moov Visa Sandbox",
"issuerCountry": "US",
"cardAccountUpdater": {}
}
},
"destination": {
"paymentMethodID": "3f9969cf-a1f3-4d83-8ddc-229a506651cf",
"paymentMethodType": "moov-wallet",
"account": {
"accountID": "34233b72-780c-4a0d-8b08-cbbe23k878f8",
"email": "john@wholebodyfitness.io",
"displayName": "Whole Body Fitness"
},
"wallet": {
"walletID": "744b2e78-8cc8-4a6a-af42-611e3b844503",
"partnerAccountID": "65b57f28-49e9-4afb-9bf6-7e4fb6444917",
"walletType": "general"
}
},
"status": "pending",
"amount": {
"currency": "USD"
},
"amountDetails": {
"tip": {
"currency": "USD",
"valueDecimal": "3.50"
}
},
"description": "Transfer from card to wallet",
"createdOn": "2025-01-21T21:32:16Z",
"moovFees": [
{
"accountID": "7e4b26c2-b399-49ef-8390-50e1ea44d550",
"transferParty": "source",
"totalAmount": {
"currency": "USD",
"valueDecimal": "0.10"
},
"feeIDs": [
"9d957d33-1a9a-47aa-9460-fe1a90f003dd"
]
}
]
}Response headers
x-request-id
string
required
Response headers
x-request-id
string
required
Response headers
x-request-id
string
required
Response headers
x-request-id
string
required
{
"metadata": "string",
"foreignID": "string"
}Response headers
x-request-id
string
required
Response headers
x-request-id
string
required
Response headers
x-request-id
string
required
Response headers
x-request-id
string
required
Headers
X-Moov-Version
string
v2026.08.00 uses v2026.07.00.
A malformed value, such as 2022, returns a 404 response.
v2026.04.00
Path parameters
Body
Response
amount
object
required
card-payment transfer reports the approved authorization amount until a final capture is created.
For these transfers, when a final capture is created, this is updated to the cumulative captured amount.
For other transfer types, this is the transfer amount.
destination
object
required
Show child attributes
destination
paymentMethodType
string<enum>
required
moov-wallet,
ach-debit-fund,
ach-debit-collect,
ach-credit-standard,
ach-credit-same-day,
rtp-credit,
card-payment,
push-to-card,
pull-from-card,
apple-pay,
card-present-payment,
instant-bank-credit,
push-to-apple-pay,
pull-from-apple-pay,
google-pay,
push-to-google-pay,
pull-from-google-pay
achDetails
object
Show child attributes
destination.achDetails
companyEntryDescription
string
[4 to 10] characters
debitHoldPeriod
string<enum>
no-hold,
1-day,
2-days
originatingCompanyName
string
[4 to 16] characters
secCode
string<enum>
WEB,
PPD,
CCD,
TEL
applePay
object
Show child attributes
destination.applePay
brand
string<enum>
required
American Express,
Discover,
Mastercard,
Visa,
Unknown
cardDisplayName
string
required
User-friendly name of the tokenized card returned by Apple.
It usually contains the brand and the last four digits of the underlying card. There is no standard format.
cardType
string<enum>
required
debit,
credit,
prepaid,
unknown
dynamicLastFour
string
required
fingerprint
string
<=100 characters
required
bankAccount
object
Show child attributes
destination.bankAccount
bankAccountType
string<enum>
required
checking,
savings,
general-ledger,
loan
fingerprint
string
<=100 characters
required
Once the bank account is linked, we don't reveal the full bank account number.
The fingerprint acts as a way to identify whether two linked bank accounts are the same.
card
object
Show child attributes
destination.card
billingAddress
object
required
Show child attributes
destination.card.billingAddress
bin
string
[6 to 8] characters
required
brand
string<enum>
required
American Express,
Discover,
Mastercard,
Visa,
Unknown
cardType
string<enum>
required
debit,
credit,
prepaid,
unknown
cardVerification
object
required
Show child attributes
destination.card.cardVerification
addressLine1
string
required
postalCode; the card network returns a single code covering both address fields.
noMatch,
match,
notChecked,
unavailable,
partialMatch
cvv
string
required
noMatch,
match,
notChecked,
unavailable,
partialMatch
postalCode
string
required
addressLine1; the card network returns a single code covering both address fields.
noMatch,
match,
notChecked,
unavailable,
partialMatch
accountName
object
Show child attributes
destination.card.cardVerification.accountName
firstName
string
noMatch,
match,
notChecked,
unavailable,
partialMatch
fullName
string
noMatch,
match,
notChecked,
unavailable,
partialMatch
fingerprint
string
<=100 characters
required
cardAccountUpdater
object
domesticPullFromCard
string<enum>
not-supported,
supported,
unknown
cardDetails
object
Show child attributes
destination.cardDetails
authorizationCode
string
dynamicDescriptor
string
[4 to 22] characters
failureCode
string<enum>
call-issuer,
do-not-honor,
processing-error,
invalid-transaction,
invalid-amount,
no-such-issuer,
reenter-transaction,
cvv-mismatch,
lost-or-stolen,
insufficient-funds,
invalid-card-number,
invalid-merchant,
expired-card,
incorrect-pin,
transaction-not-allowed,
suspected-fraud,
amount-limit-exceeded,
velocity-limit-exceeded,
revocation-of-authorization,
card-not-activated,
issuer-not-available,
could-not-route,
cardholder-account-closed,
unknown-issue,
duplicate-transaction
feeProgram
string
interchangeQualification
string
deprecated
scheduledDeliveryOn
string<date-time>
googlePay
object
Show child attributes
destination.googlePay
brand
string<enum>
required
American Express,
Discover,
Mastercard,
Visa,
Unknown
cardDisplayName
string
required
User-friendly name of the tokenized card returned by Google Pay.
It usually contains the last four digits of the underlying card. There is no standard format.
cardType
string<enum>
required
debit,
credit,
prepaid,
unknown
dynamicLastFour
string
4 characters
required
fingerprint
string
<=100 characters
required
instantBankDetails
object
Show child attributes
destination.instantBankDetails
network
string<enum>
required
fednow,
rtp
status
string<enum>
required
initiated,
completed,
failed,
accepted-without-posting
rtpDetails
object
deprecated
InstantBankTransactionDetails instead (v2026.04.00 or later). RTP specific details about the transaction.
wallet
object
Show child attributes
destination.wallet
walletType
string<enum>
required
Type of a wallet.
default: The system-generated wallet automatically created when an account is granted the wallet capability.general: An additional, user-defined wallet created via API or Dashboard.card-issuing: The system-generated wallet automatically created when an account is granted the card-issuing capability.
default,
general,
card-issuing
source
object
required
Show child attributes
source
paymentMethodType
string<enum>
required
moov-wallet,
ach-debit-fund,
ach-debit-collect,
ach-credit-standard,
ach-credit-same-day,
rtp-credit,
card-payment,
push-to-card,
pull-from-card,
apple-pay,
card-present-payment,
instant-bank-credit,
push-to-apple-pay,
pull-from-apple-pay,
google-pay,
push-to-google-pay,
pull-from-google-pay
achDetails
object
Show child attributes
source.achDetails
companyEntryDescription
string
[4 to 10] characters
debitHoldPeriod
string<enum>
no-hold,
1-day,
2-days
originatingCompanyName
string
[4 to 16] characters
secCode
string<enum>
WEB,
PPD,
CCD,
TEL
applePay
object
Show child attributes
source.applePay
brand
string<enum>
required
American Express,
Discover,
Mastercard,
Visa,
Unknown
cardDisplayName
string
required
User-friendly name of the tokenized card returned by Apple.
It usually contains the brand and the last four digits of the underlying card. There is no standard format.
cardType
string<enum>
required
debit,
credit,
prepaid,
unknown
dynamicLastFour
string
required
fingerprint
string
<=100 characters
required
bankAccount
object
Show child attributes
source.bankAccount
bankAccountType
string<enum>
required
checking,
savings,
general-ledger,
loan
fingerprint
string
<=100 characters
required
Once the bank account is linked, we don't reveal the full bank account number.
The fingerprint acts as a way to identify whether two linked bank accounts are the same.
card
object
Show child attributes
source.card
billingAddress
object
required
Show child attributes
source.card.billingAddress
bin
string
[6 to 8] characters
required
brand
string<enum>
required
American Express,
Discover,
Mastercard,
Visa,
Unknown
cardType
string<enum>
required
debit,
credit,
prepaid,
unknown
cardVerification
object
required
Show child attributes
source.card.cardVerification
addressLine1
string
required
postalCode; the card network returns a single code covering both address fields.
noMatch,
match,
notChecked,
unavailable,
partialMatch
cvv
string
required
noMatch,
match,
notChecked,
unavailable,
partialMatch
postalCode
string
required
addressLine1; the card network returns a single code covering both address fields.
noMatch,
match,
notChecked,
unavailable,
partialMatch
accountName
object
Show child attributes
source.card.cardVerification.accountName
firstName
string
noMatch,
match,
notChecked,
unavailable,
partialMatch
fullName
string
noMatch,
match,
notChecked,
unavailable,
partialMatch
fingerprint
string
<=100 characters
required
cardAccountUpdater
object
domesticPullFromCard
string<enum>
not-supported,
supported,
unknown
cardDetails
object
Show child attributes
source.cardDetails
authorizationCode
string
dynamicDescriptor
string
[4 to 22] characters
failureCode
string<enum>
call-issuer,
do-not-honor,
processing-error,
invalid-transaction,
invalid-amount,
no-such-issuer,
reenter-transaction,
cvv-mismatch,
lost-or-stolen,
insufficient-funds,
invalid-card-number,
invalid-merchant,
expired-card,
incorrect-pin,
transaction-not-allowed,
suspected-fraud,
amount-limit-exceeded,
velocity-limit-exceeded,
revocation-of-authorization,
card-not-activated,
issuer-not-available,
could-not-route,
cardholder-account-closed,
unknown-issue,
duplicate-transaction
feeProgram
string
interchangeQualification
string
deprecated
scheduledDeliveryOn
string<date-time>
googlePay
object
Show child attributes
source.googlePay
brand
string<enum>
required
American Express,
Discover,
Mastercard,
Visa,
Unknown
cardDisplayName
string
required
User-friendly name of the tokenized card returned by Google Pay.
It usually contains the last four digits of the underlying card. There is no standard format.
cardType
string<enum>
required
debit,
credit,
prepaid,
unknown
dynamicLastFour
string
4 characters
required
fingerprint
string
<=100 characters
required
terminalCard
object
Show child attributes
source.terminalCard
brand
string<enum>
American Express,
Discover,
Mastercard,
Visa,
Unknown
entryMode
string<enum>
contactless
fingerprint
string
<=100 characters
wallet
object
Show child attributes
source.wallet
walletType
string<enum>
required
Type of a wallet.
default: The system-generated wallet automatically created when an account is granted the wallet capability.general: An additional, user-defined wallet created via API or Dashboard.card-issuing: The system-generated wallet automatically created when an account is granted the card-issuing capability.
default,
general,
card-issuing
status
string<enum>
required
created,
pending,
completed,
failed,
reversed,
queued,
canceled
amountDetails
object
card-payment transfer, this is the aggregate of all captures' amountDetails.
description
string
<=128 characters
facilitatorFee
object
failureReason
string<enum>
source-payment-error,
destination-payment-error,
wallet-insufficient-funds,
rejected-high-risk,
processing-error
foreignID
string
lineItems
object
Show child attributes
lineItems
items
array<object>
required
Show child attributes
lineItems.items[]
options
array<object>
Show child attributes
lineItems.items[].options[]
group
string
<=100 characters
images
array<object>
Show child attributes
lineItems.items[].options[].images[]
metadata
object
moovFeeDecimal
string
moovFee, but a decimal-formatted numerical string that represents up to 9 decimal place precision.
moovFeeDetails
object
Show child attributes
moovFeeDetails
moovProcessing
string
required
cardScheme
string
moovFees
array<object>
refunds
array<object>
Show child attributes
refunds[]
cardDetails
object
Show child attributes
refunds[].cardDetails
status
string<enum>
required
initiated,
confirmed,
settled,
failed,
completed,
cleared-externally
failureCode
string<enum>
call-issuer,
do-not-honor,
processing-error,
invalid-transaction,
invalid-amount,
no-such-issuer,
reenter-transaction,
cvv-mismatch,
lost-or-stolen,
insufficient-funds,
invalid-card-number,
invalid-merchant,
expired-card,
incorrect-pin,
transaction-not-allowed,
suspected-fraud,
amount-limit-exceeded,
velocity-limit-exceeded,
revocation-of-authorization,
card-not-activated,
issuer-not-available,
could-not-route,
cardholder-account-closed,
unknown-issue,
duplicate-transaction