> For the complete documentation index, see [llms.txt](https://docs.patascore.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.patascore.com/transactions-operations/submit-transactions.md).

# Submit Transactions

## Submit Transactions

<mark style="color:green;">`POST`</mark> `{{BASE_URL}}/api/v1/transactions/upload`

This endpoint allows you to submit transaction data for credit scoring.

#### Headers

<table><thead><tr><th width="206">Name</th><th width="171">Type</th><th>Description</th></tr></thead><tbody><tr><td>Authentication</td><td>String</td><td>Authentication token to track down who is emptying our stocks.</td></tr></tbody></table>

#### Request Body

<table><thead><tr><th>Name</th><th width="233">Type</th><th>Description</th></tr></thead><tbody><tr><td>transactions</td><td>String</td><td>A list of transaction objects</td></tr></tbody></table>

{% tabs %}
{% tab title="JSON Request" %}

<pre class="language-javascript"><code class="lang-javascript"><strong>{
</strong><strong>  "transactions": [
</strong>     { 
       "merchant_id": "P-CUST-2023-00083",
       "transaction_id": "P-SINV-2023-192927",
       "face_amount": 1943,
       "transaction_time": "2023-10-14 00:00:00",
       "other_details": {}
     },
     {
       "merchant_id": "P-CUST-2023-00084",
       "transaction_id": "P-SINV-2023-227940",
       "face_amount": 47504,
       "transaction_time": "2023-11-06 00:00:00",
       "other_details": {}
     },
     {...}
  ]
<strong>}
</strong></code></pre>

{% endtab %}

{% tab title="Response" %}

```javascript
{
    "status": 202,
    "message": "Transactions submitted successfully",
    "data": {
        "ref_id": "9e360d21-7601-4366-80a6-d8d4afffadc2"
    }
}
```

{% endtab %}
{% endtabs %}
