DELETE
/
payment-methods
/
{payment_method_id}
/
payment-service-tokens
/
{payment_service_token_id}
curl --request DELETE \
  --url https://api.{id}.gr4vy.app/payment-methods/{payment_method_id}/payment-service-tokens/{payment_service_token_id} \
  --header 'Authorization: Bearer <token>'
This response does not have an example.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-gr4vy-merchant-account-id
string | null

The ID of the merchant account to use for this request.

Examples:

"default"

Path Parameters

payment_method_id
string
required

The ID of the payment method

Examples:

"ef9496d8-53a5-4aad-8ca2-00eb68334389"

payment_service_token_id
string
required

The ID of the payment service token

Examples:

"703f2d99-3fd1-44bc-9cbd-a25a2d597886"

Query Parameters

timeout_in_seconds
number
default:1

Response

204

Successful Response