Skip to content
Logo

api.paymentReasons

List the closed set of reasons accepted on accept's paymentReason field, each with a display label. Use it to drive a payment-reason picker without hard-coding the list. Unauthenticated.

const {  } = await .();
const  = .(() => ({ : ., : . }));

Arguments: none.

Returns: Promise<{ payment_reasons: PaymentReasonInfo[] }>.

REST endpoint: GET /payment-reasons.