Skip to content

Files

Latest commit

 

History

History
57 lines (38 loc) · 1.83 KB

PaymentAPI.md

File metadata and controls

57 lines (38 loc) · 1.83 KB

PaymentAPI

All URIs are relative to https://mgmtapi.geins.io

Method HTTP request Description
queryPaymentOptions POST /API/Payment/Query Query payment options

queryPaymentOptions

    open class func queryPaymentOptions(query: PaymentModelsPaymentOptionQuery, completion: @escaping (_ data: [PaymentModelsPaymentOption]?, _ error: Error?) -> Void)

Query payment options

Example

// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import OpenAPIClient

let query = Payment.Models.PaymentOptionQuery(siteId: 123, email: "email_example", customerTypeId: 123, countryId: 123, sum: 123) // PaymentModelsPaymentOptionQuery | The payment query

// Query payment options
PaymentAPI.queryPaymentOptions(query: query) { (response, error) in
    guard error == nil else {
        print(error)
        return
    }

    if (response) {
        dump(response)
    }
}

Parameters

Name Type Description Notes
query PaymentModelsPaymentOptionQuery The payment query

Return type

[PaymentModelsPaymentOption]

Authorization

apiKey, basicAuth

HTTP request headers

  • Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
  • Accept: application/json, text/json, application/xml, text/xml

[Back to top] [Back to API list] [Back to Model list] [Back to README]