T402 API Reference - v2.8.0
    Preparing search index...

    Interface A2APaymentResult

    Result of payment processing

    interface A2APaymentResult {
        success: boolean;
        receipts?: SettleResponse[];
        error?: string;
        message: A2AMessage;
    }
    Index

    Properties

    success: boolean

    Whether payment was successful

    receipts?: SettleResponse[]

    Settlement receipts (if settled)

    error?: string

    Error message (if failed)

    message: A2AMessage

    A2A message to include in response