Schema Documentation
ChangePaymentMethodInput
Description
Input for the changePaymentMethod mutation.
Fields
Input Field | Description |
---|---|
clientMutationId - String | This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions. |
id - ID! | Subscription database ID or global ID |
paymentMethod - String! | Payment method ID. |
postMeta - MetaDataInput | Payment method post meta and token |
userMeta - MetaDataInput | Payment method user meta and token |
Example
{"clientMutationId":"xyz789","id":4,"paymentMethod":"abc123","postMeta":MetaDataInput,"userMeta":MetaDataInput}