conekta
Version:
OpenAPI client for conekta
73 lines (68 loc) • 1.97 kB
text/typescript
/* tslint:disable */
/* eslint-disable */
/**
* Conekta API
* Conekta sdk
*
* The version of the OpenAPI document: 2.2.0
* Contact: engineering@conekta.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
* Payment method used in the charge. Go to the [payment methods](https://developers.conekta.com/reference/m%C3%A9todos-de-pago) section for more details
* @export
* @interface PaymentMethodGeneralRequest
*/
export interface PaymentMethodGeneralRequest {
/**
* Method expiration date as unix timestamp
* @type {number}
* @memberof PaymentMethodGeneralRequest
*/
'expires_at'?: number;
/**
* How many months without interest to apply, it can be 3, 6, 9, 12 or 18
* @type {number}
* @memberof PaymentMethodGeneralRequest
*/
'monthly_installments'?: number;
/**
* Type of payment method
* @type {string}
* @memberof PaymentMethodGeneralRequest
*/
'type': string;
/**
*
* @type {string}
* @memberof PaymentMethodGeneralRequest
*/
'token_id'?: string;
/**
*
* @type {string}
* @memberof PaymentMethodGeneralRequest
*/
'payment_source_id'?: string;
/**
* Optional, It is a value that allows identifying the security code of the card. Only for PCI merchants
* @type {string}
* @memberof PaymentMethodGeneralRequest
*/
'cvc'?: string;
/**
* Optional id sent to indicate the bank contract for recurrent card charges.
* @type {string}
* @memberof PaymentMethodGeneralRequest
*/
'contract_id'?: string;
/**
* Optional field used to capture the customer\'s IP address for fraud prevention and security monitoring purposes
* @type {string}
* @memberof PaymentMethodGeneralRequest
*/
'customer_ip_address'?: string;
}