# Payment Status

## Overview of Payment Statuses in Transactions

The payment status in a transaction serves as a critical indicator of both the progress and outcome of financial transfers conducted between a payer and a payee. It is essential to recognize that various payment methods and platforms may employ diverse terminologies and stages throughout the payment lifecycle. Nevertheless, standard status designations are broadly recognized across the industry.

### Standardization of Payment Statuses

While individual transactions may be associated with a range of statuses—including, but not limited to, "Completed," "Cancelled," and "Refunded"—it is essential to note that each payment gateway or provider may utilize its unique nomenclature. Although these designations are different in terminology, they convey comparable meanings and represent similar stages in the payment process.

A standardized set of status names will be adopted for use within the context of JFW to foster clarity and consistency. This standardization initiative aims to bridge the gaps between the varying terminologies employed by different payment providers, thereby facilitating a more intuitive and uniform understanding of payment statuses across platforms.

### Standard Payment Statuses

{% hint style="info" %}
The most advisable approach is to use the standard documentation a financial service provider provides. Presently, JFW uses the comprehensive documentation provided by PayPal or Stripe for reference, which can be promptly accessed through their websites.
{% endhint %}

{% hint style="warning" %}
In programming contexts, it's important to note that payment status is case-insensitive. This means the system does not differentiate between uppercase and lowercase letters when determining payment status.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://jframework.gitbook.io/help/services/billing/payment/payment-status.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
