@vality/swag-payments 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -0
- package/esm2020/lib/api/api.mjs +32 -0
- package/esm2020/lib/api/categories.service.mjs +212 -0
- package/esm2020/lib/api/contracts.service.mjs +592 -0
- package/esm2020/lib/api/countries.service.mjs +212 -0
- package/esm2020/lib/api/customers.service.mjs +675 -0
- package/esm2020/lib/api/invoice-templates.service.mjs +491 -0
- package/esm2020/lib/api/invoices.service.mjs +698 -0
- package/esm2020/lib/api/parties.service.mjs +444 -0
- package/esm2020/lib/api/payment-institutions.service.mjs +622 -0
- package/esm2020/lib/api/payments.service.mjs +1056 -0
- package/esm2020/lib/api/payouts.service.mjs +541 -0
- package/esm2020/lib/api/search.service.mjs +616 -0
- package/esm2020/lib/api/shops.service.mjs +584 -0
- package/esm2020/lib/api/tokens.service.mjs +165 -0
- package/esm2020/lib/api/trade-blocs.service.mjs +212 -0
- package/esm2020/lib/api/webhooks.service.mjs +401 -0
- package/esm2020/lib/api.module.mjs +40 -0
- package/esm2020/lib/configuration.mjs +102 -0
- package/esm2020/lib/encoder.mjs +19 -0
- package/esm2020/lib/index.mjs +7 -0
- package/esm2020/lib/model/access-token.mjs +13 -0
- package/esm2020/lib/model/allocation-body-amount-all-of.mjs +13 -0
- package/esm2020/lib/model/allocation-body-amount.mjs +2 -0
- package/esm2020/lib/model/allocation-body-total-all-of.mjs +2 -0
- package/esm2020/lib/model/allocation-body-total.mjs +2 -0
- package/esm2020/lib/model/allocation-fee-fixed-all-of.mjs +13 -0
- package/esm2020/lib/model/allocation-fee-fixed.mjs +2 -0
- package/esm2020/lib/model/allocation-fee-share-all-of.mjs +2 -0
- package/esm2020/lib/model/allocation-fee-share.mjs +2 -0
- package/esm2020/lib/model/allocation-fee-target.mjs +18 -0
- package/esm2020/lib/model/allocation-fee.mjs +8 -0
- package/esm2020/lib/model/allocation-target-shop-all-of.mjs +13 -0
- package/esm2020/lib/model/allocation-target-shop.mjs +2 -0
- package/esm2020/lib/model/allocation-target.mjs +18 -0
- package/esm2020/lib/model/allocation-transaction.mjs +8 -0
- package/esm2020/lib/model/apple-pay-all-of.mjs +13 -0
- package/esm2020/lib/model/apple-pay.mjs +2 -0
- package/esm2020/lib/model/articles-of-association.mjs +2 -0
- package/esm2020/lib/model/bank-account.mjs +13 -0
- package/esm2020/lib/model/bank-card-all-of-token-provider-data.mjs +19 -0
- package/esm2020/lib/model/bank-card-all-of.mjs +2 -0
- package/esm2020/lib/model/bank-card-details.mjs +19 -0
- package/esm2020/lib/model/bank-card-token-provider-data.mjs +19 -0
- package/esm2020/lib/model/bank-card-tokenization-method.mjs +16 -0
- package/esm2020/lib/model/bank-card.mjs +2 -0
- package/esm2020/lib/model/browser-get-request-all-of.mjs +13 -0
- package/esm2020/lib/model/browser-get-request.mjs +2 -0
- package/esm2020/lib/model/browser-post-request-all-of.mjs +2 -0
- package/esm2020/lib/model/browser-post-request.mjs +2 -0
- package/esm2020/lib/model/browser-request.mjs +13 -0
- package/esm2020/lib/model/cancel-payment400-response.mjs +23 -0
- package/esm2020/lib/model/capture-params-all-of.mjs +2 -0
- package/esm2020/lib/model/capture-params.mjs +2 -0
- package/esm2020/lib/model/capture-payment400-response.mjs +28 -0
- package/esm2020/lib/model/card-data-all-of.mjs +13 -0
- package/esm2020/lib/model/card-data.mjs +2 -0
- package/esm2020/lib/model/category.mjs +13 -0
- package/esm2020/lib/model/chargeback.mjs +26 -0
- package/esm2020/lib/model/client-info.mjs +13 -0
- package/esm2020/lib/model/contact-info.mjs +13 -0
- package/esm2020/lib/model/contract-adjustment.mjs +13 -0
- package/esm2020/lib/model/contract.mjs +8 -0
- package/esm2020/lib/model/contractor.mjs +20 -0
- package/esm2020/lib/model/cost-amount-range.mjs +13 -0
- package/esm2020/lib/model/country.mjs +13 -0
- package/esm2020/lib/model/create-binding400-response.mjs +25 -0
- package/esm2020/lib/model/create-customer400-response.mjs +25 -0
- package/esm2020/lib/model/create-invoice-template400-response.mjs +25 -0
- package/esm2020/lib/model/create-invoice-with-template400-response.mjs +22 -0
- package/esm2020/lib/model/create-invoice400-response.mjs +29 -0
- package/esm2020/lib/model/create-payment400-response.mjs +29 -0
- package/esm2020/lib/model/create-payout400-response.mjs +23 -0
- package/esm2020/lib/model/create-refund400-response.mjs +32 -0
- package/esm2020/lib/model/create-webhook400-response.mjs +22 -0
- package/esm2020/lib/model/create-webhook429-response.mjs +13 -0
- package/esm2020/lib/model/crypto-currency-transfer-request-all-of.mjs +13 -0
- package/esm2020/lib/model/crypto-currency-transfer-request.mjs +2 -0
- package/esm2020/lib/model/crypto-wallet-all-of.mjs +13 -0
- package/esm2020/lib/model/crypto-wallet-data.mjs +2 -0
- package/esm2020/lib/model/crypto-wallet-details.mjs +13 -0
- package/esm2020/lib/model/crypto-wallet.mjs +2 -0
- package/esm2020/lib/model/customer-and-token.mjs +2 -0
- package/esm2020/lib/model/customer-binding-error.mjs +13 -0
- package/esm2020/lib/model/customer-binding-interaction-completed-all-of.mjs +2 -0
- package/esm2020/lib/model/customer-binding-interaction-completed.mjs +2 -0
- package/esm2020/lib/model/customer-binding-interaction-requested-all-of.mjs +2 -0
- package/esm2020/lib/model/customer-binding-interaction-requested.mjs +2 -0
- package/esm2020/lib/model/customer-binding-params.mjs +2 -0
- package/esm2020/lib/model/customer-binding-started-all-of.mjs +2 -0
- package/esm2020/lib/model/customer-binding-started.mjs +2 -0
- package/esm2020/lib/model/customer-binding-status-changed-all-of.mjs +13 -0
- package/esm2020/lib/model/customer-binding-status-changed.mjs +9 -0
- package/esm2020/lib/model/customer-binding-status.mjs +9 -0
- package/esm2020/lib/model/customer-binding.mjs +9 -0
- package/esm2020/lib/model/customer-change.mjs +21 -0
- package/esm2020/lib/model/customer-event.mjs +2 -0
- package/esm2020/lib/model/customer-params.mjs +2 -0
- package/esm2020/lib/model/customer-payer-all-of.mjs +2 -0
- package/esm2020/lib/model/customer-payer.mjs +2 -0
- package/esm2020/lib/model/customer.mjs +8 -0
- package/esm2020/lib/model/customers-topic-all-of.mjs +23 -0
- package/esm2020/lib/model/customers-topic.mjs +12 -0
- package/esm2020/lib/model/decimal.mjs +13 -0
- package/esm2020/lib/model/default-logic-error.mjs +19 -0
- package/esm2020/lib/model/delete-customer400-response.mjs +21 -0
- package/esm2020/lib/model/digital-wallet-all-of.mjs +13 -0
- package/esm2020/lib/model/digital-wallet-data-all-of.mjs +13 -0
- package/esm2020/lib/model/digital-wallet-data.mjs +2 -0
- package/esm2020/lib/model/digital-wallet-details.mjs +13 -0
- package/esm2020/lib/model/digital-wallet.mjs +2 -0
- package/esm2020/lib/model/external-id-conflict-error.mjs +13 -0
- package/esm2020/lib/model/fulfill-invoice400-response.mjs +22 -0
- package/esm2020/lib/model/general-error.mjs +13 -0
- package/esm2020/lib/model/google-pay-all-of.mjs +13 -0
- package/esm2020/lib/model/google-pay.mjs +2 -0
- package/esm2020/lib/model/international-bank-account.mjs +2 -0
- package/esm2020/lib/model/international-bank-details.mjs +13 -0
- package/esm2020/lib/model/international-correspondent-bank-account.mjs +2 -0
- package/esm2020/lib/model/international-legal-entity-all-of.mjs +13 -0
- package/esm2020/lib/model/international-legal-entity.mjs +2 -0
- package/esm2020/lib/model/invoice-and-token.mjs +2 -0
- package/esm2020/lib/model/invoice-bank-account.mjs +18 -0
- package/esm2020/lib/model/invoice-change.mjs +25 -0
- package/esm2020/lib/model/invoice-client-info.mjs +19 -0
- package/esm2020/lib/model/invoice-created-all-of.mjs +2 -0
- package/esm2020/lib/model/invoice-created.mjs +2 -0
- package/esm2020/lib/model/invoice-event.mjs +2 -0
- package/esm2020/lib/model/invoice-line-tax-mode.mjs +18 -0
- package/esm2020/lib/model/invoice-line-tax-vat-all-of.mjs +24 -0
- package/esm2020/lib/model/invoice-line-tax-vat.mjs +13 -0
- package/esm2020/lib/model/invoice-line.mjs +2 -0
- package/esm2020/lib/model/invoice-params-with-template.mjs +13 -0
- package/esm2020/lib/model/invoice-params.mjs +2 -0
- package/esm2020/lib/model/invoice-russian-bank-account-all-of.mjs +13 -0
- package/esm2020/lib/model/invoice-russian-bank-account.mjs +2 -0
- package/esm2020/lib/model/invoice-status-changed.mjs +10 -0
- package/esm2020/lib/model/invoice-status.mjs +21 -0
- package/esm2020/lib/model/invoice-template-and-token.mjs +2 -0
- package/esm2020/lib/model/invoice-template-create-params.mjs +2 -0
- package/esm2020/lib/model/invoice-template-details.mjs +13 -0
- package/esm2020/lib/model/invoice-template-line-cost-fixed-all-of.mjs +13 -0
- package/esm2020/lib/model/invoice-template-line-cost-fixed.mjs +2 -0
- package/esm2020/lib/model/invoice-template-line-cost-range-all-of.mjs +2 -0
- package/esm2020/lib/model/invoice-template-line-cost-range.mjs +2 -0
- package/esm2020/lib/model/invoice-template-line-cost-unlim.mjs +2 -0
- package/esm2020/lib/model/invoice-template-line-cost.mjs +13 -0
- package/esm2020/lib/model/invoice-template-multi-line-all-of.mjs +2 -0
- package/esm2020/lib/model/invoice-template-multi-line.mjs +2 -0
- package/esm2020/lib/model/invoice-template-single-line-all-of.mjs +2 -0
- package/esm2020/lib/model/invoice-template-single-line.mjs +2 -0
- package/esm2020/lib/model/invoice-template-update-params.mjs +2 -0
- package/esm2020/lib/model/invoice-template.mjs +2 -0
- package/esm2020/lib/model/invoice.mjs +10 -0
- package/esm2020/lib/model/invoices-topic-all-of.mjs +30 -0
- package/esm2020/lib/model/invoices-topic.mjs +19 -0
- package/esm2020/lib/model/legal-agreement.mjs +13 -0
- package/esm2020/lib/model/legal-entity-all-of.mjs +19 -0
- package/esm2020/lib/model/legal-entity.mjs +2 -0
- package/esm2020/lib/model/lifetime-interval.mjs +13 -0
- package/esm2020/lib/model/logic-error.mjs +13 -0
- package/esm2020/lib/model/mobile-commerce-all-of.mjs +13 -0
- package/esm2020/lib/model/mobile-commerce-data-all-of.mjs +2 -0
- package/esm2020/lib/model/mobile-commerce-data.mjs +2 -0
- package/esm2020/lib/model/mobile-commerce-details.mjs +13 -0
- package/esm2020/lib/model/mobile-commerce-phone.mjs +13 -0
- package/esm2020/lib/model/mobile-commerce.mjs +2 -0
- package/esm2020/lib/model/models.mjs +262 -0
- package/esm2020/lib/model/party.mjs +13 -0
- package/esm2020/lib/model/payer-session-info.mjs +13 -0
- package/esm2020/lib/model/payer.mjs +2 -0
- package/esm2020/lib/model/payment-error.mjs +2 -0
- package/esm2020/lib/model/payment-flow-hold-all-of.mjs +19 -0
- package/esm2020/lib/model/payment-flow-hold.mjs +8 -0
- package/esm2020/lib/model/payment-flow-instant.mjs +2 -0
- package/esm2020/lib/model/payment-flow.mjs +19 -0
- package/esm2020/lib/model/payment-institution.mjs +19 -0
- package/esm2020/lib/model/payment-interaction-completed-all-of.mjs +2 -0
- package/esm2020/lib/model/payment-interaction-completed.mjs +2 -0
- package/esm2020/lib/model/payment-interaction-requested-all-of.mjs +2 -0
- package/esm2020/lib/model/payment-interaction-requested.mjs +2 -0
- package/esm2020/lib/model/payment-method.mjs +22 -0
- package/esm2020/lib/model/payment-params.mjs +2 -0
- package/esm2020/lib/model/payment-recurrent-parent.mjs +13 -0
- package/esm2020/lib/model/payment-resource-client-info.mjs +13 -0
- package/esm2020/lib/model/payment-resource-params.mjs +2 -0
- package/esm2020/lib/model/payment-resource-payer-all-of.mjs +2 -0
- package/esm2020/lib/model/payment-resource-payer.mjs +2 -0
- package/esm2020/lib/model/payment-resource-result.mjs +2 -0
- package/esm2020/lib/model/payment-resource.mjs +2 -0
- package/esm2020/lib/model/payment-search-result-all-of.mjs +2 -0
- package/esm2020/lib/model/payment-search-result.mjs +12 -0
- package/esm2020/lib/model/payment-started-all-of.mjs +2 -0
- package/esm2020/lib/model/payment-started.mjs +2 -0
- package/esm2020/lib/model/payment-status-changed-all-of.mjs +13 -0
- package/esm2020/lib/model/payment-status-changed.mjs +12 -0
- package/esm2020/lib/model/payment-status.mjs +12 -0
- package/esm2020/lib/model/payment-terminal-all-of.mjs +13 -0
- package/esm2020/lib/model/payment-terminal-data-all-of.mjs +13 -0
- package/esm2020/lib/model/payment-terminal-data.mjs +2 -0
- package/esm2020/lib/model/payment-terminal-details.mjs +13 -0
- package/esm2020/lib/model/payment-terminal-receipt-all-of.mjs +13 -0
- package/esm2020/lib/model/payment-terminal-receipt.mjs +2 -0
- package/esm2020/lib/model/payment-terminal.mjs +2 -0
- package/esm2020/lib/model/payment-terms.mjs +13 -0
- package/esm2020/lib/model/payment-tool-details-bank-card.mjs +8 -0
- package/esm2020/lib/model/payment-tool-details-crypto-wallet.mjs +2 -0
- package/esm2020/lib/model/payment-tool-details-digital-wallet.mjs +2 -0
- package/esm2020/lib/model/payment-tool-details-mobile-commerce.mjs +2 -0
- package/esm2020/lib/model/payment-tool-details-payment-terminal.mjs +2 -0
- package/esm2020/lib/model/payment-tool-details.mjs +13 -0
- package/esm2020/lib/model/payment-tool.mjs +23 -0
- package/esm2020/lib/model/payment.mjs +12 -0
- package/esm2020/lib/model/payout-params.mjs +13 -0
- package/esm2020/lib/model/payout-tool-all-of.mjs +13 -0
- package/esm2020/lib/model/payout-tool-details-bank-account.mjs +2 -0
- package/esm2020/lib/model/payout-tool-details-international-bank-account.mjs +2 -0
- package/esm2020/lib/model/payout-tool-details-payment-institution-account.mjs +2 -0
- package/esm2020/lib/model/payout-tool-details-wallet-info-all-of.mjs +13 -0
- package/esm2020/lib/model/payout-tool-details-wallet-info.mjs +2 -0
- package/esm2020/lib/model/payout-tool-details.mjs +13 -0
- package/esm2020/lib/model/payout-tool-params.mjs +2 -0
- package/esm2020/lib/model/payout-tool.mjs +2 -0
- package/esm2020/lib/model/payout.mjs +2 -0
- package/esm2020/lib/model/power-of-attorney.mjs +2 -0
- package/esm2020/lib/model/private-entity-all-of.mjs +18 -0
- package/esm2020/lib/model/private-entity.mjs +2 -0
- package/esm2020/lib/model/qr-code-display-request-all-of.mjs +13 -0
- package/esm2020/lib/model/qr-code-display-request.mjs +2 -0
- package/esm2020/lib/model/realm-mode.mjs +16 -0
- package/esm2020/lib/model/reason.mjs +13 -0
- package/esm2020/lib/model/recurrent-payer-all-of.mjs +2 -0
- package/esm2020/lib/model/recurrent-payer.mjs +2 -0
- package/esm2020/lib/model/redirect-all-of.mjs +2 -0
- package/esm2020/lib/model/redirect.mjs +2 -0
- package/esm2020/lib/model/refund-error.mjs +13 -0
- package/esm2020/lib/model/refund-params.mjs +2 -0
- package/esm2020/lib/model/refund-search-result-all-of.mjs +13 -0
- package/esm2020/lib/model/refund-search-result.mjs +9 -0
- package/esm2020/lib/model/refund-started-all-of.mjs +2 -0
- package/esm2020/lib/model/refund-started.mjs +2 -0
- package/esm2020/lib/model/refund-status-changed-all-of.mjs +13 -0
- package/esm2020/lib/model/refund-status-changed.mjs +9 -0
- package/esm2020/lib/model/refund-status.mjs +9 -0
- package/esm2020/lib/model/refund.mjs +9 -0
- package/esm2020/lib/model/registered-user-all-of.mjs +13 -0
- package/esm2020/lib/model/registered-user.mjs +2 -0
- package/esm2020/lib/model/report-link.mjs +13 -0
- package/esm2020/lib/model/report-params.mjs +18 -0
- package/esm2020/lib/model/reporting-preferences.mjs +2 -0
- package/esm2020/lib/model/representative-document.mjs +19 -0
- package/esm2020/lib/model/representative.mjs +2 -0
- package/esm2020/lib/model/rescind-invoice400-response.mjs +23 -0
- package/esm2020/lib/model/russian-legal-entity-all-of.mjs +2 -0
- package/esm2020/lib/model/russian-legal-entity.mjs +2 -0
- package/esm2020/lib/model/russian-private-entity-all-of.mjs +2 -0
- package/esm2020/lib/model/russian-private-entity.mjs +2 -0
- package/esm2020/lib/model/samsung-pay-all-of.mjs +13 -0
- package/esm2020/lib/model/samsung-pay.mjs +2 -0
- package/esm2020/lib/model/schedule.mjs +13 -0
- package/esm2020/lib/model/search-invoices200-response.mjs +2 -0
- package/esm2020/lib/model/search-payments200-response.mjs +2 -0
- package/esm2020/lib/model/search-payouts200-response.mjs +2 -0
- package/esm2020/lib/model/search-refunds200-response.mjs +2 -0
- package/esm2020/lib/model/service-acceptance-act-preferences.mjs +2 -0
- package/esm2020/lib/model/service-provider.mjs +13 -0
- package/esm2020/lib/model/shop-details.mjs +13 -0
- package/esm2020/lib/model/shop-location-url-all-of.mjs +13 -0
- package/esm2020/lib/model/shop-location-url.mjs +2 -0
- package/esm2020/lib/model/shop-location.mjs +13 -0
- package/esm2020/lib/model/shop.mjs +2 -0
- package/esm2020/lib/model/sub-error.mjs +13 -0
- package/esm2020/lib/model/tokenized-card-data-all-of.mjs +21 -0
- package/esm2020/lib/model/tokenized-card-data.mjs +2 -0
- package/esm2020/lib/model/trade-bloc.mjs +13 -0
- package/esm2020/lib/model/transaction-info.mjs +13 -0
- package/esm2020/lib/model/update-invoice-template400-response.mjs +22 -0
- package/esm2020/lib/model/user-interaction-form-inner.mjs +13 -0
- package/esm2020/lib/model/user-interaction.mjs +13 -0
- package/esm2020/lib/model/webhook-scope.mjs +19 -0
- package/esm2020/lib/model/webhook.mjs +2 -0
- package/esm2020/lib/model/yandex-pay-all-of.mjs +13 -0
- package/esm2020/lib/model/yandex-pay.mjs +2 -0
- package/esm2020/lib/param.mjs +2 -0
- package/esm2020/lib/variables.mjs +9 -0
- package/esm2020/public-api.mjs +2 -0
- package/esm2020/vality-swag-payments.mjs +5 -0
- package/fesm2015/vality-swag-payments.mjs +8780 -0
- package/fesm2015/vality-swag-payments.mjs.map +1 -0
- package/fesm2020/vality-swag-payments.mjs +9648 -0
- package/fesm2020/vality-swag-payments.mjs.map +1 -0
- package/lib/api/api.d.ts +31 -0
- package/lib/api/categories.service.d.ts +67 -0
- package/lib/api/contracts.service.d.ts +234 -0
- package/lib/api/countries.service.d.ts +67 -0
- package/lib/api/customers.service.d.ts +266 -0
- package/lib/api/invoice-templates.service.d.ts +183 -0
- package/lib/api/invoices.service.d.ts +267 -0
- package/lib/api/parties.service.d.ts +165 -0
- package/lib/api/payment-institutions.service.d.ts +245 -0
- package/lib/api/payments.service.d.ts +419 -0
- package/lib/api/payouts.service.d.ts +209 -0
- package/lib/api/search.service.d.ts +242 -0
- package/lib/api/shops.service.d.ts +229 -0
- package/lib/api/tokens.service.d.ts +44 -0
- package/lib/api/trade-blocs.service.d.ts +67 -0
- package/lib/api/webhooks.service.d.ts +145 -0
- package/lib/api.module.d.ts +11 -0
- package/lib/configuration.d.ts +104 -0
- package/lib/encoder.d.ts +11 -0
- package/lib/index.d.ts +6 -0
- package/lib/model/access-token.d.ts +17 -0
- package/lib/model/allocation-body-amount-all-of.d.ts +21 -0
- package/lib/model/allocation-body-amount.d.ts +16 -0
- package/lib/model/allocation-body-total-all-of.d.ts +27 -0
- package/lib/model/allocation-body-total.d.ts +22 -0
- package/lib/model/allocation-fee-fixed-all-of.d.ts +17 -0
- package/lib/model/allocation-fee-fixed.d.ts +12 -0
- package/lib/model/allocation-fee-share-all-of.d.ts +19 -0
- package/lib/model/allocation-fee-share.d.ts +14 -0
- package/lib/model/allocation-fee-target.d.ts +23 -0
- package/lib/model/allocation-fee.d.ts +26 -0
- package/lib/model/allocation-target-shop-all-of.d.ts +17 -0
- package/lib/model/allocation-target-shop.d.ts +23 -0
- package/lib/model/allocation-target.d.ts +23 -0
- package/lib/model/allocation-transaction.d.ts +34 -0
- package/lib/model/apple-pay-all-of.d.ts +24 -0
- package/lib/model/apple-pay.d.ts +24 -0
- package/lib/model/articles-of-association.d.ts +19 -0
- package/lib/model/bank-account.d.ts +29 -0
- package/lib/model/bank-card-all-of-token-provider-data.d.ts +36 -0
- package/lib/model/bank-card-all-of.d.ts +23 -0
- package/lib/model/bank-card-details.d.ts +44 -0
- package/lib/model/bank-card-token-provider-data.d.ts +39 -0
- package/lib/model/bank-card-tokenization-method.d.ts +19 -0
- package/lib/model/bank-card.d.ts +26 -0
- package/lib/model/browser-get-request-all-of.d.ts +17 -0
- package/lib/model/browser-get-request.d.ts +18 -0
- package/lib/model/browser-post-request-all-of.d.ts +22 -0
- package/lib/model/browser-post-request.d.ts +23 -0
- package/lib/model/browser-request.d.ts +17 -0
- package/lib/model/cancel-payment400-response.d.ts +32 -0
- package/lib/model/capture-params-all-of.d.ts +34 -0
- package/lib/model/capture-params.d.ts +35 -0
- package/lib/model/capture-payment400-response.d.ts +37 -0
- package/lib/model/card-data-all-of.d.ts +32 -0
- package/lib/model/card-data.d.ts +32 -0
- package/lib/model/category.d.ts +16 -0
- package/lib/model/chargeback.d.ts +60 -0
- package/lib/model/client-info.d.ts +28 -0
- package/lib/model/contact-info.d.ts +24 -0
- package/lib/model/contract-adjustment.d.ts +32 -0
- package/lib/model/contract.d.ts +54 -0
- package/lib/model/contractor.d.ts +28 -0
- package/lib/model/cost-amount-range.d.ts +21 -0
- package/lib/model/country.d.ts +22 -0
- package/lib/model/create-binding400-response.d.ts +34 -0
- package/lib/model/create-customer400-response.d.ts +34 -0
- package/lib/model/create-invoice-template400-response.d.ts +34 -0
- package/lib/model/create-invoice-with-template400-response.d.ts +31 -0
- package/lib/model/create-invoice400-response.d.ts +38 -0
- package/lib/model/create-payment400-response.d.ts +38 -0
- package/lib/model/create-payout400-response.d.ts +32 -0
- package/lib/model/create-refund400-response.d.ts +41 -0
- package/lib/model/create-webhook400-response.d.ts +31 -0
- package/lib/model/create-webhook429-response.d.ts +17 -0
- package/lib/model/crypto-currency-transfer-request-all-of.d.ts +25 -0
- package/lib/model/crypto-currency-transfer-request.d.ts +26 -0
- package/lib/model/crypto-wallet-all-of.d.ts +17 -0
- package/lib/model/crypto-wallet-data.d.ts +20 -0
- package/lib/model/crypto-wallet-details.d.ts +17 -0
- package/lib/model/crypto-wallet.d.ts +20 -0
- package/lib/model/customer-and-token.d.ts +17 -0
- package/lib/model/customer-binding-error.d.ts +18 -0
- package/lib/model/customer-binding-interaction-completed-all-of.d.ts +22 -0
- package/lib/model/customer-binding-interaction-completed.d.ts +22 -0
- package/lib/model/customer-binding-interaction-requested-all-of.d.ts +22 -0
- package/lib/model/customer-binding-interaction-requested.d.ts +22 -0
- package/lib/model/customer-binding-params.d.ts +19 -0
- package/lib/model/customer-binding-started-all-of.d.ts +15 -0
- package/lib/model/customer-binding-started.d.ts +18 -0
- package/lib/model/customer-binding-status-changed-all-of.d.ts +14 -0
- package/lib/model/customer-binding-status-changed.d.ts +29 -0
- package/lib/model/customer-binding-status.d.ts +27 -0
- package/lib/model/customer-binding.d.ts +37 -0
- package/lib/model/customer-change.d.ts +23 -0
- package/lib/model/customer-event.d.ts +17 -0
- package/lib/model/customer-params.d.ts +31 -0
- package/lib/model/customer-payer-all-of.d.ts +19 -0
- package/lib/model/customer-payer.d.ts +23 -0
- package/lib/model/customer.d.ts +46 -0
- package/lib/model/customers-topic-all-of.d.ts +32 -0
- package/lib/model/customers-topic.d.ts +36 -0
- package/lib/model/decimal.d.ts +24 -0
- package/lib/model/default-logic-error.d.ts +28 -0
- package/lib/model/delete-customer400-response.d.ts +30 -0
- package/lib/model/digital-wallet-all-of.d.ts +17 -0
- package/lib/model/digital-wallet-data-all-of.d.ts +28 -0
- package/lib/model/digital-wallet-data.d.ts +28 -0
- package/lib/model/digital-wallet-details.d.ts +17 -0
- package/lib/model/digital-wallet.d.ts +20 -0
- package/lib/model/external-id-conflict-error.d.ts +25 -0
- package/lib/model/fulfill-invoice400-response.d.ts +31 -0
- package/lib/model/general-error.d.ts +14 -0
- package/lib/model/google-pay-all-of.d.ts +24 -0
- package/lib/model/google-pay.d.ts +24 -0
- package/lib/model/international-bank-account.d.ts +28 -0
- package/lib/model/international-bank-details.d.ts +36 -0
- package/lib/model/international-correspondent-bank-account.d.ts +24 -0
- package/lib/model/international-legal-entity-all-of.d.ts +37 -0
- package/lib/model/international-legal-entity.d.ts +43 -0
- package/lib/model/invoice-and-token.d.ts +17 -0
- package/lib/model/invoice-bank-account.d.ts +26 -0
- package/lib/model/invoice-change.d.ts +27 -0
- package/lib/model/invoice-client-info.d.ts +27 -0
- package/lib/model/invoice-created-all-of.d.ts +15 -0
- package/lib/model/invoice-created.d.ts +18 -0
- package/lib/model/invoice-event.d.ts +17 -0
- package/lib/model/invoice-line-tax-mode.d.ts +26 -0
- package/lib/model/invoice-line-tax-vat-all-of.d.ts +32 -0
- package/lib/model/invoice-line-tax-vat.d.ts +30 -0
- package/lib/model/invoice-line.d.ts +34 -0
- package/lib/model/invoice-params-with-template.d.ts +29 -0
- package/lib/model/invoice-params.d.ts +63 -0
- package/lib/model/invoice-russian-bank-account-all-of.d.ts +24 -0
- package/lib/model/invoice-russian-bank-account.d.ts +24 -0
- package/lib/model/invoice-status-changed.d.ts +31 -0
- package/lib/model/invoice-status.d.ts +30 -0
- package/lib/model/invoice-template-and-token.d.ts +17 -0
- package/lib/model/invoice-template-create-params.d.ts +41 -0
- package/lib/model/invoice-template-details.d.ts +14 -0
- package/lib/model/invoice-template-line-cost-fixed-all-of.d.ts +21 -0
- package/lib/model/invoice-template-line-cost-fixed.d.ts +22 -0
- package/lib/model/invoice-template-line-cost-range-all-of.d.ts +19 -0
- package/lib/model/invoice-template-line-cost-range.d.ts +20 -0
- package/lib/model/invoice-template-line-cost-unlim.d.ts +14 -0
- package/lib/model/invoice-template-line-cost.d.ts +17 -0
- package/lib/model/invoice-template-multi-line-all-of.d.ts +22 -0
- package/lib/model/invoice-template-multi-line.d.ts +23 -0
- package/lib/model/invoice-template-single-line-all-of.d.ts +21 -0
- package/lib/model/invoice-template-single-line.d.ts +22 -0
- package/lib/model/invoice-template-update-params.d.ts +29 -0
- package/lib/model/invoice-template.d.ts +45 -0
- package/lib/model/invoice.d.ts +88 -0
- package/lib/model/invoices-topic-all-of.d.ts +39 -0
- package/lib/model/invoices-topic.d.ts +43 -0
- package/lib/model/legal-agreement.d.ts +28 -0
- package/lib/model/legal-entity-all-of.d.ts +24 -0
- package/lib/model/legal-entity.d.ts +20 -0
- package/lib/model/lifetime-interval.d.ts +19 -0
- package/lib/model/logic-error.d.ts +18 -0
- package/lib/model/mobile-commerce-all-of.d.ts +17 -0
- package/lib/model/mobile-commerce-data-all-of.d.ts +18 -0
- package/lib/model/mobile-commerce-data.d.ts +6 -0
- package/lib/model/mobile-commerce-details.d.ts +17 -0
- package/lib/model/mobile-commerce-phone.d.ts +24 -0
- package/lib/model/mobile-commerce.d.ts +20 -0
- package/lib/model/models.d.ts +261 -0
- package/lib/model/party.d.ts +16 -0
- package/lib/model/payer-session-info.d.ts +20 -0
- package/lib/model/payer.d.ts +19 -0
- package/lib/model/payment-error.d.ts +22 -0
- package/lib/model/payment-flow-hold-all-of.d.ts +28 -0
- package/lib/model/payment-flow-hold.d.ts +29 -0
- package/lib/model/payment-flow-instant.d.ts +16 -0
- package/lib/model/payment-flow.d.ts +24 -0
- package/lib/model/payment-institution.d.ts +31 -0
- package/lib/model/payment-interaction-completed-all-of.d.ts +22 -0
- package/lib/model/payment-interaction-completed.d.ts +22 -0
- package/lib/model/payment-interaction-requested-all-of.d.ts +22 -0
- package/lib/model/payment-interaction-requested.d.ts +22 -0
- package/lib/model/payment-method.d.ts +27 -0
- package/lib/model/payment-params.d.ts +33 -0
- package/lib/model/payment-recurrent-parent.d.ts +24 -0
- package/lib/model/payment-resource-client-info.d.ts +25 -0
- package/lib/model/payment-resource-params.d.ts +17 -0
- package/lib/model/payment-resource-payer-all-of.d.ts +15 -0
- package/lib/model/payment-resource-payer.d.ts +31 -0
- package/lib/model/payment-resource-result.d.ts +32 -0
- package/lib/model/payment-resource.d.ts +28 -0
- package/lib/model/payment-search-result-all-of.d.ts +73 -0
- package/lib/model/payment-search-result.d.ts +90 -0
- package/lib/model/payment-started-all-of.d.ts +15 -0
- package/lib/model/payment-started.d.ts +18 -0
- package/lib/model/payment-status-changed-all-of.d.ts +14 -0
- package/lib/model/payment-status-changed.d.ts +32 -0
- package/lib/model/payment-status.d.ts +30 -0
- package/lib/model/payment-terminal-all-of.d.ts +17 -0
- package/lib/model/payment-terminal-data-all-of.d.ts +24 -0
- package/lib/model/payment-terminal-data.d.ts +24 -0
- package/lib/model/payment-terminal-details.d.ts +17 -0
- package/lib/model/payment-terminal-receipt-all-of.d.ts +21 -0
- package/lib/model/payment-terminal-receipt.d.ts +22 -0
- package/lib/model/payment-terminal.d.ts +20 -0
- package/lib/model/payment-terms.d.ts +15 -0
- package/lib/model/payment-tool-details-bank-card.d.ts +45 -0
- package/lib/model/payment-tool-details-crypto-wallet.d.ts +18 -0
- package/lib/model/payment-tool-details-digital-wallet.d.ts +18 -0
- package/lib/model/payment-tool-details-mobile-commerce.d.ts +18 -0
- package/lib/model/payment-tool-details-payment-terminal.d.ts +18 -0
- package/lib/model/payment-tool-details.d.ts +20 -0
- package/lib/model/payment-tool.d.ts +28 -0
- package/lib/model/payment.d.ts +73 -0
- package/lib/model/payout-params.d.ts +37 -0
- package/lib/model/payout-tool-all-of.d.ts +17 -0
- package/lib/model/payout-tool-details-bank-account.d.ts +27 -0
- package/lib/model/payout-tool-details-international-bank-account.d.ts +26 -0
- package/lib/model/payout-tool-details-payment-institution-account.d.ts +14 -0
- package/lib/model/payout-tool-details-wallet-info-all-of.d.ts +17 -0
- package/lib/model/payout-tool-details-wallet-info.d.ts +18 -0
- package/lib/model/payout-tool-details.d.ts +20 -0
- package/lib/model/payout-tool-params.d.ts +19 -0
- package/lib/model/payout-tool.d.ts +26 -0
- package/lib/model/payout.d.ts +47 -0
- package/lib/model/power-of-attorney.d.ts +28 -0
- package/lib/model/private-entity-all-of.d.ts +23 -0
- package/lib/model/private-entity.d.ts +20 -0
- package/lib/model/qr-code-display-request-all-of.d.ts +17 -0
- package/lib/model/qr-code-display-request.d.ts +18 -0
- package/lib/model/realm-mode.d.ts +19 -0
- package/lib/model/reason.d.ts +17 -0
- package/lib/model/recurrent-payer-all-of.d.ts +19 -0
- package/lib/model/recurrent-payer.d.ts +23 -0
- package/lib/model/redirect-all-of.d.ts +15 -0
- package/lib/model/redirect.d.ts +16 -0
- package/lib/model/refund-error.d.ts +24 -0
- package/lib/model/refund-params.d.ts +39 -0
- package/lib/model/refund-search-result-all-of.d.ts +21 -0
- package/lib/model/refund-search-result.d.ts +69 -0
- package/lib/model/refund-started-all-of.d.ts +16 -0
- package/lib/model/refund-started.d.ts +19 -0
- package/lib/model/refund-status-changed-all-of.d.ts +15 -0
- package/lib/model/refund-status-changed.d.ts +30 -0
- package/lib/model/refund-status.d.ts +27 -0
- package/lib/model/refund.d.ts +61 -0
- package/lib/model/registered-user-all-of.d.ts +17 -0
- package/lib/model/registered-user.d.ts +23 -0
- package/lib/model/report-link.d.ts +17 -0
- package/lib/model/report-params.d.ts +31 -0
- package/lib/model/reporting-preferences.d.ts +18 -0
- package/lib/model/representative-document.d.ts +24 -0
- package/lib/model/representative.d.ts +26 -0
- package/lib/model/rescind-invoice400-response.d.ts +32 -0
- package/lib/model/russian-legal-entity-all-of.d.ts +47 -0
- package/lib/model/russian-legal-entity.d.ts +53 -0
- package/lib/model/russian-private-entity-all-of.d.ts +27 -0
- package/lib/model/russian-private-entity.d.ts +33 -0
- package/lib/model/samsung-pay-all-of.d.ts +24 -0
- package/lib/model/samsung-pay.d.ts +24 -0
- package/lib/model/schedule.d.ts +19 -0
- package/lib/model/search-invoices200-response.d.ts +19 -0
- package/lib/model/search-payments200-response.d.ts +19 -0
- package/lib/model/search-payouts200-response.d.ts +16 -0
- package/lib/model/search-refunds200-response.d.ts +16 -0
- package/lib/model/service-acceptance-act-preferences.d.ts +22 -0
- package/lib/model/service-provider.d.ts +32 -0
- package/lib/model/shop-details.d.ts +21 -0
- package/lib/model/shop-location-url-all-of.d.ts +17 -0
- package/lib/model/shop-location-url.d.ts +21 -0
- package/lib/model/shop-location.d.ts +20 -0
- package/lib/model/shop.d.ts +56 -0
- package/lib/model/sub-error.d.ts +21 -0
- package/lib/model/tokenized-card-data-all-of.d.ts +26 -0
- package/lib/model/tokenized-card-data.d.ts +17 -0
- package/lib/model/trade-bloc.d.ts +19 -0
- package/lib/model/transaction-info.d.ts +24 -0
- package/lib/model/update-invoice-template400-response.d.ts +31 -0
- package/lib/model/user-interaction-form-inner.d.ts +21 -0
- package/lib/model/user-interaction.d.ts +17 -0
- package/lib/model/webhook-scope.d.ts +27 -0
- package/lib/model/webhook.d.ts +35 -0
- package/lib/model/yandex-pay-all-of.d.ts +24 -0
- package/lib/model/yandex-pay.d.ts +24 -0
- package/lib/param.d.ts +37 -0
- package/lib/variables.d.ts +8 -0
- package/package.json +36 -0
- package/public-api.d.ts +1 -0
- package/src/lib/README.md +226 -0
- package/vality-swag-payments.d.ts +5 -0
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vality Payments API
|
|
3
|
+
* ## Description API is designed for the merchants who accept payments via user interface such as a website or a mobile app and it is the only interaction point with the system for goods and services payment transactions. ## Interaction details Whenever an API is accessed, its unique ID must be passed in the header X-Request-ID of the corresponding request: ``` X-Request-ID: 37d735d4-0f42-4f05-89fa-eaa478fb5aa9 ``` ### Content type and coding The system accepts and returns data in JSON format and UTF-8 coding: ``` Content-Type: application/json; charset=utf-8 ``` ### Date formats The system accepts and returns timestamp values in the format date-time, described in [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339): ``` 2017-01-01T00:00:00Z 2017-01-01T00:00:01+00:00 ``` ### Maximum request processing time Whenever an API is accessed, the time cutoff parameters, that define maximum request processing time of the transaction completion, can be passed in the header `X-Request-Deadline` of the corresponding request: ``` X-Request-Deadline: 10s ``` The system stops processing the request upon the specified time. It is recommended to specify a value that is not more than one minute and not less than three seconds. `X-Request-Deadline` can be: * specified in the format `date-time` according to [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339); * specified in relative values: in milliseconds (`150000ms`), in seconds (`540s`) or in minutes (`3.5m`).
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.0.1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { Payer } from './payer';
|
|
13
|
+
import { PaymentFlow } from './payment-flow';
|
|
14
|
+
export interface PaymentParams {
|
|
15
|
+
/**
|
|
16
|
+
* A platform-unique entity identifier for this party. It is used to ensure request idempotency.
|
|
17
|
+
*/
|
|
18
|
+
externalID?: string;
|
|
19
|
+
flow: PaymentFlow;
|
|
20
|
+
payer: Payer;
|
|
21
|
+
/**
|
|
22
|
+
* Maximum payment processing time
|
|
23
|
+
*/
|
|
24
|
+
processingDeadline?: string;
|
|
25
|
+
/**
|
|
26
|
+
* An indication of the creation of a parent recurrence payment. Successful payment with this attribute can be used as a parent payment in other recurring payments.
|
|
27
|
+
*/
|
|
28
|
+
makeRecurrent?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Metadata to be linked with the payment
|
|
31
|
+
*/
|
|
32
|
+
metadata?: object;
|
|
33
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vality Payments API
|
|
3
|
+
* ## Description API is designed for the merchants who accept payments via user interface such as a website or a mobile app and it is the only interaction point with the system for goods and services payment transactions. ## Interaction details Whenever an API is accessed, its unique ID must be passed in the header X-Request-ID of the corresponding request: ``` X-Request-ID: 37d735d4-0f42-4f05-89fa-eaa478fb5aa9 ``` ### Content type and coding The system accepts and returns data in JSON format and UTF-8 coding: ``` Content-Type: application/json; charset=utf-8 ``` ### Date formats The system accepts and returns timestamp values in the format date-time, described in [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339): ``` 2017-01-01T00:00:00Z 2017-01-01T00:00:01+00:00 ``` ### Maximum request processing time Whenever an API is accessed, the time cutoff parameters, that define maximum request processing time of the transaction completion, can be passed in the header `X-Request-Deadline` of the corresponding request: ``` X-Request-Deadline: 10s ``` The system stops processing the request upon the specified time. It is recommended to specify a value that is not more than one minute and not less than three seconds. `X-Request-Deadline` can be: * specified in the format `date-time` according to [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339); * specified in relative values: in milliseconds (`150000ms`), in seconds (`540s`) or in minutes (`3.5m`).
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.0.1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Parent payment, on the basis of which the current recurrent payment was created
|
|
14
|
+
*/
|
|
15
|
+
export interface PaymentRecurrentParent {
|
|
16
|
+
/**
|
|
17
|
+
* Invoice identifier
|
|
18
|
+
*/
|
|
19
|
+
invoiceID: string;
|
|
20
|
+
/**
|
|
21
|
+
* Payment identifier
|
|
22
|
+
*/
|
|
23
|
+
paymentID: string;
|
|
24
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vality Payments API
|
|
3
|
+
* ## Description API is designed for the merchants who accept payments via user interface such as a website or a mobile app and it is the only interaction point with the system for goods and services payment transactions. ## Interaction details Whenever an API is accessed, its unique ID must be passed in the header X-Request-ID of the corresponding request: ``` X-Request-ID: 37d735d4-0f42-4f05-89fa-eaa478fb5aa9 ``` ### Content type and coding The system accepts and returns data in JSON format and UTF-8 coding: ``` Content-Type: application/json; charset=utf-8 ``` ### Date formats The system accepts and returns timestamp values in the format date-time, described in [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339): ``` 2017-01-01T00:00:00Z 2017-01-01T00:00:01+00:00 ``` ### Maximum request processing time Whenever an API is accessed, the time cutoff parameters, that define maximum request processing time of the transaction completion, can be passed in the header `X-Request-Deadline` of the corresponding request: ``` X-Request-Deadline: 10s ``` The system stops processing the request upon the specified time. It is recommended to specify a value that is not more than one minute and not less than three seconds. `X-Request-Deadline` can be: * specified in the format `date-time` according to [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339); * specified in relative values: in milliseconds (`150000ms`), in seconds (`540s`) or in minutes (`3.5m`).
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.0.1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export interface PaymentResourceClientInfo {
|
|
13
|
+
/**
|
|
14
|
+
* Payer\'s user agent unique fingerprint
|
|
15
|
+
*/
|
|
16
|
+
fingerprint: string;
|
|
17
|
+
/**
|
|
18
|
+
* Payer IP-address
|
|
19
|
+
*/
|
|
20
|
+
ip?: string;
|
|
21
|
+
/**
|
|
22
|
+
* URL from which the payment form was received by the client
|
|
23
|
+
*/
|
|
24
|
+
url?: string;
|
|
25
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vality Payments API
|
|
3
|
+
* ## Description API is designed for the merchants who accept payments via user interface such as a website or a mobile app and it is the only interaction point with the system for goods and services payment transactions. ## Interaction details Whenever an API is accessed, its unique ID must be passed in the header X-Request-ID of the corresponding request: ``` X-Request-ID: 37d735d4-0f42-4f05-89fa-eaa478fb5aa9 ``` ### Content type and coding The system accepts and returns data in JSON format and UTF-8 coding: ``` Content-Type: application/json; charset=utf-8 ``` ### Date formats The system accepts and returns timestamp values in the format date-time, described in [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339): ``` 2017-01-01T00:00:00Z 2017-01-01T00:00:01+00:00 ``` ### Maximum request processing time Whenever an API is accessed, the time cutoff parameters, that define maximum request processing time of the transaction completion, can be passed in the header `X-Request-Deadline` of the corresponding request: ``` X-Request-Deadline: 10s ``` The system stops processing the request upon the specified time. It is recommended to specify a value that is not more than one minute and not less than three seconds. `X-Request-Deadline` can be: * specified in the format `date-time` according to [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339); * specified in relative values: in milliseconds (`150000ms`), in seconds (`540s`) or in minutes (`3.5m`).
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.0.1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { PaymentTool } from './payment-tool';
|
|
13
|
+
import { ClientInfo } from './client-info';
|
|
14
|
+
export interface PaymentResourceParams {
|
|
15
|
+
paymentTool: PaymentTool;
|
|
16
|
+
clientInfo: ClientInfo;
|
|
17
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vality Payments API
|
|
3
|
+
* ## Description API is designed for the merchants who accept payments via user interface such as a website or a mobile app and it is the only interaction point with the system for goods and services payment transactions. ## Interaction details Whenever an API is accessed, its unique ID must be passed in the header X-Request-ID of the corresponding request: ``` X-Request-ID: 37d735d4-0f42-4f05-89fa-eaa478fb5aa9 ``` ### Content type and coding The system accepts and returns data in JSON format and UTF-8 coding: ``` Content-Type: application/json; charset=utf-8 ``` ### Date formats The system accepts and returns timestamp values in the format date-time, described in [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339): ``` 2017-01-01T00:00:00Z 2017-01-01T00:00:01+00:00 ``` ### Maximum request processing time Whenever an API is accessed, the time cutoff parameters, that define maximum request processing time of the transaction completion, can be passed in the header `X-Request-Deadline` of the corresponding request: ``` X-Request-Deadline: 10s ``` The system stops processing the request upon the specified time. It is recommended to specify a value that is not more than one minute and not less than three seconds. `X-Request-Deadline` can be: * specified in the format `date-time` according to [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339); * specified in relative values: in milliseconds (`150000ms`), in seconds (`540s`) or in minutes (`3.5m`).
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.0.1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { ContactInfo } from './contact-info';
|
|
13
|
+
export interface PaymentResourcePayerAllOf {
|
|
14
|
+
contactInfo: ContactInfo;
|
|
15
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vality Payments API
|
|
3
|
+
* ## Description API is designed for the merchants who accept payments via user interface such as a website or a mobile app and it is the only interaction point with the system for goods and services payment transactions. ## Interaction details Whenever an API is accessed, its unique ID must be passed in the header X-Request-ID of the corresponding request: ``` X-Request-ID: 37d735d4-0f42-4f05-89fa-eaa478fb5aa9 ``` ### Content type and coding The system accepts and returns data in JSON format and UTF-8 coding: ``` Content-Type: application/json; charset=utf-8 ``` ### Date formats The system accepts and returns timestamp values in the format date-time, described in [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339): ``` 2017-01-01T00:00:00Z 2017-01-01T00:00:01+00:00 ``` ### Maximum request processing time Whenever an API is accessed, the time cutoff parameters, that define maximum request processing time of the transaction completion, can be passed in the header `X-Request-Deadline` of the corresponding request: ``` X-Request-Deadline: 10s ``` The system stops processing the request upon the specified time. It is recommended to specify a value that is not more than one minute and not less than three seconds. `X-Request-Deadline` can be: * specified in the format `date-time` according to [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339); * specified in relative values: in milliseconds (`150000ms`), in seconds (`540s`) or in minutes (`3.5m`).
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.0.1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { Payer } from './payer';
|
|
13
|
+
import { PaymentToolDetails } from './payment-tool-details';
|
|
14
|
+
import { ContactInfo } from './contact-info';
|
|
15
|
+
import { PaymentResourceClientInfo } from './payment-resource-client-info';
|
|
16
|
+
/**
|
|
17
|
+
* Disposable payment tool
|
|
18
|
+
*/
|
|
19
|
+
export interface PaymentResourcePayer extends Payer {
|
|
20
|
+
/**
|
|
21
|
+
* A payment tool token provided by the payer. _Required when creating a payment or binding, can be obtained during [tokenization](#operation/createPaymentResource)_.
|
|
22
|
+
*/
|
|
23
|
+
paymentToolToken?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Payment session identifier. _Required when creating a payment or binding, can be obtained during [tokenization](#operation/createPaymentResource)_.
|
|
26
|
+
*/
|
|
27
|
+
paymentSession?: string;
|
|
28
|
+
paymentToolDetails?: PaymentToolDetails;
|
|
29
|
+
clientInfo?: PaymentResourceClientInfo;
|
|
30
|
+
contactInfo: ContactInfo;
|
|
31
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vality Payments API
|
|
3
|
+
* ## Description API is designed for the merchants who accept payments via user interface such as a website or a mobile app and it is the only interaction point with the system for goods and services payment transactions. ## Interaction details Whenever an API is accessed, its unique ID must be passed in the header X-Request-ID of the corresponding request: ``` X-Request-ID: 37d735d4-0f42-4f05-89fa-eaa478fb5aa9 ``` ### Content type and coding The system accepts and returns data in JSON format and UTF-8 coding: ``` Content-Type: application/json; charset=utf-8 ``` ### Date formats The system accepts and returns timestamp values in the format date-time, described in [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339): ``` 2017-01-01T00:00:00Z 2017-01-01T00:00:01+00:00 ``` ### Maximum request processing time Whenever an API is accessed, the time cutoff parameters, that define maximum request processing time of the transaction completion, can be passed in the header `X-Request-Deadline` of the corresponding request: ``` X-Request-Deadline: 10s ``` The system stops processing the request upon the specified time. It is recommended to specify a value that is not more than one minute and not less than three seconds. `X-Request-Deadline` can be: * specified in the format `date-time` according to [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339); * specified in relative values: in milliseconds (`150000ms`), in seconds (`540s`) or in minutes (`3.5m`).
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.0.1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { PaymentToolDetails } from './payment-tool-details';
|
|
13
|
+
import { PaymentResourceClientInfo } from './payment-resource-client-info';
|
|
14
|
+
/**
|
|
15
|
+
* Disposable payment tool data
|
|
16
|
+
*/
|
|
17
|
+
export interface PaymentResourceResult {
|
|
18
|
+
/**
|
|
19
|
+
* Payment tool token provided by the payer
|
|
20
|
+
*/
|
|
21
|
+
paymentToolToken: string;
|
|
22
|
+
/**
|
|
23
|
+
* Payment session identifier
|
|
24
|
+
*/
|
|
25
|
+
paymentSession: string;
|
|
26
|
+
paymentToolDetails?: PaymentToolDetails;
|
|
27
|
+
clientInfo?: PaymentResourceClientInfo;
|
|
28
|
+
/**
|
|
29
|
+
* Date and time until which the payment resource token remains valid
|
|
30
|
+
*/
|
|
31
|
+
readonly validUntil?: string;
|
|
32
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vality Payments API
|
|
3
|
+
* ## Description API is designed for the merchants who accept payments via user interface such as a website or a mobile app and it is the only interaction point with the system for goods and services payment transactions. ## Interaction details Whenever an API is accessed, its unique ID must be passed in the header X-Request-ID of the corresponding request: ``` X-Request-ID: 37d735d4-0f42-4f05-89fa-eaa478fb5aa9 ``` ### Content type and coding The system accepts and returns data in JSON format and UTF-8 coding: ``` Content-Type: application/json; charset=utf-8 ``` ### Date formats The system accepts and returns timestamp values in the format date-time, described in [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339): ``` 2017-01-01T00:00:00Z 2017-01-01T00:00:01+00:00 ``` ### Maximum request processing time Whenever an API is accessed, the time cutoff parameters, that define maximum request processing time of the transaction completion, can be passed in the header `X-Request-Deadline` of the corresponding request: ``` X-Request-Deadline: 10s ``` The system stops processing the request upon the specified time. It is recommended to specify a value that is not more than one minute and not less than three seconds. `X-Request-Deadline` can be: * specified in the format `date-time` according to [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339); * specified in relative values: in milliseconds (`150000ms`), in seconds (`540s`) or in minutes (`3.5m`).
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.0.1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { PaymentToolDetails } from './payment-tool-details';
|
|
13
|
+
import { PaymentResourceClientInfo } from './payment-resource-client-info';
|
|
14
|
+
/**
|
|
15
|
+
* Disposable payment tool data
|
|
16
|
+
*/
|
|
17
|
+
export interface PaymentResource {
|
|
18
|
+
/**
|
|
19
|
+
* A payment tool token provided by the payer. _Required when creating a payment or binding, can be obtained during [tokenization](#operation/createPaymentResource)_.
|
|
20
|
+
*/
|
|
21
|
+
paymentToolToken?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Payment session identifier. _Required when creating a payment or binding, can be obtained during [tokenization](#operation/createPaymentResource)_.
|
|
24
|
+
*/
|
|
25
|
+
paymentSession?: string;
|
|
26
|
+
paymentToolDetails?: PaymentToolDetails;
|
|
27
|
+
clientInfo?: PaymentResourceClientInfo;
|
|
28
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vality Payments API
|
|
3
|
+
* ## Description API is designed for the merchants who accept payments via user interface such as a website or a mobile app and it is the only interaction point with the system for goods and services payment transactions. ## Interaction details Whenever an API is accessed, its unique ID must be passed in the header X-Request-ID of the corresponding request: ``` X-Request-ID: 37d735d4-0f42-4f05-89fa-eaa478fb5aa9 ``` ### Content type and coding The system accepts and returns data in JSON format and UTF-8 coding: ``` Content-Type: application/json; charset=utf-8 ``` ### Date formats The system accepts and returns timestamp values in the format date-time, described in [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339): ``` 2017-01-01T00:00:00Z 2017-01-01T00:00:01+00:00 ``` ### Maximum request processing time Whenever an API is accessed, the time cutoff parameters, that define maximum request processing time of the transaction completion, can be passed in the header `X-Request-Deadline` of the corresponding request: ``` X-Request-Deadline: 10s ``` The system stops processing the request upon the specified time. It is recommended to specify a value that is not more than one minute and not less than three seconds. `X-Request-Deadline` can be: * specified in the format `date-time` according to [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339); * specified in relative values: in milliseconds (`150000ms`), in seconds (`540s`) or in minutes (`3.5m`).
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.0.1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { Payer } from './payer';
|
|
13
|
+
import { InvoiceLine } from './invoice-line';
|
|
14
|
+
import { AllocationTransaction } from './allocation-transaction';
|
|
15
|
+
import { PaymentFlow } from './payment-flow';
|
|
16
|
+
import { TransactionInfo } from './transaction-info';
|
|
17
|
+
export interface PaymentSearchResultAllOf {
|
|
18
|
+
/**
|
|
19
|
+
* Payment ID
|
|
20
|
+
*/
|
|
21
|
+
id: string;
|
|
22
|
+
/**
|
|
23
|
+
* Shortened payment and invoice identifier (spid)
|
|
24
|
+
*/
|
|
25
|
+
shortID?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Identifier of the invoice within which the payment was created
|
|
28
|
+
*/
|
|
29
|
+
invoiceID: string;
|
|
30
|
+
/**
|
|
31
|
+
* Identifier of the shop within which the payment was created
|
|
32
|
+
*/
|
|
33
|
+
shopID?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Created at
|
|
36
|
+
*/
|
|
37
|
+
createdAt: string;
|
|
38
|
+
/**
|
|
39
|
+
* The price of the goods or services offered, in minor monetary units, e.g. cents if U.S. dollars are specified as the currency
|
|
40
|
+
*/
|
|
41
|
+
amount: number;
|
|
42
|
+
/**
|
|
43
|
+
* System fee in minor monetary units
|
|
44
|
+
*/
|
|
45
|
+
fee?: number;
|
|
46
|
+
/**
|
|
47
|
+
* Currency character code according to [ISO 4217](http://www.iso.org/iso/home/standards/currency_codes.htm).
|
|
48
|
+
*/
|
|
49
|
+
currency: string;
|
|
50
|
+
payer: Payer;
|
|
51
|
+
flow: PaymentFlow;
|
|
52
|
+
/**
|
|
53
|
+
* Payment metadata
|
|
54
|
+
*/
|
|
55
|
+
metadata?: object;
|
|
56
|
+
/**
|
|
57
|
+
* Date and time of payment status change
|
|
58
|
+
*/
|
|
59
|
+
statusChangedAt?: string;
|
|
60
|
+
transactionInfo?: TransactionInfo;
|
|
61
|
+
/**
|
|
62
|
+
* An indication of the creation of a parent recurrence payment. Successful payment with this attribute can be used as a parent payment in other recurring payments.
|
|
63
|
+
*/
|
|
64
|
+
makeRecurrent?: boolean;
|
|
65
|
+
/**
|
|
66
|
+
* Products and services cart
|
|
67
|
+
*/
|
|
68
|
+
cart?: Array<InvoiceLine>;
|
|
69
|
+
/**
|
|
70
|
+
* Allocation of cash
|
|
71
|
+
*/
|
|
72
|
+
allocation?: Array<AllocationTransaction>;
|
|
73
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vality Payments API
|
|
3
|
+
* ## Description API is designed for the merchants who accept payments via user interface such as a website or a mobile app and it is the only interaction point with the system for goods and services payment transactions. ## Interaction details Whenever an API is accessed, its unique ID must be passed in the header X-Request-ID of the corresponding request: ``` X-Request-ID: 37d735d4-0f42-4f05-89fa-eaa478fb5aa9 ``` ### Content type and coding The system accepts and returns data in JSON format and UTF-8 coding: ``` Content-Type: application/json; charset=utf-8 ``` ### Date formats The system accepts and returns timestamp values in the format date-time, described in [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339): ``` 2017-01-01T00:00:00Z 2017-01-01T00:00:01+00:00 ``` ### Maximum request processing time Whenever an API is accessed, the time cutoff parameters, that define maximum request processing time of the transaction completion, can be passed in the header `X-Request-Deadline` of the corresponding request: ``` X-Request-Deadline: 10s ``` The system stops processing the request upon the specified time. It is recommended to specify a value that is not more than one minute and not less than three seconds. `X-Request-Deadline` can be: * specified in the format `date-time` according to [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339); * specified in relative values: in milliseconds (`150000ms`), in seconds (`540s`) or in minutes (`3.5m`).
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.0.1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { Payer } from './payer';
|
|
13
|
+
import { InvoiceLine } from './invoice-line';
|
|
14
|
+
import { AllocationTransaction } from './allocation-transaction';
|
|
15
|
+
import { PaymentFlow } from './payment-flow';
|
|
16
|
+
import { TransactionInfo } from './transaction-info';
|
|
17
|
+
import { PaymentError } from './payment-error';
|
|
18
|
+
export interface PaymentSearchResult {
|
|
19
|
+
/**
|
|
20
|
+
* Payment status
|
|
21
|
+
*/
|
|
22
|
+
status: PaymentSearchResult.StatusEnum;
|
|
23
|
+
error?: PaymentError;
|
|
24
|
+
/**
|
|
25
|
+
* Payment ID
|
|
26
|
+
*/
|
|
27
|
+
id: string;
|
|
28
|
+
/**
|
|
29
|
+
* Shortened payment and invoice identifier (spid)
|
|
30
|
+
*/
|
|
31
|
+
shortID?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Identifier of the invoice within which the payment was created
|
|
34
|
+
*/
|
|
35
|
+
invoiceID: string;
|
|
36
|
+
/**
|
|
37
|
+
* Identifier of the shop within which the payment was created
|
|
38
|
+
*/
|
|
39
|
+
shopID?: string;
|
|
40
|
+
/**
|
|
41
|
+
* Created at
|
|
42
|
+
*/
|
|
43
|
+
createdAt: string;
|
|
44
|
+
/**
|
|
45
|
+
* The price of the goods or services offered, in minor monetary units, e.g. cents if U.S. dollars are specified as the currency
|
|
46
|
+
*/
|
|
47
|
+
amount: number;
|
|
48
|
+
/**
|
|
49
|
+
* System fee in minor monetary units
|
|
50
|
+
*/
|
|
51
|
+
fee?: number;
|
|
52
|
+
/**
|
|
53
|
+
* Currency character code according to [ISO 4217](http://www.iso.org/iso/home/standards/currency_codes.htm).
|
|
54
|
+
*/
|
|
55
|
+
currency: string;
|
|
56
|
+
payer: Payer;
|
|
57
|
+
flow: PaymentFlow;
|
|
58
|
+
/**
|
|
59
|
+
* Payment metadata
|
|
60
|
+
*/
|
|
61
|
+
metadata?: object;
|
|
62
|
+
/**
|
|
63
|
+
* Date and time of payment status change
|
|
64
|
+
*/
|
|
65
|
+
statusChangedAt?: string;
|
|
66
|
+
transactionInfo?: TransactionInfo;
|
|
67
|
+
/**
|
|
68
|
+
* An indication of the creation of a parent recurrence payment. Successful payment with this attribute can be used as a parent payment in other recurring payments.
|
|
69
|
+
*/
|
|
70
|
+
makeRecurrent?: boolean;
|
|
71
|
+
/**
|
|
72
|
+
* Products and services cart
|
|
73
|
+
*/
|
|
74
|
+
cart?: Array<InvoiceLine>;
|
|
75
|
+
/**
|
|
76
|
+
* Allocation of cash
|
|
77
|
+
*/
|
|
78
|
+
allocation?: Array<AllocationTransaction>;
|
|
79
|
+
}
|
|
80
|
+
export declare namespace PaymentSearchResult {
|
|
81
|
+
type StatusEnum = 'pending' | 'processed' | 'captured' | 'cancelled' | 'refunded' | 'failed';
|
|
82
|
+
const StatusEnum: {
|
|
83
|
+
Pending: StatusEnum;
|
|
84
|
+
Processed: StatusEnum;
|
|
85
|
+
Captured: StatusEnum;
|
|
86
|
+
Cancelled: StatusEnum;
|
|
87
|
+
Refunded: StatusEnum;
|
|
88
|
+
Failed: StatusEnum;
|
|
89
|
+
};
|
|
90
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vality Payments API
|
|
3
|
+
* ## Description API is designed for the merchants who accept payments via user interface such as a website or a mobile app and it is the only interaction point with the system for goods and services payment transactions. ## Interaction details Whenever an API is accessed, its unique ID must be passed in the header X-Request-ID of the corresponding request: ``` X-Request-ID: 37d735d4-0f42-4f05-89fa-eaa478fb5aa9 ``` ### Content type and coding The system accepts and returns data in JSON format and UTF-8 coding: ``` Content-Type: application/json; charset=utf-8 ``` ### Date formats The system accepts and returns timestamp values in the format date-time, described in [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339): ``` 2017-01-01T00:00:00Z 2017-01-01T00:00:01+00:00 ``` ### Maximum request processing time Whenever an API is accessed, the time cutoff parameters, that define maximum request processing time of the transaction completion, can be passed in the header `X-Request-Deadline` of the corresponding request: ``` X-Request-Deadline: 10s ``` The system stops processing the request upon the specified time. It is recommended to specify a value that is not more than one minute and not less than three seconds. `X-Request-Deadline` can be: * specified in the format `date-time` according to [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339); * specified in relative values: in milliseconds (`150000ms`), in seconds (`540s`) or in minutes (`3.5m`).
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.0.1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { Payment } from './payment';
|
|
13
|
+
export interface PaymentStartedAllOf {
|
|
14
|
+
payment: Payment;
|
|
15
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vality Payments API
|
|
3
|
+
* ## Description API is designed for the merchants who accept payments via user interface such as a website or a mobile app and it is the only interaction point with the system for goods and services payment transactions. ## Interaction details Whenever an API is accessed, its unique ID must be passed in the header X-Request-ID of the corresponding request: ``` X-Request-ID: 37d735d4-0f42-4f05-89fa-eaa478fb5aa9 ``` ### Content type and coding The system accepts and returns data in JSON format and UTF-8 coding: ``` Content-Type: application/json; charset=utf-8 ``` ### Date formats The system accepts and returns timestamp values in the format date-time, described in [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339): ``` 2017-01-01T00:00:00Z 2017-01-01T00:00:01+00:00 ``` ### Maximum request processing time Whenever an API is accessed, the time cutoff parameters, that define maximum request processing time of the transaction completion, can be passed in the header `X-Request-Deadline` of the corresponding request: ``` X-Request-Deadline: 10s ``` The system stops processing the request upon the specified time. It is recommended to specify a value that is not more than one minute and not less than three seconds. `X-Request-Deadline` can be: * specified in the format `date-time` according to [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339); * specified in relative values: in milliseconds (`150000ms`), in seconds (`540s`) or in minutes (`3.5m`).
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.0.1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { Payment } from './payment';
|
|
13
|
+
import { InvoiceChange } from './invoice-change';
|
|
14
|
+
export interface PaymentStarted extends InvoiceChange {
|
|
15
|
+
payment: Payment;
|
|
16
|
+
}
|
|
17
|
+
export declare namespace PaymentStarted {
|
|
18
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vality Payments API
|
|
3
|
+
* ## Description API is designed for the merchants who accept payments via user interface such as a website or a mobile app and it is the only interaction point with the system for goods and services payment transactions. ## Interaction details Whenever an API is accessed, its unique ID must be passed in the header X-Request-ID of the corresponding request: ``` X-Request-ID: 37d735d4-0f42-4f05-89fa-eaa478fb5aa9 ``` ### Content type and coding The system accepts and returns data in JSON format and UTF-8 coding: ``` Content-Type: application/json; charset=utf-8 ``` ### Date formats The system accepts and returns timestamp values in the format date-time, described in [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339): ``` 2017-01-01T00:00:00Z 2017-01-01T00:00:01+00:00 ``` ### Maximum request processing time Whenever an API is accessed, the time cutoff parameters, that define maximum request processing time of the transaction completion, can be passed in the header `X-Request-Deadline` of the corresponding request: ``` X-Request-Deadline: 10s ``` The system stops processing the request upon the specified time. It is recommended to specify a value that is not more than one minute and not less than three seconds. `X-Request-Deadline` can be: * specified in the format `date-time` according to [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339); * specified in relative values: in milliseconds (`150000ms`), in seconds (`540s`) or in minutes (`3.5m`).
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.0.1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export interface PaymentStatusChangedAllOf {
|
|
13
|
+
paymentID: string;
|
|
14
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vality Payments API
|
|
3
|
+
* ## Description API is designed for the merchants who accept payments via user interface such as a website or a mobile app and it is the only interaction point with the system for goods and services payment transactions. ## Interaction details Whenever an API is accessed, its unique ID must be passed in the header X-Request-ID of the corresponding request: ``` X-Request-ID: 37d735d4-0f42-4f05-89fa-eaa478fb5aa9 ``` ### Content type and coding The system accepts and returns data in JSON format and UTF-8 coding: ``` Content-Type: application/json; charset=utf-8 ``` ### Date formats The system accepts and returns timestamp values in the format date-time, described in [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339): ``` 2017-01-01T00:00:00Z 2017-01-01T00:00:01+00:00 ``` ### Maximum request processing time Whenever an API is accessed, the time cutoff parameters, that define maximum request processing time of the transaction completion, can be passed in the header `X-Request-Deadline` of the corresponding request: ``` X-Request-Deadline: 10s ``` The system stops processing the request upon the specified time. It is recommended to specify a value that is not more than one minute and not less than three seconds. `X-Request-Deadline` can be: * specified in the format `date-time` according to [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339); * specified in relative values: in milliseconds (`150000ms`), in seconds (`540s`) or in minutes (`3.5m`).
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.0.1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { InvoiceChange } from './invoice-change';
|
|
13
|
+
import { PaymentError } from './payment-error';
|
|
14
|
+
export interface PaymentStatusChanged extends InvoiceChange {
|
|
15
|
+
/**
|
|
16
|
+
* Payment status
|
|
17
|
+
*/
|
|
18
|
+
status: PaymentStatusChanged.StatusEnum;
|
|
19
|
+
error?: PaymentError;
|
|
20
|
+
paymentID: string;
|
|
21
|
+
}
|
|
22
|
+
export declare namespace PaymentStatusChanged {
|
|
23
|
+
type StatusEnum = 'pending' | 'processed' | 'captured' | 'cancelled' | 'refunded' | 'failed';
|
|
24
|
+
const StatusEnum: {
|
|
25
|
+
Pending: StatusEnum;
|
|
26
|
+
Processed: StatusEnum;
|
|
27
|
+
Captured: StatusEnum;
|
|
28
|
+
Cancelled: StatusEnum;
|
|
29
|
+
Refunded: StatusEnum;
|
|
30
|
+
Failed: StatusEnum;
|
|
31
|
+
};
|
|
32
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vality Payments API
|
|
3
|
+
* ## Description API is designed for the merchants who accept payments via user interface such as a website or a mobile app and it is the only interaction point with the system for goods and services payment transactions. ## Interaction details Whenever an API is accessed, its unique ID must be passed in the header X-Request-ID of the corresponding request: ``` X-Request-ID: 37d735d4-0f42-4f05-89fa-eaa478fb5aa9 ``` ### Content type and coding The system accepts and returns data in JSON format and UTF-8 coding: ``` Content-Type: application/json; charset=utf-8 ``` ### Date formats The system accepts and returns timestamp values in the format date-time, described in [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339): ``` 2017-01-01T00:00:00Z 2017-01-01T00:00:01+00:00 ``` ### Maximum request processing time Whenever an API is accessed, the time cutoff parameters, that define maximum request processing time of the transaction completion, can be passed in the header `X-Request-Deadline` of the corresponding request: ``` X-Request-Deadline: 10s ``` The system stops processing the request upon the specified time. It is recommended to specify a value that is not more than one minute and not less than three seconds. `X-Request-Deadline` can be: * specified in the format `date-time` according to [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339); * specified in relative values: in milliseconds (`150000ms`), in seconds (`540s`) or in minutes (`3.5m`).
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.0.1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { PaymentError } from './payment-error';
|
|
13
|
+
export interface PaymentStatus {
|
|
14
|
+
/**
|
|
15
|
+
* Payment status
|
|
16
|
+
*/
|
|
17
|
+
status: PaymentStatus.StatusEnum;
|
|
18
|
+
error?: PaymentError;
|
|
19
|
+
}
|
|
20
|
+
export declare namespace PaymentStatus {
|
|
21
|
+
type StatusEnum = 'pending' | 'processed' | 'captured' | 'cancelled' | 'refunded' | 'failed';
|
|
22
|
+
const StatusEnum: {
|
|
23
|
+
Pending: StatusEnum;
|
|
24
|
+
Processed: StatusEnum;
|
|
25
|
+
Captured: StatusEnum;
|
|
26
|
+
Cancelled: StatusEnum;
|
|
27
|
+
Refunded: StatusEnum;
|
|
28
|
+
Failed: StatusEnum;
|
|
29
|
+
};
|
|
30
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vality Payments API
|
|
3
|
+
* ## Description API is designed for the merchants who accept payments via user interface such as a website or a mobile app and it is the only interaction point with the system for goods and services payment transactions. ## Interaction details Whenever an API is accessed, its unique ID must be passed in the header X-Request-ID of the corresponding request: ``` X-Request-ID: 37d735d4-0f42-4f05-89fa-eaa478fb5aa9 ``` ### Content type and coding The system accepts and returns data in JSON format and UTF-8 coding: ``` Content-Type: application/json; charset=utf-8 ``` ### Date formats The system accepts and returns timestamp values in the format date-time, described in [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339): ``` 2017-01-01T00:00:00Z 2017-01-01T00:00:01+00:00 ``` ### Maximum request processing time Whenever an API is accessed, the time cutoff parameters, that define maximum request processing time of the transaction completion, can be passed in the header `X-Request-Deadline` of the corresponding request: ``` X-Request-Deadline: 10s ``` The system stops processing the request upon the specified time. It is recommended to specify a value that is not more than one minute and not less than three seconds. `X-Request-Deadline` can be: * specified in the format `date-time` according to [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339); * specified in relative values: in milliseconds (`150000ms`), in seconds (`540s`) or in minutes (`3.5m`).
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.0.1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export interface PaymentTerminalAllOf {
|
|
13
|
+
/**
|
|
14
|
+
* Providers
|
|
15
|
+
*/
|
|
16
|
+
providers: Array<string>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vality Payments API
|
|
3
|
+
* ## Description API is designed for the merchants who accept payments via user interface such as a website or a mobile app and it is the only interaction point with the system for goods and services payment transactions. ## Interaction details Whenever an API is accessed, its unique ID must be passed in the header X-Request-ID of the corresponding request: ``` X-Request-ID: 37d735d4-0f42-4f05-89fa-eaa478fb5aa9 ``` ### Content type and coding The system accepts and returns data in JSON format and UTF-8 coding: ``` Content-Type: application/json; charset=utf-8 ``` ### Date formats The system accepts and returns timestamp values in the format date-time, described in [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339): ``` 2017-01-01T00:00:00Z 2017-01-01T00:00:01+00:00 ``` ### Maximum request processing time Whenever an API is accessed, the time cutoff parameters, that define maximum request processing time of the transaction completion, can be passed in the header `X-Request-Deadline` of the corresponding request: ``` X-Request-Deadline: 10s ``` The system stops processing the request upon the specified time. It is recommended to specify a value that is not more than one minute and not less than three seconds. `X-Request-Deadline` can be: * specified in the format `date-time` according to [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339); * specified in relative values: in milliseconds (`150000ms`), in seconds (`540s`) or in minutes (`3.5m`).
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.0.1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Payment terminal
|
|
14
|
+
*/
|
|
15
|
+
export interface PaymentTerminalDataAllOf {
|
|
16
|
+
/**
|
|
17
|
+
* Payment terminal provider. The list of providers available for making payments can be found by calling the the corresponding [operation](#operation/getInvoicePaymentMethods) after creating an invoice. Additional provider details can be found out by calling [reference operation](#operation/getServiceProviderByID).
|
|
18
|
+
*/
|
|
19
|
+
provider: string;
|
|
20
|
+
/**
|
|
21
|
+
* Arbitrary metadata further describing this payment instrument.
|
|
22
|
+
*/
|
|
23
|
+
metadata?: object;
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vality Payments API
|
|
3
|
+
* ## Description API is designed for the merchants who accept payments via user interface such as a website or a mobile app and it is the only interaction point with the system for goods and services payment transactions. ## Interaction details Whenever an API is accessed, its unique ID must be passed in the header X-Request-ID of the corresponding request: ``` X-Request-ID: 37d735d4-0f42-4f05-89fa-eaa478fb5aa9 ``` ### Content type and coding The system accepts and returns data in JSON format and UTF-8 coding: ``` Content-Type: application/json; charset=utf-8 ``` ### Date formats The system accepts and returns timestamp values in the format date-time, described in [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339): ``` 2017-01-01T00:00:00Z 2017-01-01T00:00:01+00:00 ``` ### Maximum request processing time Whenever an API is accessed, the time cutoff parameters, that define maximum request processing time of the transaction completion, can be passed in the header `X-Request-Deadline` of the corresponding request: ``` X-Request-Deadline: 10s ``` The system stops processing the request upon the specified time. It is recommended to specify a value that is not more than one minute and not less than three seconds. `X-Request-Deadline` can be: * specified in the format `date-time` according to [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339); * specified in relative values: in milliseconds (`150000ms`), in seconds (`540s`) or in minutes (`3.5m`).
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.0.1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { PaymentTool } from './payment-tool';
|
|
13
|
+
export interface PaymentTerminalData extends PaymentTool {
|
|
14
|
+
/**
|
|
15
|
+
* Payment terminal provider. The list of providers available for making payments can be found by calling the the corresponding [operation](#operation/getInvoicePaymentMethods) after creating an invoice. Additional provider details can be found out by calling [reference operation](#operation/getServiceProviderByID).
|
|
16
|
+
*/
|
|
17
|
+
provider: string;
|
|
18
|
+
/**
|
|
19
|
+
* Arbitrary metadata further describing this payment instrument.
|
|
20
|
+
*/
|
|
21
|
+
metadata?: object;
|
|
22
|
+
}
|
|
23
|
+
export declare namespace PaymentTerminalData {
|
|
24
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vality Payments API
|
|
3
|
+
* ## Description API is designed for the merchants who accept payments via user interface such as a website or a mobile app and it is the only interaction point with the system for goods and services payment transactions. ## Interaction details Whenever an API is accessed, its unique ID must be passed in the header X-Request-ID of the corresponding request: ``` X-Request-ID: 37d735d4-0f42-4f05-89fa-eaa478fb5aa9 ``` ### Content type and coding The system accepts and returns data in JSON format and UTF-8 coding: ``` Content-Type: application/json; charset=utf-8 ``` ### Date formats The system accepts and returns timestamp values in the format date-time, described in [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339): ``` 2017-01-01T00:00:00Z 2017-01-01T00:00:01+00:00 ``` ### Maximum request processing time Whenever an API is accessed, the time cutoff parameters, that define maximum request processing time of the transaction completion, can be passed in the header `X-Request-Deadline` of the corresponding request: ``` X-Request-Deadline: 10s ``` The system stops processing the request upon the specified time. It is recommended to specify a value that is not more than one minute and not less than three seconds. `X-Request-Deadline` can be: * specified in the format `date-time` according to [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339); * specified in relative values: in milliseconds (`150000ms`), in seconds (`540s`) or in minutes (`3.5m`).
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.0.1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export interface PaymentTerminalDetails {
|
|
13
|
+
/**
|
|
14
|
+
* Payment terminal provider. The list of providers available for making payments can be found by calling the the corresponding [operation](#operation/getInvoicePaymentMethods) after creating an invoice. Additional provider details can be found out by calling [reference operation](#operation/getServiceProviderByID).
|
|
15
|
+
*/
|
|
16
|
+
provider: string;
|
|
17
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vality Payments API
|
|
3
|
+
* ## Description API is designed for the merchants who accept payments via user interface such as a website or a mobile app and it is the only interaction point with the system for goods and services payment transactions. ## Interaction details Whenever an API is accessed, its unique ID must be passed in the header X-Request-ID of the corresponding request: ``` X-Request-ID: 37d735d4-0f42-4f05-89fa-eaa478fb5aa9 ``` ### Content type and coding The system accepts and returns data in JSON format and UTF-8 coding: ``` Content-Type: application/json; charset=utf-8 ``` ### Date formats The system accepts and returns timestamp values in the format date-time, described in [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339): ``` 2017-01-01T00:00:00Z 2017-01-01T00:00:01+00:00 ``` ### Maximum request processing time Whenever an API is accessed, the time cutoff parameters, that define maximum request processing time of the transaction completion, can be passed in the header `X-Request-Deadline` of the corresponding request: ``` X-Request-Deadline: 10s ``` The system stops processing the request upon the specified time. It is recommended to specify a value that is not more than one minute and not less than three seconds. `X-Request-Deadline` can be: * specified in the format `date-time` according to [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339); * specified in relative values: in milliseconds (`150000ms`), in seconds (`540s`) or in minutes (`3.5m`).
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.0.1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export interface PaymentTerminalReceiptAllOf {
|
|
13
|
+
/**
|
|
14
|
+
* Account number for payment via payment terminal
|
|
15
|
+
*/
|
|
16
|
+
shortPaymentID: string;
|
|
17
|
+
/**
|
|
18
|
+
* Expiration date and time
|
|
19
|
+
*/
|
|
20
|
+
dueDate: string;
|
|
21
|
+
}
|