# Create a payment record for a specific account **POST /accounts/{account_id}/line_items/payments/payment_record** Canopy will simply record the payment details in the system of record without attempting to leverage the payment processing configuration to initiate the actual transaction. ## Servers - Public Sandbox: https://sandbox-api.canopyservicing.com (Public Sandbox) - Protected UAT Sandbox: https://uat-api.canopyservicing.com (Protected UAT Sandbox) - Production: https://api.canopyservicing.com (Production) ## Authentication methods - O auth2 ## Parameters ### Path parameters - **account_id** (string) Account ID ### Body: application/json (object) Body of request to create payment. - **line_item_id** (string) The ID to be associated with the line item for future requests. - **original_amount_cents** (integer) The payment amount in cents. - **line_item_status** (string) The new status which you would like to set for the line item - **effective_at** (string(date-time)) The `Date-Time` that the payment is applicable to the account. Although the payment is created in Canopy today, it can actually be effective 10 days prior. - **external_fields** (array[object] | null) External fields can be used to relate payments created in Canopy to entities in your or any external system. ## Responses ### 200 Payment created #### Body: application/json (object) - **account_id** (string) The account associated with the line item - **line_item_id** (string) The ID associated with the line item - **effective_at** (string(date-time)) The `Date-Time` that this line item became/becomes active - **created_at** (string(date-time)) The `Date-Time` which the line item was created. - **product_id** (string) the Product ID of the account - **line_item_summary** (object) - **merchant_data** (object | null) Merchant information if applicable. - **issuer_processor_details** (object | null) - **external_fields** (array[object] | null) An array of static references to fields in a third party system. - **line_item_overview** (object) ### 401 Unauthorized. ### 403 Forbidden. ### 422 Invalid input ### 429 Too many requests. ### default Unexpected Error. [Powered by Bump.sh](https://bump.sh)