updateMetadata
MUTATIONUpdates metadata for an item.
Arguments
idRequired
The id of the item you want to update metadata for.
metadata_associateRequired
The type of item you want to update metadata for. Options are: AUTHORIZATION, INVOICE, PAYMENT_METHOD_TOKEN, PAYMENT_SESSION, PAYOR, RECURRING, TRANSACTION, SALE
Values
AUTHORIZATIONINVOICEMERCHANTPAYMENT_INTENTPAYMENT_METHOD_TOKENPAYMENT_SESSIONPAYORRECURRINGTRANSACTIONSALESPLIT
merchant_uidRequired
The Pay Theory merchant_uid of the item you want to update metadata for.
metadataRequired
The metadata you want to update the item with. Any keys passed in will overwrite the existing metadata.