Search + K

Command Palette

Search for a command to run...

Sign In

update an instance of payments with different phases of payment flows.

POST /2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Payments/{Sid}.json
Copy endpoint
https://api.twilio.com

update an instance of payments with different phases of payment flows.

Parameters

path Path Parameters

Name Type
AccountSid required

The SID of the Account that will update the resource.

`AC${string}`
CallSid required

The SID of the call that will update the resource. This should be the same call sid that was used to create payments resource.

`CA${string}`
Sid required

The SID of Payments session that needs to be updated.

`PK${string}`

Request Body

application/x-www-form-urlencoded
{
IdempotencyKey: string;
StatusCallback: string;
Capture?: PaymentsEnumCapture
type PaymentsEnumCapture = "payment-card-number" | "expiration-date" | "security-code" | "postal-code" | "bank-routing-number" | "bank-account-number"
;
Status?: PaymentsEnumStatus
type PaymentsEnumStatus = "complete" | "cancel"
;
}

Responses

202 application/json

Accepted

interface ApiV2010AccountCallPayments {
account_sid?: `AC${string}` | null;
call_sid?: `CA${string}` | null;
sid?: `PK${string}` | null;
date_created?: string | null;
date_updated?: string | null;
uri?: string | null;
}