Skip to main content
POST
/
retryInvoice
retryInvoice
curl --request POST \
  --url https://alphainsider.com/api/retryInvoice \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "invoice_id": "<string>"
}
'
{
  "success": true,
  "response": [
    {
      "invoice_id": "NJ9Fo2OSoM5MRy5ithwnw",
      "user_id": "user_1",
      "description": "Pro Account Monthly Subscription",
      "status": "paid",
      "updated_at": "2024-10-22T20:59:25.765Z",
      "created_at": "2024-10-22T20:59:22.304Z",
      "amount": "5000",
      "amount_refunded": "0",
      "source": {
        "source_id": "ta-fz_Z_fkHau1d5k3HUR",
        "user_id": "user_1",
        "type": "card",
        "direction": "in",
        "primary": true,
        "description": "Card (VISA ....4242)",
        "name": "fds fds",
        "city": "fds",
        "country": "US",
        "line_one": "fds",
        "line_two": "fds",
        "district": "fd",
        "postal": "33132",
        "status": "active",
        "updated_at": "2024-10-21T17:51:08.576296+00:00",
        "created_at": "2024-08-30T13:41:24.478454+00:00"
      }
    }
  ]
}

Headers

Authorization
string<JWT>
required

User API token.

Body

application/json
invoice_id
string
required

Invoice ID.

Response

Request was successful.