v3

latestOpenAPI 3.1.0raw.githubusercontent.com2026-04-08543999.8 KB
Cart

Get URL to add a payment method

Get a URL to the payment management page where users can securely add a new credit card. Requires authentication.

post/mcp/v1/actions/ud_cart_add_payment_method_url

Request body

object required

Response

Add payment method URL

urlstring

Authenticated magic link URL to the payment management page (single-use, valid for 60 seconds)

expiresInnumber

Seconds until the magic link expires (URL is single-use)

instructionsstring

Guidance for the user on how to add a card