Hosted Fields
Last updated: 2026-11-19
Put PayMe's card inputs in your own checkout form with the browser SDK, then charge the token from your server with generate-sale.
Hosted Fields put PayMe's card inputs inside your own checkout form as PayMe iframes. The browser SDK (window.PayMe) returns a token, and your server charges it with generate-sale and buyer_key. Start with the Build your own checkout form with Hosted Fields.
Guides
- Hosted Fields JavaScript Reference:
PayMe.createoptions, fields, field options and styling, field events,tokenize, validators and teardown of the Hosted Fields browser SDK.
Endpoints
- Charge a Hosted Fields token: POST /generate-sale