Development
  • Guides
  • API Reference
  • API Explorer
  • SDKs
  • Sample apps
  • System status
Support
  • Developer forums
  • Developer blog
  • YouTube
  • X
More
  • Square Home
  • Square Developer
  • App Marketplace
  • Partner with Square
  • Solutions Partner Program
  • Pricing
  • Sales

© 2026 Square, Inc.

  • Developer terms of service
  • Developer Integration and Marketing Agreement
  • Privacy policy
  • Partnerships
  • Sign In
  • Sign In

    Payments

  • List payments

  • Create payment

  • Cancel payment by idempotency key

  • Get payment

  • Update payment

  • Cancel payment

  • Complete payment

  • Webhooks

  • payment.created

  • payment.updated

<- Payments webhooks

Payments webhooks

All versions ->

payment created

EVENT

 payment.created

Published when a Payment is created.

Permissions:PAYMENTS_READ
Link to section

Event payload

Example code

Link to section

merchant_id

string

The ID of the target merchant associated with the event.

Link to section

type

string

The type of event this represents, "payment.created".

Link to section

event_id

string

A unique ID for the event.

Link to section

created_at

string

Read only Timestamp of when the event was created, in RFC 3339 format.

Examples for January 25th, 2020 6:25:34pm Pacific Standard Time:

UTC: 2020-01-26T02:25:34Z

Pacific Standard Time with UTC offset: 2020-01-25T18:25:34-08:00

Link to section

data

Data associated with the event.

Link to section

Examples

All versions ->

Response JSON

{ "merchant_id": "6SSW7HV8K2ST5", "type": "payment.created", "event_id": "13b867cf-db3d-4b1c-90b6-2f32a9d78124", "created_at": "2020-02-06T21:27:30.792Z", "data": { "type": "payment", "id": "KkAkhdMsgzn59SM8A89WgKwekxLZY", "object": { "payment": { "id": "hYy9pRFVxpDsO1FB05SunFWUe9JZY", "created_at": "2020-11-22T21:16:51.086Z", "updated_at": "2020-11-22T21:16:51.198Z", "amount_money": { "amount": 100, "currency": "USD" }, "status": "APPROVED", "delay_duration": "PT168H", "source_type": "CARD", "card_details": { "status": "AUTHORIZED", "card": { "card_brand": "MASTERCARD", "last_4": "9029", "exp_month": 11, "exp_year": 2022, "fingerprint": "sq-1-Tvruf3vPQxlvI6n0IcKYfBukrcv6IqWr8UyBdViWXU2yzGn5VMJvrsHMKpINMhPmVg", "card_type": "CREDIT", "prepaid_type": "NOT_PREPAID", "bin": "540988" }, "entry_method": "KEYED", "cvv_status": "CVV_ACCEPTED", "avs_status": "AVS_ACCEPTED", "statement_description": "SQ *DEFAULT TEST ACCOUNT", "card_payment_timeline": { "authorized_at": "2020-11-22T21:16:51.198Z" } }, "location_id": "S8GWD5R9QB376", "order_id": "03O3USaPaAaFnI6kkwB1JxGgBsUZY", "risk_evaluation": { "created_at": "2020-11-22T21:16:51.198Z", "risk_level": "NORMAL" }, "total_money": { "amount": 100, "currency": "USD" }, "approved_money": { "amount": 100, "currency": "USD" }, "capabilities": [ "EDIT_TIP_AMOUNT", "EDIT_TIP_AMOUNT_UP", "EDIT_TIP_AMOUNT_DOWN" ], "receipt_number": "hYy9", "delay_action": "CANCEL", "delayed_until": "2020-11-29T21:16:51.086Z", "version_token": "FfQhQJf9r3VSQIgyWBk1oqhIwiznLwVwJbVVA0bdyEv6o" } } } }