@adyen/api-library
Version:
The Adyen API Library for NodeJS enables you to work with Adyen APIs.
49 lines (48 loc) • 2.21 kB
TypeScript
export declare class CheckoutOutgoingForwardRequest {
/**
* The request body that you want Adyen to forward to the third party on your behalf, in string format. Include key value pairs to specify the payment details, and use [placeholders](https://docs.adyen.com/online-payments/tokenization/forward-payment-details#placeholders) for the values. Adyen replaces the placeholders with the payment details when making the request to the third party. When forwarding a network token, include a [condition](https://docs.adyen.com/online-payments/tokenization/forward-payment-details#conditional-placeholders) that checks if the network token exists, and informs Adyen of which fields to send depending on the outcome.
*/
"body": string;
/**
* Your credentials that are needed to authenticate with the third party.
*/
"credentials"?: string;
/**
* The request headers that will be included in the request Adyen makes to the third party on your behalf. Supports the `{{credentials}}` [placeholder](https://docs.adyen.com/online-payments/tokenization/forward-payment-details#placeholders).
*/
"headers"?: {
[]: string;
};
/**
* The HTTP method to use for the request Adyen makes on your behalf to the third party.
*/
"httpMethod": CheckoutOutgoingForwardRequest.HttpMethodEnum;
/**
* The suffix that Adyen needs to append to the `baseUrl` to construct the destination URL that belongs to the third party. This is usually the endpoint name for the request, for example, **_/payments**.
*/
"urlSuffix"?: string;
static readonly discriminator: string | undefined;
static readonly mapping: {
[]: string;
} | undefined;
static readonly attributeTypeMap: Array<{
name: string;
baseName: string;
type: string;
format: string;
}>;
static getAttributeTypeMap(): {
name: string;
baseName: string;
type: string;
format: string;
}[];
constructor();
}
export declare namespace CheckoutOutgoingForwardRequest {
enum HttpMethodEnum {
Post = "post",
Put = "put",
Patch = "patch"
}
}