mirror of
https://github.com/jlengrand/adyen-node-api-library.git
synced 2026-03-10 08:01:20 +00:00
52 lines
2.4 KiB
TypeScript
52 lines
2.4 KiB
TypeScript
/**
|
|
* Adyen Checkout API
|
|
* Adyen Checkout API provides a simple and flexible way to initiate and authorise online payments. You can use the same integration for payments made with cards (including One-Click and 3D Secure), mobile wallets, and local payment methods (e.g. iDEAL and Sofort). This API reference provides information on available endpoints and how to interact with them. To learn more about the API, visit [Checkout documentation](https://docs.adyen.com/checkout). ## Authentication Each request to the Checkout API must be signed with an API key. For this, obtain an API Key from your Customer Area, as described in [How to get the API key](https://docs.adyen.com/user-management/how-to-get-the-api-key). Then set this key to the `X-API-Key` header value, for example: ``` curl -H \"Content-Type: application/json\" \\ -H \"X-API-Key: Your_Checkout_API_key\" \\ ... ``` Note that when going live, you need to generate a new API Key to access the [live endpoints](https://docs.adyen.com/development-resources/live-endpoints). ## Versioning Checkout API supports versioning of its endpoints through a version suffix in the endpoint URL. This suffix has the following format: \"vXX\", where XX is the version number. For example: ``` https://checkout-test.adyen.com/v51/payments ```
|
|
*
|
|
* The version of the OpenAPI document: 51
|
|
* Contact: support@adyen.com
|
|
*
|
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
* https://openapi-generator.tech
|
|
* Do not edit the class manually.
|
|
*/
|
|
|
|
|
|
export class PaymentMethodsGroup {
|
|
/**
|
|
* The type to submit for any payment method in this group.
|
|
*/
|
|
'groupType'?: string;
|
|
/**
|
|
* The human-readable name of this group.
|
|
*/
|
|
'name'?: string;
|
|
/**
|
|
* The types of payment methods that belong in this group.
|
|
*/
|
|
'types'?: Array<string>;
|
|
|
|
static discriminator: string | undefined = undefined;
|
|
|
|
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
|
|
{
|
|
"name": "groupType",
|
|
"baseName": "groupType",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "name",
|
|
"baseName": "name",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "types",
|
|
"baseName": "types",
|
|
"type": "Array<string>"
|
|
} ];
|
|
|
|
static getAttributeTypeMap() {
|
|
return PaymentMethodsGroup.attributeTypeMap;
|
|
}
|
|
}
|
|
|