# A document's payments, with refund and failure state (EAS-119)

What the sender needs to see: each payment's status (requires_payment, processing, succeeded, failed, canceled, refunded, partially_refunded, disputed), the Stripe reference, any failure reason, and the refunded amount. Empty for a document with no payment field.

Canonical: https://easerix.com/docs/developers/api/sign/payments/listDocumentPayments

{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}

export default function Layout(props) {
  const { APIPage, OpenAPIPage } = props.components ?? {};
  // "APIPage" is the old name from v10, this allows both for backward compatibility
  const Comp = OpenAPIPage ?? APIPage;
  return (
    <>
      {props.children}
      <Comp document="sign" operations={[{"path":"/v1/documents/{id}/payments","method":"get"}]} />
    </>
  );
}
