Billing Pay

From INAP Dropzone API
(Difference between revisions)
Jump to: navigation, search
(Method)
Line 1: Line 1:
Allows you to pay the invoice, requires a invoiceid and methodid. The method id must be a valid payment method id and the invoice id must be a clients invoice that is unpaid.
+
Allows for the payment of an unpaid invoice on the account.
  
 
==Path==
 
==Path==
Line 8: Line 8:
  
 
==Required Data Parameters==
 
==Required Data Parameters==
*{$invoiceid}
+
*{$invoiceid}: the invoice ID that is returned when using the [[Billing List|billing list]] command.
 +
*{$paymentmethodid}: The payment method ID that is returned when using the [[Billing Payment Methods|payment methods]] command.
  
 
==Optional Data Parameters==
 
==Optional Data Parameters==
Line 17: Line 18:
 
stdClass Object(
 
stdClass Object(
 
   [success] => TRUE/FALSE
 
   [success] => TRUE/FALSE
  [data] => stdClass Object(
 
 
 
  )
 
 
)
 
)
 
</pre>
 
</pre>

Revision as of 22:16, 19 March 2012

Allows for the payment of an unpaid invoice on the account.

Contents

Path

  • /billing/pay

Method

Required Data Parameters

  • {$invoiceid}: the invoice ID that is returned when using the billing list command.
  • {$paymentmethodid}: The payment method ID that is returned when using the payment methods command.

Optional Data Parameters

  • None

Returned Data

stdClass Object(
  [success] => TRUE/FALSE
)
Personal tools