Structures
The following structures are available globally.
-
Request information about your saved payment method. The request allows you to get information about the saved payment method by its unique identifier. In response to the request, the data of the saved payment method will come.
See moreDeclaration
Swift
public struct PaymentMethod
extension PaymentMethod: Decodable
extension PaymentMethod: PaymentsApiResponse
extension PaymentMethod: JsonApiResponse
-
Response for payment options.
See moreDeclaration
Swift
public struct PaymentOptions
extension PaymentOptions: Decodable
extension PaymentOptions: PaymentsApiResponse
extension PaymentOptions: JsonApiResponse
-
Tokenization payments data.
See moreDeclaration
Swift
public struct Tokens : Codable
extension Tokens: PaymentsApiResponse
extension Tokens: JsonApiResponse
-
Payments API error
See moreDeclaration
Swift
public struct PaymentsApiError : Error, JsonApiResponse, PaymentsErrorApiResponse
-
Bank card data.
See moreDeclaration
Swift
public struct BankCard : Codable
-
Payment confirmation method.
See moreDeclaration
Swift
public struct Confirmation
extension Confirmation: Codable
-
Fee charged by the payee.
See moreDeclaration
Swift
public struct Counterparty : Codable
-
Commission from the buyer in excess of the payment amount. The field is present if there are commissions in excess of the payment amount.
See moreDeclaration
Swift
public struct Fee : Codable
-
The amount in the selected currency.
See moreDeclaration
Swift
public struct MonetaryAmount : Decodable, Encodable
-
Bank card details
See moreDeclaration
Swift
public struct PaymentMethodBankCard : Codable, Equatable
-
Commission charged by YooKassa.
See moreDeclaration
Swift
public struct Service : Codable