Skip to content
Logo

GET /payment-reasons

Every reason a payment can carry — the closed set accepted on the payment_reason field when accepting a quote. Each entry pairs the wire value with a display label for pickers and receipts.

Unauthenticated. No Api-Key or Authorization header required.

Response 200

{
  "payment_reasons": [
    {
      "value": "charitable_contributions",
      "label": "Charitable contributions"
    },
    {
      "value": "purchase_of_goods",
      "label": "Purchase of goods"
    },
    {
      "value": "employee_salaries_or_wages",
      "label": "Employee salaries or wages"
    }
  ]
}

PaymentReasonInfo

FieldTypeNotes
valuestringWire token supplied on the accept request's payment_reason field.
labelstringHuman-readable label suitable for a picker or receipt.

Example

curl "$SEISMIC_ORCHESTRATION_URL/v0/payment-reasons"