/** * NOTE: This file is auto generated by Xendit. * Do not edit the class manually. * Improvements? Share your ideas at https://github.com/xendit/xendit-node */ import type { PaymentCallbackData } from './PaymentCallbackData'; /** * Callback for successful or failed payments made via the Payments API * @export * @interface PaymentCallback */ export interface PaymentCallback { /** * Identifies the event that triggered a notification to the merchant * @type {string} * @memberof PaymentCallback */ event: string; /** * business_id * @type {string} * @memberof PaymentCallback */ businessId: string; /** * * @type {string} * @memberof PaymentCallback */ created: string; /** * * @type {PaymentCallbackData} * @memberof PaymentCallback */ data?: PaymentCallbackData; } /** * Check if a given object implements the PaymentCallback interface. */ export declare function instanceOfPaymentCallback(value: object): boolean; export declare function PaymentCallbackFromJSON(json: any): PaymentCallback; export declare function PaymentCallbackFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaymentCallback; export declare function PaymentCallbackToJSON(value?: PaymentCallback | null): any;