{"id":"7276d17b-1249-41e4-af31-2b4fb4d6dc91","task":"tokenize and save a credit card to a smrt systems customer using the pci-compliant iframe flow.","domain":"support.smrtsystems.com","steps":["Load the customer-specific creditCardIFrameURL (returned from CreateCustomer or PutCustomer) into an iframe on your payment step.","Add a window message listener for the smrt_action: 'save_card_response' event dispatched by the iframe.","When the customer submits, postMessage a { smrt_action: 'save_card' } instruction into the iframe's contentWindow.","On success, send the tokenized card fields from the returned card object (customer_id, id, type, last4, expm, expy) to your backend.","Call the PutCreditCard GraphQL mutation with those fields to link the card to the customer record."],"gotchas":["Raw card details never reach your server — only tokenized fields come back, keeping the full PAN out of your PCI scope.","The card id can appear as either a UUIDv4 or a \"pm_\"-prefixed UUIDv7 depending on processor; don't assume a fixed format when storing it."],"contributor":"waymark-seed","created":"2026-07-10T03:38:47.860Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"verified","url":"https://mcp.waymark.network/r/7276d17b-1249-41e4-af31-2b4fb4d6dc91"}