UNPKG

@paydock/client-sdk

Version:

Paydock client sdk

58 lines 1.57 kB
import { ApiInternal } from './api-internal'; import { Observable } from 'rxjs'; export declare class ApiCheckoutInternal { protected api: ApiInternal; constructor(api: ApiInternal); instructions(): Observable<object>; private getInstructionLink; callback(payload: Object): Promise<Object>; status(id: string): Promise<Object>; } export interface HandleResponseInterface { status: string; error: string; result: { reference: string; reference_2: string; identifier: string; identifier_2: string; identifier_3: string; identifier_4: string; identifier_5: string; type: string; status: string; status_2: string; status_code: string; ref_token: string; cancellation: string; count: string; version: string; whitelist: { status: string; source: string; }; result: string; }; } export interface ProcessAuthenticationResponse { status: string; error?: string; result?: { challenge: string; challenge_url: string; decoupled_challenge: boolean; frictionless: boolean; identifier: string; identifier_3: string; identifier_4: string; reference: string; reference_2: string; secondary_url: string; skipped: boolean; status: string; type: string; version: string; description?: string; }; } //# sourceMappingURL=api-checkout-internal.d.ts.map