import { APIResource } from "../../core/resource.js"; import * as CardPaymentsAPI from "../card-payments.js"; import { APIPromise } from "../../core/api-promise.js"; import { RequestOptions } from "../../internal/request-options.js"; export declare class CardIncrements extends APIResource { /** * Simulates the increment of an authorization by a card acquirer. An authorization * can be incremented multiple times. * * @example * ```ts * const cardPayment = * await client.simulations.cardIncrements.create({ * amount: 500, * card_payment_id: 'card_payment_nd3k2kacrqjli8482ave', * }); * ``` */ create(body: CardIncrementCreateParams, options?: RequestOptions): APIPromise; } export interface CardIncrementCreateParams { /** * The amount of the increment in minor units in the card authorization's currency. */ amount: number; /** * The identifier of the Card Payment to create an increment on. */ card_payment_id: string; /** * The identifier of the Event Subscription to use. If provided, will override the * default real time event subscription. Because you can only create one real time * decision event subscription, you can use this field to route events to any * specified event subscription for testing purposes. */ event_subscription_id?: string; } export declare namespace CardIncrements { export { type CardIncrementCreateParams as CardIncrementCreateParams }; } //# sourceMappingURL=card-increments.d.ts.map