Delete Payment Intent
Execute this endpoint to delete a payment intent. Sandbox or production environment will be selected by apiKey passed as authentication.
Uri
https://backend.turinlabs.com/graphql
Headers
{
"apiKey": "turinpay_sk_test_eee78-de9e-4e84-b2e6-fc2ae0687"
}
GraphQL Query
mutation DELETE_PAYMENT_INTENT_MUTATION($input: DeletePaymentIntentInput!) {
deleteTPayPaymentIntent(input: $input) {
__typename
... on GenericResult {
result
}
... on Error {
code
message
description
}
}
}
Variables (sample)
{
"input": {
"id": "c6908e14-19a4-4500-a7ff-a517091cb994"
}
}
Parameters description
id: (mandatory) pass the id of a payment intent to delete it.
Last updated