Skip to content

Latest commit

 

History

History
70 lines (50 loc) · 1.88 KB

File metadata and controls

70 lines (50 loc) · 1.88 KB

Flipdish.Api.PaymentsApi

All URIs are relative to https://api.flipdish.co

Method HTTP request Description
GetOrderPaymentInformation GET /api/v1.0/payments/payment/{orderId}/refundable

GetOrderPaymentInformation

RestApiResultOrderPaymentInformation GetOrderPaymentInformation (int? orderId)

Example

using System;
using System.Diagnostics;
using Flipdish.Api;
using Flipdish.Client;
using Flipdish.Model;

namespace Example
{
    public class GetOrderPaymentInformationExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: oauth2
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            var apiInstance = new PaymentsApi();
            var orderId = 56;  // int? | 

            try
            {
                RestApiResultOrderPaymentInformation result = apiInstance.GetOrderPaymentInformation(orderId);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PaymentsApi.GetOrderPaymentInformation: " + e.Message );
            }
        }
    }
}

Parameters

Name Type Description Notes
orderId int?

Return type

RestApiResultOrderPaymentInformation

Authorization

oauth2

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, text/json, application/xml, text/xml

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