clearPaymentSession
Overview
This mutation clears the current payment session. The payment session and all information contained within is deleted.
Special Considerations
N/A
Inputs
N/A
Returns
Promise<SuccessResult>
A promise containing the following object / data:
message: string
Example
Running this mutation:
mutation {
clearPaymentSession {
message
}
}
Gives us:
{
"data": {
"createPaymentSession": {
"message": "Payment session successfully cleared"
}
}
}
Common Errors
N/A