Delete the payment of an order for the user and project

DELETE /users/{user_id}/projects/{project_id}/orders/{order_id}/payments/{id}

Delete the payment of an order for the user and project. The order status will be recalculated and if it changes the corresponding webhook will be triggered.

Path parameters

  • user_id string Required

    User id

  • project_id string Required

    Project id

  • order_id string Required

    Order id

  • id string Required

    Resource ID

Responses

  • 200

    The deleted payment details

    Hide response attributes Show response attributes object
    • id string(uuid)
    • amount number(float)
    • created_at string(datetime)
    • order_id string(uuid)
    • project_id string(uuid)
DELETE /users/{user_id}/projects/{project_id}/orders/{order_id}/payments/{id}
curl \
 -X DELETE https://client-subdomain.bitbond.net/api/v1/users/{user_id}/projects/{project_id}/orders/{order_id}/payments/{id}
Response examples (200)
{
  "id": "string",
  "amount": 42.0,
  "created_at": "string",
  "order_id": "string",
  "project_id": "string"
}
Response examples (200)
{
  "id": "string",
  "amount": 42.0,
  "created_at": "string",
  "order_id": "string",
  "project_id": "string"
}