Home
Square
Payment Example
Payment Example
Restaurant Bookings Catalog Checkout Customers Disputes E-Commerce Financial Technology Gift Cards Inventory Invoicing Labor Locations Loyalty Merchants Order Payments Point-of-Sale Refunds Retail Subscription Team Terminal Webhook
Payment Example is an example object payload from Square, with 38 top-level fields. It illustrates the shape of data this provider's APIs accept or return.
Top-level fields
id created_at updated_at amount_money tip_money total_money app_fee_money approved_money processing_fee refunded_money status delay_duration delay_action delayed_until source_type card_details cash_details bank_account_details external_details wallet_details buy_now_pay_later_details square_account_details location_id order_id reference_id customer_id employee_id team_member_id refund_ids risk_evaluation buyer_email_address billing_address shipping_address note statement_description_identifier receipt_number receipt_url version_token
Example Payload
{
"id": "A1B2C3D4E5F6",
"created_at": "2026-03-15T14:30:00Z",
"updated_at": "2026-03-15T14:30:00Z",
"amount_money": {
"amount": 12345,
"currency": "USD"
},
"tip_money": {
"amount": 44688,
"currency": "USD"
},
"total_money": {
"amount": 19109,
"currency": "USD"
},
"app_fee_money": {
"amount": 5867,
"currency": "USD"
},
"approved_money": {
"amount": 43490,
"currency": "USD"
},
"processing_fee": [
{
"effective_at": "2026-03-15T14:30:00Z",
"type": "sample-value",
"amount_money": {
"amount": 42756,
"currency": "USD"
}
}
],
"refunded_money": {
"amount": 7945,
"currency": "USD"
},
"status": "FAILED",
"delay_duration": "sample-value",
"delay_action": "CANCEL",
"delayed_until": "2026-03-15T14:30:00Z",
"source_type": "WALLET",
"card_details": {},
"cash_details": {
"buyer_supplied_money": {
"amount": 46320,
"currency": "USD"
},
"change_back_money": {
"amount": 6320,
"currency": "USD"
}
},
"bank_account_details": {},
"external_details": {},
"wallet_details": {},
"buy_now_pay_later_details": {},
"square_account_details": {},
"location_id": "A1B2C3D4E5F6",
"order_id": "A1B2C3D4E5F6",
"reference_id": "A1B2C3D4E5F6",
"customer_id": "A1B2C3D4E5F6",
"employee_id": "A1B2C3D4E5F6",
"team_member_id": "A1B2C3D4E5F6",
"refund_ids": [
"sample-value"
],
"risk_evaluation": {
"created_at": "2026-03-15T14:30:00Z",
"risk_level": "PENDING"
},
"buyer_email_address": "buyer@example.com",
"billing_address": {},
"shipping_address": {},
"note": "Sample Square record.",
"statement_description_identifier": "Sample Square record.",
"receipt_number": "SAMP",
"receipt_url": "https://squareup.com/receipt/abc123",
"version_token": "sample-value"
}