Commet
  • Pricing
Log InTry out
Get transaction GETList transactions GETRefund transaction POSTRetry transaction POST
DocumentationKnowledge BaseBuild with AIAPI ReferenceWebhooks

Retry transaction

Retry a failed payment transaction. Creates a new invoice and initiates a new payment attempt.

POST
/transactions/{id}/retry

Retry a failed payment transaction. Creates a new invoice and initiates a new payment attempt.

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Path Parameters

id*string

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/transactions/string/retry"
{  "success": true,  "data": {    "id": "string",    "status": "processing",    "retryInvoiceNumber": "string",    "object": "transaction",    "livemode": true  }}
{  "success": false,  "error": {    "type": "string",    "code": "string",    "message": "string",    "param": "string",    "details": null,    "doc_url": "string"  }}
{  "success": false,  "error": {    "type": "string",    "code": "string",    "message": "string",    "param": "string",    "details": null,    "doc_url": "string"  }}
{  "success": false,  "error": {    "type": "string",    "code": "string",    "message": "string",    "param": "string",    "details": null,    "doc_url": "string"  }}
{  "success": false,  "error": {    "type": "string",    "code": "string",    "message": "string",    "param": "string",    "details": null,    "doc_url": "string"  }}
{  "success": false,  "error": {    "type": "string",    "code": "string",    "message": "string",    "param": "string",    "details": null,    "doc_url": "string"  }}

Refund transaction POST

Issue a full refund for a payment transaction.

Check usage availability POST

Check if a customer can consume a feature before actual consumption. Returns availability and cost estimates based on the plan's consumption model.