@adyen/api-library
Version:
The Adyen API Library for NodeJS enables you to work with Adyen APIs.
32 lines (31 loc) • 1.58 kB
TypeScript
export declare class SessionResultResponse {
/**
* A unique identifier of the session.
*/
'id'?: string;
/**
* The status of the session. The status included in the response doesn\'t get updated. Don\'t make the request again to check for payment status updates. Possible values: * **completed**: the shopper completed the payment, and the payment was authorized. * **paymentPending**: the shopper is in the process of making the payment. This applies to payment methods with an asynchronous flow, like voucher payments where the shopper completes the payment in a physical shop. * **refused**: the session has been refused, because of too many refused payment attempts. The shopper can no longer complete the payment with this session. * **canceled**: the shopper canceled the payment. * **expired**: the session expired. The shopper can no longer complete the payment with this session. By default, the session expires one hour after it is created.
*/
'status'?: SessionResultResponse.StatusEnum;
static discriminator: string | undefined;
static attributeTypeMap: Array<{
name: string;
baseName: string;
type: string;
}>;
static getAttributeTypeMap(): {
name: string;
baseName: string;
type: string;
}[];
}
export declare namespace SessionResultResponse {
enum StatusEnum {
Active = "active",
Canceled = "canceled",
Completed = "completed",
Expired = "expired",
PaymentPending = "paymentPending",
Refused = "refused"
}
}