bluesnap
Version:
Node SDK for the BlueSnap Payment Gateway
16 lines (15 loc) • 494 B
TypeScript
import { ValidatedResponse } from '../../errors/models/ValidatedResponse';
/**
* Contains details for requesting a refund
*/
export declare type RefundRequestQueryParams = {
amount?: number;
reason?: string;
cancelsubscriptions?: boolean;
} & {
[key: string]: number;
};
/**
* Refund transactions will return null if successful. An error response can be a string or a validated response.
*/
export declare type RefundTransactionResponse = ValidatedResponse | string | null;