Mutation
mutation PaymentVerify($callId: String!, $id: String!) {
paymentVerify(callId: $callId, id: $id) {
payment {
amount {
amount
currency
formatted
}
call {
actionItems
aiSummary
analysis {
__typename
}
attribution
bookingLink {
__typename
}
calendarAttemptId
}
createdAt
customerEmail
customerName
id
}
userErrors {
code
field
message
}
}
}Variables
{
"callId": "string",
"id": "string"
}Response
{
"data": {
"paymentVerify": {
"payment": {
"amount": {
"amount": "value",
"currency": "string",
"formatted": "string"
},
"call": {
"actionItems": [
"string"
],
"aiSummary": "string",
"analysis": {
"__typename": "CallAnalysis"
},
"attribution": "value",
"bookingLink": {
"__typename": "BookingLink"
},
"calendarAttemptId": "string"
},
"createdAt": "string",
"customerEmail": "string",
"customerName": "string",
"id": "string"
},
"userErrors": [
{
"code": "string",
"field": [
"string"
],
"message": "string"
}
]
}
}
}Mutations
paymentVerify
Verify a payment by linking it to a call
@example ```graphql
mutation {
paymentVerify(id: "payment_id", callId: "call_id") {
payment {
id
status
call { id }
}
userErrors {
message
}
}
}
```
MUTATION
paymentVerify(callId: String!, id: String!): PaymentVerifyPayload!Arguments
callId
String!
required
id
String!
required
Returns
payment
userErrors
[UserError!]!
Mutation
mutation PaymentVerify($callId: String!, $id: String!) {
paymentVerify(callId: $callId, id: $id) {
payment {
amount {
amount
currency
formatted
}
call {
actionItems
aiSummary
analysis {
__typename
}
attribution
bookingLink {
__typename
}
calendarAttemptId
}
createdAt
customerEmail
customerName
id
}
userErrors {
code
field
message
}
}
}Variables
{
"callId": "string",
"id": "string"
}Response
{
"data": {
"paymentVerify": {
"payment": {
"amount": {
"amount": "value",
"currency": "string",
"formatted": "string"
},
"call": {
"actionItems": [
"string"
],
"aiSummary": "string",
"analysis": {
"__typename": "CallAnalysis"
},
"attribution": "value",
"bookingLink": {
"__typename": "BookingLink"
},
"calendarAttemptId": "string"
},
"createdAt": "string",
"customerEmail": "string",
"customerName": "string",
"id": "string"
},
"userErrors": [
{
"code": "string",
"field": [
"string"
],
"message": "string"
}
]
}
}
}