Payment/List

List payments connected to a customer account, invoice, or subscription.

Parameters
Parameter Type Required Description
payment_id string optional The 'payment_id' of a specific payment.
invoice_id string optional Provide a 'invoice_id' to list all payments connected to a specific invoice.
customer_account_id string optional Provive a 'customer_account_id" to list all payments connected to a specific customer account.
pay_method_id string optional Provide a 'pay_method_id' to list all payments connected to a specific pay method.
subscription_id string optional Provide a 'subscription_id' to show invoice payments linked to a specific subscription.
payment_transaction_id string optional Provide a 'payment_transaction_id' to find a specific payment using the payment gateway transaction ID.
GET https://api.recurringstack.com/{format}/Payment/List
//key,user_key,brand_id,response_format (xml or json),return (clean = return object, leave blank to return raw)
$rstack = new recurringstack('','','','xml','clean'); 

$params = array('payment_id' => "",'invoice_id' => "",'customer_account_id' => "",'pay_method_id' => "",'subscription_id' => "",'payment_transaction_id' => "");
try { $response = $rstack->request('Payment/List','GET',$params); } catch(Exception $e) { $error =  $e->getMessage(); echo "Error: $error"; }
print_r($response);
Response

Payment/Create

Post a payment to an existing invoice using a pay method on the customers account or using 'Cash' or other form of third party pay method.

Failed payments are recorded along with the reason for failure only when utilizing real-time billing (when 'override_billing' is set to 'N').
The 'status' returned by this service is NOT the status of the payment itself but the status of the invoice. Any response that's not an error is a successful payment, whether it be partial or full.

Invoice Status Ledger:
0 - Unpaid
1 - Paid
2 - Partially Paid
3 - Deleted

Parameters
Parameter Type Required Description
invoice_id string optional The 'invoice_id' of the invoice you wish to make a payment on. Required if 'apply_to_prepaid_balance' is 'N'
customer_account_id string required The customer account linked to the invoice you wish to make a payment on.
pay_method_id string optional The 'pay_method_id' of the payment method the customer will use to make a payment on the invoice.
apply_to_prepaid_balance string required Provide a value of 'Y' if you want to apply the payment to the customers prepaid balance instead of an invoice.
override_billing string required Provide a 'Y' to skip real-time billing of the 'pay_method_id' and simply post the payment 'amount'.
payment_gateway string optional Provide a payment gateway name (ie. PayPal) if using a third party payment gatway; 'override_billing' must be 'Y'.
payment_transaction_id string optional You can provide a payment transaction id if a thrid party payment service (ie. PayPal) was used to bill the customer; 'override_billing' must be 'Y'.
amount string required Provide the amount of the payment in full dollar amount (eg. 10.50).
POST https://api.recurringstack.com/{format}/Payment/Create
//key,user_key,brand_id,response_format (xml or json),return (clean = return object, leave blank to return raw)
$rstack = new recurringstack('','','','xml','clean'); 

$params = array('invoice_id' => "",'customer_account_id' => "",'pay_method_id' => "",'apply_to_prepaid_balance' => "",'override_billing' => "",'payment_gateway' => "",'payment_transaction_id' => "",'amount' => "");
try { $response = $rstack->request('Payment/Create','POST',$params); } catch(Exception $e) { $error =  $e->getMessage(); echo "Error: $error"; }
print_r($response);
Response

Payment/Delete

Delete an existing payment. If the payment was processed with a real time gateway, RecurringStackā„¢ will attempt to refund the payment using the same gatway.

Parameters
Parameter Type Required Description
payment_id string required The ID of the payment you wish to reverse.
customer_account_id string required The 'customer_account_id' of the customer who made the payment.
invoice_id string required The 'invoice_id' the payment was intially applied to.
DELETE https://api.recurringstack.com/{format}/Payment/Delete
//key,user_key,brand_id,response_format (xml or json),return (clean = return object, leave blank to return raw)
$rstack = new recurringstack('','','','xml','clean'); 

$params = array('payment_id' => "",'customer_account_id' => "",'invoice_id' => "");
try { $response = $rstack->request('Payment/Delete','DELETE',$params); } catch(Exception $e) { $error =  $e->getMessage(); echo "Error: $error"; }
print_r($response);
Response

Your content here

Lorem ipsum dolor sit amet consectetur adipisicing elit. Qui, natus temporibus voluptate corporis possimus ab aut cumque.

Homepage

Quick Tips

You may remove all ID or Class names which contain _dm-, they are only used for demonstration.


Boxed Layout

Fluid Layout Remove the .boxed-layout and .centered-layout classes from the body.
Centered Layout Add a class .centered-layout to the body.
Boxed Layout Add a class .boxed-layout to the body.
Boxed Layout with background image

Add background image to the body.

<body class="boxed-layout" style='background-image: url("path_to_img/image.jpg");'>
    ..
    ..
</body>

Or it could be in your own class.

.bg-img {
background-image: url("path_to_img/image.jpg");
}
<body class="boxed-layout bg-img">
    ..
    ..
</body>

Color Schemes

Replace the current Bootstrap CSS and Nifty CSS path with the new path of the CSS color schemes you wish to use.

This is where you can change the color scheme of your app / website.

<head>
    ...
    <title>My Project</title>
    ...

    <!-- STYLESHEETS -->
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~--- -->

    <!-- Bootstrap CSS [ REQUIRED ] -->
    <link rel="stylesheet" href="documentation/assets/css/color-schemes/SELECTED-SCEHEMS/bootstrap.min.css">

    <!-- Nifty CSS [ REQUIRED ] -->
    <link rel="stylesheet" href="documentation/assets/css/color-schemes/SELECTED-SCEHEMS/nifty.min.css">

</head>

Header

Sticky header Add a class .hd--sticky to the #root.
Expanded header Add a class .hd--expanded to the #root.
Expanded header with overlapping content. Add a class .overlapping to the #content > .content__header.
Disable rounded header. Add a class .rounded-0 to the #content > .content__header.

Animations

Add the following class to the body to change the animation transition.

Transition function name Class name
In Quart .in-quart
Out Quart .out-quart
In Back .in-back
Out Back .out-back
In Out Back .in-out-back
easeInOutBack .easeInOutBack
steps .steps
jumping .jumping
rubber .rubber
RecurringStack Documentation
RecurringStack Docs
Sign In

Background Images

Add an image to replace the solid background color
Layouts
Layouts
Transitions
Header
Additional Offcanvas New in BS v.5.0

Select the offcanvas placement.

Sidebars
Navigation
Right sidebar
Color Schemes
Light Completely bright color themes.
Dark Completely dark color themes.
Expanded Header
Fair Header
Full Header
Primary Nav
Brand
Tall Header New in v3.0
Scrollbars

Hides native scrollbars and creates custom styleable overlay scrollbars.

Offcanvas Header
Content Here

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Sapiente eos nihil earum aliquam quod in dolor, aspernatur obcaecati et at. Dicta, ipsum aut, fugit nam dolore porro non est totam sapiente animi recusandae obcaecati dolorum, rem ullam cumque. Illum quidem reiciendis autem neque excepturi odit est accusantium, facilis provident molestias, dicta obcaecati itaque ducimus fuga iure in distinctio voluptate nesciunt dignissimos rem error a. Expedita officiis nam dolore dolores ea. Soluta repellendus delectus culpa quo. Ea tenetur impedit error quod exercitationem ut ad provident quisquam omnis! Nostrum quasi ex delectus vero, facilis aut recusandae deleniti beatae. Qui velit commodi inventore.