Delete Payment
Delete a payment for a user by ID
Endpoint Details
DELETE
/users/payments/purge/{userId}/{paymentId}
Path Parameters
userId
string
Existing user identifier, returned upon session creation or update
paymentId
string
Existing payment identifier of the user
Headers
Content-Type
application/json
Authorization
Bearer <YOUR_ACCESS_TOKEN>
Response Details
statusCode
number
HTTP status code of the response
message
string
A brief message describing the result of the API call
metadata
Contains metadata about the API call
data.deleted
boolean
States if delete succeded or not
data.message
string
Delete message
Metadata Object
Sample Request and Response
Last updated