> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://zuora.ferndocs.com/docs/platform/integration/apis/soap-api/soap-api-object-reference/payment-object/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://zuora.ferndocs.com/_mcp/server. # Payment > The Payment object holds all of the information about an individual payment, including the payment amount and to which invoices the payment was applied to. The Payment object holds all of the information about an individual payment, including the payment amount and to which invoices the payment was applied to. A payment is the money that customers send to pay for invoices related to their subscriptions. You can create the Payment object in a create() call and apply the payment to the customer's invoices and account. There are two ways to create a payment: * Create payment using InvoiceId and InvoiceNumber * Create payment using InvoicePaymentData ## Supported calls You can use this object with the following calls: * create() * delete() * query() * update() > **Note** > > You can't use the delete() call for the Payment object if your WSDL is version 30.0 or older. ## Walkthroughs and use cases Here are some common ways to use this object: * Apply a payment to an invoice * Apply a payment to multiple invoices * Delete a payment * Change an existing payment * Apply an external payment to an invoice * Apply multiple payments to different invoices ## Code examples ## Create Payment Using InvoiceId and InvoiceNumber To create a payment against a single invoice. ``` 2c92a0f94b07c36d014b178abac902f0 500 0 500 2015-01-27T13:19:39 2c92a0944b07c492014b178be9ef7327 2c92a0f94b07c36d014b178abae902f2 Processed Electronic ``` ## Create Payment Using InvoicePaymentData To create a payment against multiple invoices. ``` 402896ba500425ab01500429176c000f 200 2015-09-25 0 100.0 402896ba500425ab0150042ab9440035 0 100.0 402896ba500425ab0150042c8d9b0053 0 402881e522cf4f9b0122cf5dc3ef003d Processed External ``` ## Create() call response All Payment create() calls return a Success response and a Payment Id. The Success response refers to the creation of the payment object, not to the success or failure of the payment request. The following create request and the response demonstrate this point. Create request ``` 2c92c0f84088c66101409de647c25608 530.00 530 2013-08-20T11:07:55-07:00 2c92c0f84088c66101409de647c7560a Processed Electronic ``` Response The request response indicates that the Payment object is successfully created, even if the Payment Status is Error. Furthermore, the response does not provide the gateway response. ``` 2c92c0f94088cd3c01409df413294e94 true ``` To see the gateway response to the request, use the payment ID to query the payment object that was created and review the Status, GatewayResponse, and GatewayResponseCode attributes. > The Payment object holds all of the information about an individual payment, including the payment amount and to which invoices the payment was applied to. ## Docs - [Field descriptions of Payment](https://zuora.ferndocs.com/docs/platform/integration/apis/soap-api/soap-api-object-reference/payment-object/field-descriptions.md): This reference provides descriptions of the fields of the Payment object. - [Additional field details of Payment](https://zuora.ferndocs.com/docs/platform/integration/apis/soap-api/soap-api-object-reference/payment-object/additional-field-details.md): Addition field details of the Payment object. - [Pass gateway parameters](https://zuora.ferndocs.com/docs/platform/integration/apis/soap-api/soap-api-object-reference/payment-object/pass-gateway-parameters.md): Provides sample codes for passing gateway parameters using the Payment SOAP API. - [Apply payments to an invoice](https://zuora.ferndocs.com/docs/platform/integration/apis/soap-api/soap-api-object-reference/payment-object/apply-payments-to-an-invoice.md): As of API version 22, Zuora offers an improved, streamlined method of creating a payment and applying a payment to an invoice with a single API call. - [Apply payments to an invoice: streamlined method](https://zuora.ferndocs.com/docs/platform/integration/apis/soap-api/soap-api-object-reference/payment-object/apply-payments-to-an-invoice/apply-payments-to-an-invoice-streamlined-method.md): Learn how to apply payments to an invoice using the streamlined method. - [Apply payments to an invoice: original method](https://zuora.ferndocs.com/docs/platform/integration/apis/soap-api/soap-api-object-reference/payment-object/apply-payments-to-an-invoice/apply-payments-to-an-invoice-original-method.md): Learn how to apply payments to an invoice using the original method. - [Handle overpayments](https://zuora.ferndocs.com/docs/platform/integration/apis/soap-api/soap-api-object-reference/payment-object/handle-overpayments.md): Introduces how to use the Payment SOAP API to handle overpayments. - [Handle overpayment of an invoice](https://zuora.ferndocs.com/docs/platform/integration/apis/soap-api/soap-api-object-reference/payment-object/handle-overpayments/handling-overpayment-of-an-invoice.md): Learn how to handle the overpayment of an invoice. - [Handle payments not applied to any invoices (payment for future charges)](https://zuora.ferndocs.com/docs/platform/integration/apis/soap-api/soap-api-object-reference/payment-object/handle-overpayments/handling-payments-not-applied-to-any-invoices-payment-for-future-charges.md): Learn how to handle payments for future charges.