{"title":"Payment Object Reference","slug":"payment-object-reference","url":"https://support.storeconnect.com/articles/payment-object-reference","url_markdown":"https://support.storeconnect.com/articles/payment-object-reference.md","subtitle":null,"summary":"A Payment object holds the payment information associated with an Order checked out by a shopper.","type":"Developer_Documentation","video_url":"","keywords":"salesforce, object reference, Payment, s_c__Payment__c, api","last_modified":"2026-08-21T07:12:35+0000","body_markdown":"## Overview\n\nA Payment object holds the payment information associated with an Order checked out by a shopper.\n\n| Property | Value |\n|----------|-------|\n| **API Name** | `s_c__Payment__c` |\n| **Label** | Payment |\n| **Plural Label** | Payments |\n| **Type** | Custom Object |\n\n## Fields\n\n| Field Label | API Name | Type | Required | Description |\n|-------------|----------|------|----------|-------------|\n| Amount Tendered | `s_c__Amount_Tendered__c` | Currency(10,5) | No | The amount given by the customer when making this payment (before change is given). |\n| Amount | `s_c__Amount__c` | Currency(18,2) | No | The amount of this Payment including any surcharges |\n| Change Given | `s_c__Change_Given__c` | Currency(10,5) | No | The amount given as change to the customer as part of this payment. |\n| Error Messages | `s_c__Error_Messages__c` | LongTextArea(131072) | No | Any errors that occurred when the system attempted to process this payment. |\n| Invoice Reference | `s_c__Invoice_Reference__c` | Text(255) | No | Optional reference to the invoice for this Payment. Not used by StoreConnect. |\n| Invoice URL | `s_c__Invoice_Url__c` | Text(255) | No | Optional URL of the invoice for this Payment. Not used by StoreConnect. |\n| Last Error At | `s_c__Last_Error_At__c` | DateTime | No | The date/time the last error occurred when the system attempted to process this payment. |\n| Latest Api Response | `s_c__Latest_Api_Response__c` | LongTextArea(131072) | No | [Internal Use] Latest response returned by the Payment_Provider__c. |\n| Linked Payment | `s_c__Linked_Payment_Id__c` | Lookup ([s_c__Payment__c](payment-object-reference)) | No | Reference to a related Payment, e.g. linking a refund to its original payment. |\n| Method | `s_c__Method__c` | Text(255) | No | The name of the Payment_Provider__c that created this Payment (e.g. \"Stripe\"). |\n| Order | `s_c__Order_Id__c` | Lookup ([Order](order-object-reference)) | No | Reference to the Order for which this Payment was created. |\n| Origin | `s_c__Origin__c` | Text(255) | No | The cause of this Payment's creation. |\n| Paid At | `s_c__Paid_At__c` | DateTime | No | The date and time this Payment was successfully completed. |\n| Payment Method | `s_c__Payment_Method_Id__c` | Lookup ([s_c__Payment_Method__c](payment-method-object-reference)) | No | Optional reference to the saved payment method used for this payment. |\n| Payment Provider | `s_c__Payment_Provider_Id__c` | Lookup ([s_c__Payment_Provider__c](payment-provider-object-reference)) | No | The Payment_Provider__c used to process this Payment. |\n| Points Amount | `s_c__Points_Amount__c` | Number(18,0) | No | The points amount of this Payment including any surcharges. |\n| Preauth Amount To Capture | `s_c__Preauth_Amount_To_Capture__c` | Currency(18,2) | No | The amount to capture from a pre-authorized payment. |\n| Preauthorization Token | `s_c__Preauthorization_Token__c` | Text(255) | No | Preauthorization token used by Payment_Provider__c for capturing payment. |\n| Reason | `s_c__Reason__c` | Text(255) | No | Reason for the payment action, e.g. refund reason. |\n| Register Shift | `s_c__Register_Shift_Id__c` | Lookup ([s_c__Register_Shift__c](register-shift-object-reference)) | No | The Register Shift in which this payment was taken. For a refund, this is the shift in which the refund was processed, which may differ from the original order's shift. Used by end-of-shift reconciliation. |\n| Response | `s_c__Response__c` | Text(255) | No | [Internal Use] Response returned by the Payment_Provider__c. |\n| Salesforce User Id | `s_c__Salesforce_User_Id__c` | Text(18) | No | Salesforce User ID of the user who initiated the payment action. |\n| Status | `s_c__Status__c` | Picklist | No | Status of the payment record. |\n| Surcharge Amount | `s_c__Surcharge_Amount__c` | Currency(18,2) | No | The amount of the surcharge (included within the amount) |\n| Surcharge Product | `s_c__Surcharge_Product_Id__c` | Lookup ([Product2](product2-object-reference)) | No | The product used when generating the surcharge on this payment |\n| Transaction Number | `s_c__Transaction_Number__c` | Text(255) | No | Transaction number returned by the Payment_Provider__c. |\n| StoreConnect External ID | `s_c__sC_Id__c` | Text(36) | No | StoreConnect External ID, do not modify in Salesforce |\n\n## Relationships\n\n| Field | Type | Related Object | Relationship Name |\n|-------|------|----------------|-------------------|\n| `s_c__Linked_Payment_Id__c` | Lookup | [s_c__Payment__c](payment-object-reference) | Linked_Payments |\n| `s_c__Order_Id__c` | Lookup | [Order](order-object-reference) | Payments |\n| `s_c__Payment_Method_Id__c` | Lookup | [s_c__Payment_Method__c](payment-method-object-reference) | Payments |\n| `s_c__Payment_Provider_Id__c` | Lookup | [s_c__Payment_Provider__c](payment-provider-object-reference) | Payment_Payment_Providers |\n| `s_c__Register_Shift_Id__c` | Lookup | [s_c__Register_Shift__c](register-shift-object-reference) | Payment_Register_Shift |\n| `s_c__Surcharge_Product_Id__c` | Lookup | [Product2](product2-object-reference) | Payment_Surcharge_Products |\n\n## Referenced by\n\nThese objects hold a lookup or master-detail relationship to **Payment** (`s_c__Payment__c`). Where the referring record exists to join things together, **Also links to** shows what it connects this object to.\n\n| Object | Field | Type | Relationship Name | Also links to |\n|--------|-------|------|-------------------|---------------|\n| [s_c__Account_Credit_Ledger__c](account-credit-ledger-object-reference) | `s_c__Payment_Id__c` | Lookup | Account_Credit_Ledgers | [s_c__Account_Credit__c](account-credit-object-reference), [Contact](contact-object-reference) |\n| [s_c__Account_Points_Ledger__c](account-points-ledger-object-reference) | `s_c__Payment_Id__c` | Lookup | Account_Points_Ledger_Payments | — |\n| [s_c__Payment__c](payment-object-reference) | `s_c__Linked_Payment_Id__c` | Lookup | Linked_Payments | — |\n| [s_c__Payment_Installment__c](payment-installment-object-reference) | `s_c__Payment_Id__c` | Lookup | Payment_Installment_Payment | — |\n| [s_c__Payment_Item__c](payment-item-object-reference) | `s_c__Payment_Id__c` | Lookup | Payment_Item_Payment | [OrderItem](orderitem-object-reference) |\n| [s_c__Voucher_Payment__c](voucher-payment-object-reference) | `s_c__Payment_Id__c` | Lookup | Voucher_Payment_Payments | [s_c__Voucher__c](voucher-object-reference) |\n\n\u003c!-- DIAGRAM OPPORTUNITY\n     This object is a hub: 6 outbound and 6 inbound relationships. An entity-relationship diagram grouping these by functional area would let a reader see its place in the model without reading two long tables.\n     Deferred to the diagram phase; remove this comment when a diagram is added. --\u003e"}