Payment

Payment status query

get/v1/payment/{dd_id}/status

Request

  • Base URL: https://api.decision-anchor.com
  • URL: https://api.decision-anchor.com/v1/payment/{dd_id}/status
  • Auth: HTTP bearer

Path parameters

dd_idstring uuid required

Response

Payment status for the DD. A DD carries one row per cost component (a DD/EE record splits into base_fee and, when the EE axes add one, premium; other domains attach their own component to an anchor DD), so settlement_status is aggregated across rows and dac_amount_total is their sum.

dd_idstring uuid
payment_idstring uuid

Identifier of the first row in the stable order. Do not assume it is any particular cost component; address a specific component through payments[].

settlement_status'pending' | 'unreserved' | 'failed' | 'released' | 'settled'

Aggregated over every row, most conservative wins: pending > unreserved > failed > released > settled. It reads settled only when every row is settled. unreserved means the record holds no budget reservation. Trial-covered records are created this way, and unlike pending they carry no reservation to expire; both become settled on confirm.

payment_methodstring
paid_atstring date-time nullable
dac_amount_totalnumber

Sum of dac_amount over every row for this DD.

Changes

No recorded changes to this operation across all 1 revision of this API.