---
title: "Create Payment Request (Pay Out) With Invoice"
method: POST
path: "/payment/request (COPY)"
---

# Create Payment Request (Pay Out) With Invoice

`POST /payment/request (COPY)`

## Request

- Base URL: `https://open-api.stag-v2.paper.id/api/v1`
- URL: `https://open-api.stag-v2.paper.id/api/v1/payment/request (COPY)`
- Auth: API key in header `client_id` and API key in header `client_secret`

## Request body

- object
  - `transaction_details` object
    - `ref_id` string: reference id example : INV202324000343
  - `total_amount` object
    - `payment_amount` integer: Payment Amount
    - `supplier_fee` integer: Supplier Fee
    - `buyer_fee` integer: Buyer Fee
  - `partner` object
    - `partner_number` string: Partner ID Number
    - `company_name` string: Company Name
    - `company_email` string: Company Email
    - `company_phone` string
  - `invoices` object[]
    - `invoice_number` string, required: Invoice Number
    - `invoice_date` string, date, required: The invoice date, the format should be YYYY-MM-DD
    - `invoice_due_date` string, date, required: Due Date of Invoice, the format should be YYYY-MM-DD
    - `amount` integer: amount
    - `invoice_items` object[]: Invoice item
      - `name` string: Item Name
      - `description` string: Item Description
      - `quantity` integer: Item Quantity
      - `price` integer: item price
      - `discount` integer: Discount
      - `tax` integer: Tax Amount
      - `additional_info` object
    - `discount` integer: Additional discount for the invoice, the format should be in amount
    - `delivery_fee` integer: Total delivery fee for the invoice
  - `payment_method` object
    - `method` string: method
    - `channel` string: channel
  - `redirect_url` string
  - `additional_info` string

## Response `200`

200

- object

## Other responses

- `400`: 400

## Changes

- **2026-11-03** `2b6aa3c43ca0`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/paper/apis/version-1/changes/payment/request%20%28COPY%29/post.md)

---

[API](https://skmtc.dev/paper/apis/version-1.md) - [All operations](https://skmtc.dev/paper/apis/version-1/llms.txt) - [OpenAPI document](https://skmtc.dev/paper/apis/version-1/revisions/2b6aa3c43ca0?raw)
