Concepts · Concepts

Metadata

Attach your own string values to a checkout session.

Key and value constraints

Pass metadata when you create a checkout session: an object of your own keys with string values of up to 500 characters each. Keep it to 20 values. It is returned as you gave it on the session and in its checkout.session webhooks.

Never store card numbers, PINs or BVNs in metadata.