update an instance of payments with different phases of payment flows.
POST
/2010-04-01/Accounts/{AccountSid}/Calls/{CallSid}/Payments/{Sid}.json 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 ;
Status?:PaymentsEnumStatus ;
}
IdempotencyKey: string;
StatusCallback: string;
Capture?:
Status?:
}
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;
}
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;
}