Square Developer

Secure and PCI-compliant payments for your website.

Online Payment API for Developers

Take online payments your way.

Single transactions

Take payments for products or services purchased on your site.
Process payments >

Recurring transactions

Store a card on file, and charge it later using your own subscription logic.
Card on file >

Multiparty transactions

Make money by adding a fee on payments processed through your app.
Collect fees >

Digital wallet support.

Easily add Apple Pay, Google Pay, or Masterpass to your checkout flow. Digital wallets make it easier for your customers to pay, speeding up checkout time and increasing conversion on your site.

Three ways to add online payments.


Create a payment experience that looks like the rest of your site, with Square Payment Form and Transactions API.


Save time by integrating Square Checkout, a pre-built workflow with digital wallet support, hosted on Square’s servers.


Connect using existing integrations for WooCommerce, Magento, OpenCart, and more - without writing any code.

Build a custom online payment workflow.

Square Payment Form provides secure, hosted components for payment data like card number and CVV, while enabling you to make it your own. It’s designed to help buyers enter their card data accurately and quickly. It’s also designed to ensure PCI compliant payment processing: Card data is collected securely and tokenized, never hitting your servers.

Do more than take payments.

We provide a platform for commerce, not just payments. Associate transactions with itemized orders, products, customer profiles, and more. Configure product catalog and inventory to automatically sync between online properties and Square Point of Sale.

Focus on building your site. We’ll handle the payments.

PCI compliance

Our online payment APIs facilitate your PCI-DSS compliance. We take on the burden of staying compliant, which means no checklists, audits, or assessments required.

Dispute management

We have a dedicated disputes team to deal with the bank for you. We’ll ask for the documentation we need and take care of the rest with no additional fees.

Fast deposits

Get your money faster with Square. We deposit funds into your bank account as soon as the next business day.

Fraud detection

We use machine learning to analyze every payment in our ecosystem, and continuously innovate in fraud prevention.

Square Online Payment APIs and SDKs are free for developers to use.

Square charges a processing fee on credit and debit transactions.

2.9% + 30¢

Per transaction

Custom rate

Custom pricing packages may be available for partners and large businesses based on payment volume, average transaction size, and more. We’d love to have a conversation about it.

Contact Us >

* Full Pricing Information >

Ready to get started?

Review our setup guide and start integrating payment capabilities into your app.

Want to take payments in-app or in-person, too?

We also have APIs and SDKs for taking payments on your website, and in your app using Square hardware.