> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://api-docs.papertracc.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://api-docs.papertracc.com/_mcp/server.

# Get Payment

GET https://api.papertracc.com/v1/payments/{id}

Fetches one payment.

Reference: https://api-docs.papertracc.com/papertracc/payments/get-payment

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: collection
  version: 1.0.0
paths:
  /payments/{id}:
    get:
      operationId: Get Payment
      summary: Get Payment
      description: Fetches one payment.
      tags:
        - payments
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: Authorization
          in: header
          description: Bearer authentication
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Payments_Get Payment_Response_200'
servers:
  - url: https://api.papertracc.com/v1
    description: Production
  - url: https://api.papertracc.com/rc-1
    description: Release Candidate 1
components:
  schemas:
    PaymentsIdGetResponsesContentApplicationJsonSchemaDataVendor:
      type: object
      properties:
        id:
          type: string
          format: uuid
        display_name:
          type: string
      required:
        - id
        - display_name
      title: PaymentsIdGetResponsesContentApplicationJsonSchemaDataVendor
    PaymentsIdGetResponsesContentApplicationJsonSchemaDataAllocationsItems:
      type: object
      properties:
        id:
          type: string
          format: uuid
        amount:
          type: string
        bill_id:
          type: string
          format: uuid
        payment_id:
          type: string
          format: uuid
        bill_reference:
          type: string
      required:
        - id
        - amount
        - bill_id
        - payment_id
        - bill_reference
      title: PaymentsIdGetResponsesContentApplicationJsonSchemaDataAllocationsItems
    PaymentsIdGetResponsesContentApplicationJsonSchemaDataDestinationAccount:
      type: object
      properties:
        bank:
          type: string
        account_number:
          type: string
      required:
        - bank
        - account_number
      title: PaymentsIdGetResponsesContentApplicationJsonSchemaDataDestinationAccount
    PaymentsIdGetResponsesContentApplicationJsonSchemaData:
      type: object
      properties:
        id:
          type: string
          format: uuid
        type:
          type: string
        staff:
          description: Any type
        amount:
          type: string
        status:
          type: string
        vendor:
          $ref: >-
            #/components/schemas/PaymentsIdGetResponsesContentApplicationJsonSchemaDataVendor
        staff_id:
          description: Any type
        documents:
          type: array
          items:
            description: Any type
        vendor_id:
          type: string
          format: uuid
        account_id:
          type: string
          format: uuid
        created_at:
          type: string
          format: date-time
        project_id:
          type: string
        allocations:
          type: array
          items:
            $ref: >-
              #/components/schemas/PaymentsIdGetResponsesContentApplicationJsonSchemaDataAllocationsItems
        payment_date:
          type: string
          format: date-time
        currency_code:
          type: string
        exchange_rate:
          type: string
        journal_status:
          type: string
        payment_method:
          type: string
        journal_entry_id:
          type: string
        payment_reference:
          type: string
        destination_account:
          $ref: >-
            #/components/schemas/PaymentsIdGetResponsesContentApplicationJsonSchemaDataDestinationAccount
      required:
        - id
        - type
        - amount
        - status
        - vendor
        - documents
        - vendor_id
        - account_id
        - created_at
        - project_id
        - allocations
        - payment_date
        - currency_code
        - exchange_rate
        - journal_status
        - payment_method
        - journal_entry_id
        - payment_reference
        - destination_account
      title: PaymentsIdGetResponsesContentApplicationJsonSchemaData
    Payments_Get Payment_Response_200:
      type: object
      properties:
        data:
          $ref: >-
            #/components/schemas/PaymentsIdGetResponsesContentApplicationJsonSchemaData
        status:
          type: boolean
        message:
          type: string
      required:
        - data
        - status
        - message
      title: Payments_Get Payment_Response_200
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
    identityAuth:
      type: apiKey
      in: header
      name: identity
      description: The identity for the active project.

```

## Examples



**Response**

```json
{
  "data": {
    "id": "59ad58e5-1571-4ce5-a140-6e7e33beb47c",
    "type": "BILL_PAYMENT",
    "amount": "250000.00",
    "status": "POSTED",
    "vendor": {
      "id": "0cb2d1a5-2f50-43a1-8c3f-df06f998ef51",
      "display_name": "Global Softworks"
    },
    "documents": [],
    "vendor_id": "0cb2d1a5-2f50-43a1-8c3f-df06f998ef51",
    "account_id": "d037d299-3029-4dc7-8e72-172f80f23c4f",
    "created_at": "2026-06-18T10:00:00Z",
    "project_id": "spruce-demo",
    "allocations": [
      {
        "id": "5c998a23-a6fc-4c2e-8e22-7f90ad81ce0a",
        "amount": "250000.00",
        "bill_id": "45c6e26d-e132-4548-8e2e-5bfc467cf94a",
        "payment_id": "59ad58e5-1571-4ce5-a140-6e7e33beb47c",
        "bill_reference": "BILL-0001"
      }
    ],
    "payment_date": "2026-06-18T10:00:00Z",
    "currency_code": "NGN",
    "exchange_rate": "1.00",
    "journal_status": "POSTED",
    "payment_method": "BANK_TRANSFER",
    "journal_entry_id": "JE-0003",
    "payment_reference": "PAY-0001",
    "destination_account": {
      "bank": "Spruce Bank",
      "account_number": "1234567890"
    }
  },
  "status": true,
  "message": "Successfully fetched payment"
}
```

**SDK Code**

```python Payments_Get Payment_example
import requests

url = "https://api.papertracc.com/v1/payments/id"

headers = {"Authorization": "Bearer <apiKey>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript Payments_Get Payment_example
const url = 'https://api.papertracc.com/v1/payments/id';
const options = {method: 'GET', headers: {Authorization: 'Bearer <apiKey>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Payments_Get Payment_example
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.papertracc.com/v1/payments/id"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <apiKey>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Payments_Get Payment_example
require 'uri'
require 'net/http'

url = URI("https://api.papertracc.com/v1/payments/id")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <apiKey>'

response = http.request(request)
puts response.read_body
```

```java Payments_Get Payment_example
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.papertracc.com/v1/payments/id")
  .header("Authorization", "Bearer <apiKey>")
  .asString();
```

```php Payments_Get Payment_example
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.papertracc.com/v1/payments/id', [
  'headers' => [
    'Authorization' => 'Bearer <apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp Payments_Get Payment_example
using RestSharp;

var client = new RestClient("https://api.papertracc.com/v1/payments/id");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <apiKey>");
IRestResponse response = client.Execute(request);
```

```swift Payments_Get Payment_example
import Foundation

let headers = ["Authorization": "Bearer <apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.papertracc.com/v1/payments/id")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```