action beezup_get_credit_card_info { label: "Get credit card information" provider: beezup method: GET path: "/v2/user/customer/account/creditCardInfo" encoding: json input: { type: "object" properties: { "If-None-Match": { type: "string" } } additionalProperties: false } output: { type: "object" required: ["currentPaymentMethod", "links"] properties: { creditCardInfo: { required: ["cardNumber", "cardType", "expirationMonth", "expirationYear"] properties: { cardNumber: { type: "string" description: "Card number" } cardType: { type: "string" description: "Your credit card type. Example: VISA, MasterCard, etc..." } expirationMonth: { type: "integer" format: "int32" description: "Expiration Month" } expirationYear: { type: "integer" format: "int32" description: "Expiration Year" } } } currentPaymentMethod: { type: "string" description: "Payment method" enum: ["Transfer", "Debit", "Paypal", "Check", "CreditNote", "Loss", "OnlinePayment"] } info: { type: "object" properties: { errors: { type: "array" items: { type: "object" properties: { errorArguments: { type: "object" } errorCode: { type: "string" } errorGuid: { type: "string" format: "uuid" } errorMessage: { type: "string" } exceptionDetail: { type: "object" properties: { helpLink: { type: "string" } message: { type: "string" } stackTrace: { type: "string" } type: { type: "string" } } } objectName: { type: "string" } propertyName: { type: "string" } propertyValue: { type: "string" } source: { type: "string" } technicalErrorMessage: { type: "string" } utcDate: { type: "string" format: "date-time" } } } } informations: { type: "array" items: { type: "object" properties: { informationArguments: { type: "object" } informationCode: { type: "string" } informationMessage: { type: "string" } objectName: { type: "string" } propertyName: { type: "string" } propertyValue: { type: "string" } } } } successes: { type: "array" items: { type: "object" properties: { objectName: { type: "string" } propertyName: { type: "string" } propertyValue: { type: "string" } successArguments: { type: "object" } successCode: { type: "string" } successMessage: { type: "string" } } } } warnings: { type: "array" items: { type: "object" properties: { technicalErrorMessage: { type: "string" } warningArguments: { type: "object" } warningCode: { type: "string" } warningMessage: { type: "string" } } } } } } links: { type: "object" description: "The different actions you can make on this offer" required: ["saveCreditCardInfo", "self"] properties: { saveCreditCardInfo: { type: "object" } self: { type: "object" } } } } } }