Transfer
Type: object
Required means required within its containing object, when that object is present. Union/conditional constraints remain defined by the JSON Schema below.
| Field | Type | Presence | Description / constraints |
|---|---|---|---|
answered_at | anyOf: string (date-time); null | Optional | — |
billing_status | pending, settled | Optional | — |
call | string | Optional | Public call_… reference (not a UUID). pattern: ^call_[0-7][0-9A-HJKMNP-TV-Z]{25}$ |
cost_micros | anyOf: string; null | Optional | — |
ended_at | anyOf: string (date-time); null | Optional | — |
id | string | Optional | Public xfer_… reference (not a UUID). pattern: ^xfer_[0-7][0-9A-HJKMNP-TV-Z]{25}$ |
max_duration_seconds | integer | Optional | minimum: 0 |
status | creating, accepted, connected, completed, failed | Optional | — |
to | string | Optional | pattern: ^\+[1-9][0-9]{6,14}$ |
JSON Schema
json
{
"additionalProperties": true,
"properties": {
"answered_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"billing_status": {
"enum": [
"pending",
"settled"
],
"type": "string"
},
"call": {
"description": "Public call_… reference (not a UUID)",
"pattern": "^call_[0-7][0-9A-HJKMNP-TV-Z]{25}$",
"type": "string"
},
"cost_micros": {
"anyOf": [
{
"description": "Integer USD micros as a decimal string; $1 = 1000000 micros",
"pattern": "^[0-9]+$",
"type": "string"
},
{
"type": "null"
}
]
},
"ended_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"id": {
"description": "Public xfer_… reference (not a UUID)",
"pattern": "^xfer_[0-7][0-9A-HJKMNP-TV-Z]{25}$",
"type": "string"
},
"max_duration_seconds": {
"minimum": 0,
"type": "integer"
},
"status": {
"enum": [
"creating",
"accepted",
"connected",
"completed",
"failed"
],
"type": "string"
},
"to": {
"examples": [
"+12125550101"
],
"pattern": "^\\+[1-9][0-9]{6,14}$",
"type": "string"
}
},
"type": "object"
}