OneBasket

Cancel a payment intent

DELETE
/baskets/{id}/payment-intents/{paymentIntentId}

Cancels the previously created payment intent

Authorization

BearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string

The id of the basket

paymentIntentId*string

The id of the payment intent to delete.

Header Parameters

x-api-key*string

Response Body

application/json

curl -X DELETE "https://example.com/baskets/string/payment-intents/string" \  -H "x-api-key: string"
{  "notificationId": "string"}