# Update an instance of payments with different phases of payment flows. **POST /2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Payments/{Sid}.json** update an instance of payments with different phases of payment flows. Twilio enabled secure payments solution for accepting credit and ACH payments over the phone. ## Servers - https://api.twilio.com: https://api.twilio.com () ## Authentication methods - Account sid auth token ## Parameters ### Path parameters - **AccountSid** (string) The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that will update the resource. - **CallSid** (string) The SID of the call that will update the resource. This should be the same call sid that was used to create payments resource. - **Sid** (string) The SID of Payments session that needs to be updated. ### Body: application/x-www-form-urlencoded (object) - **IdempotencyKey** (string) A unique token that will be used to ensure that multiple API calls with the same information do not result in multiple transactions. This should be a unique string value per API call and can be a randomly generated. - **StatusCallback** (string(uri)) Provide an absolute or relative URL to receive status updates regarding your Pay session. Read more about the [Update](https://www.twilio.com/docs/voice/api/payment-resource#statuscallback-update) and [Complete/Cancel](https://www.twilio.com/docs/voice/api/payment-resource#statuscallback-cancelcomplete) POST requests. - **Capture** (string) - **Status** (string) ## Responses ### 202 Accepted #### Headers - **Access-Control-Allow-Origin** (string) Specify the origin(s) allowed to access the resource - **Access-Control-Allow-Methods** (string) Specify the HTTP methods allowed when accessing the resource - **Access-Control-Allow-Headers** (string) Specify the headers allowed when accessing the resource - **Access-Control-Allow-Credentials** (boolean) Indicates whether the browser should include credentials - **Access-Control-Expose-Headers** (string) Headers exposed to the client #### Body: application/json (object) - **account_sid** (string | null) The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Payments resource. - **call_sid** (string | null) The SID of the [Call](https://www.twilio.com/docs/voice/api/call-resource) the Payments resource is associated with. This will refer to the call sid that is producing the payment card (credit/ACH) information thru DTMF. - **sid** (string | null) The SID of the Payments resource. - **date_created** (string(date-time-rfc-2822) | null) The date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format. - **date_updated** (string(date-time-rfc-2822) | null) The date and time in GMT that the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format. - **uri** (string | null) The URI of the resource, relative to `https://api.twilio.com`. [Powered by Bump.sh](https://bump.sh)