UNPKG

@rapharacing/schemas

Version:

OpenAPI to JSON Schema to be used with middy for CC response validation

98 lines 2.34 kB
{ "type": "object", "properties": { "accountHolderName": { "type": "string", "description": "Name of account holder" }, "adyenFirstName": { "type": "string" }, "adyenLastName": { "type": "string" }, "adyenPaymentMethod": { "type": "string" }, "adyenSelectedReference": { "type": "string" }, "adyenSocialSecurityNumber": { "type": "string" }, "billingAddress": { "description": "Address details to be considered as billing address", "$ref": "_definitions.json#/definitions/Address", "originalRef": "Address" }, "cardNumber": { "type": "string", "description": "Payment card number" }, "cardType": { "description": "Type of payment card", "$ref": "_definitions.json#/definitions/CardType", "originalRef": "CardType" }, "defaultPayment": { "type": "boolean", "description": "Flag to mark if payment the default one" }, "encryptedCardNumber": { "type": "string" }, "encryptedExpiryMonth": { "type": "string" }, "encryptedExpiryYear": { "type": "string" }, "encryptedSecurityCode": { "type": "string" }, "expiryMonth": { "type": "string", "description": "Month of expiration of payment" }, "expiryYear": { "type": "string", "description": "Year of expiration of payment" }, "id": { "type": "string", "description": "Unique identifier of payment detail" }, "installments": { "type": "integer", "format": "int32" }, "issueNumber": { "type": "string", "description": "Issue number" }, "saveCardData": { "type": "boolean" }, "saved": { "type": "boolean", "description": "Flag to mark if payment is saved one" }, "startMonth": { "type": "string", "description": "Start month from which payment is valid" }, "startYear": { "type": "string", "description": "Start year from which payment is valid" }, "subscriptionId": { "type": "string", "description": "Identifier of subscription" }, "terminalId": { "type": "string" } }, "title": "PaymentDetails", "$schema": "http://json-schema.org/schema#" }