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 CardFuelConfirmations extends APIResource { /** * Simulates the fuel confirmation of an authorization by a card acquirer. This * happens asynchronously right after a fuel pump transaction is completed. A fuel * confirmation can only happen once per authorization. * * @example * ```ts * const cardPayment = * await client.simulations.cardFuelConfirmations.create({ * amount: 5000, * card_payment_id: 'card_payment_nd3k2kacrqjli8482ave', * }); * ``` */ create(body: CardFuelConfirmationCreateParams, options?: RequestOptions): APIPromise; } export interface CardFuelConfirmationCreateParams { /** * The amount of the fuel_confirmation in minor units in the card authorization's * currency. */ amount: number; /** * The identifier of the Card Payment to create a fuel_confirmation on. */ card_payment_id: string; } export declare namespace CardFuelConfirmations { export { type CardFuelConfirmationCreateParams as CardFuelConfirmationCreateParams }; } //# sourceMappingURL=card-fuel-confirmations.d.ts.map