Skip to main content
GET
/
v1
/
compute
/
ledger
/
credit-purchases
/
reconcile
Reconcile Credit Purchase
curl --request GET \
  --url https://api.dispersed.com/v1/compute/ledger/credit-purchases/reconcile
{
  "amount": 123,
  "currency": "<string>",
  "checkout_session_id": "<string>",
  "object": "compute_ledger_credit_purchase",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "uuid": "<string>",
  "consumer_profile_uuid": "<string>",
  "consumer_account_uuid": "<string>",
  "render_user_id": "<string>",
  "memo": "<string>",
  "completed_at": "2023-11-07T05:31:56Z"
}

Query Parameters

checkout_session_id
string
required

Stripe Checkout session ID to reconcile

Example:

"cs_test_abc123"

Response

Current state of the credit purchase (reconciled if PENDING)

amount
number | null
required
currency
string
required
checkout_session_id
string
required
status
enum<string>
required
Available options:
COMPLETED,
EXPIRED,
PENDING
object
enum<string>
required
Available options:
compute_ledger_credit_purchase
created_at
string<date-time> | null
required
updated_at
string<date-time> | null
required
uuid
string | null
consumer_profile_uuid
string | null
consumer_account_uuid
string | null
render_user_id
string | null
memo
string | null
completed_at
string<date-time> | null