---
updatedAt: 2026-04-22T09:39:42.000Z
agentTools:
  projectIndex: https://docs.finmid.com/llms.txt
---

# Get Payment Request

For getting a certain payment request's details, you'll only need the payment request's ID specified on creation.

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "B2B Payments API",
    "version": "v2.3"
  },
  "servers": [
    {
      "url": "https://sandbox.finmid.com",
      "description": "Sandbox"
    },
    {
      "url": "https://api.finmid.com",
      "description": "Live"
    }
  ],
  "security": [
    {
      "apiKeyScheme": []
    }
  ],
  "paths": {
    "/api/v2/b2b-payments/buyers": {
      "post": {
        "tags": [
          "Buyer"
        ],
        "operationId": "create-buyer-v2",
        "summary": "Create Buyer",
        "description": "Let's create/onboard a new buyer. For this you'll need 2 things:\n1. Create a new ID for this buyer (should map to your internal identifier)\n2. The buyer's legal information. ⚠️ Note that one of either business_registration_number or tax_number **must** be provided on creation.\n\n> 📘\n>\n> You should create a buyer entity for every buyer on your platform that can be part of a lending transaction.\n",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "required": [
                  "id",
                  "legal_name",
                  "legal_address",
                  "email"
                ],
                "type": "object",
                "properties": {
                  "id": {
                    "allOf": [
                      {
                        "$ref": "#/paths/~1api~1v2~1b2b-payments~1payment-requests~1{id}~1cancel/put/parameters/0/schema/allOf/0"
                      },
                      {
                        "description": "Custom ID of the buyer, should map to your internal identifier. Must consist only of a-z, A-Z, 0-9 and .-_ characters, and length should not exceed 100 characters.\n",
                        "example": "buyer-123"
                      }
                    ]
                  },
                  "legal_name": {
                    "allOf": [
                      {
                        "type": "string",
                        "maxLength": 100
                      },
                      {
                        "description": "Business name of the buyer (not necessarily the brand name). This should be the name as stated in official business registers.\n",
                        "example": "Tante Emma GmbH"
                      }
                    ]
                  },
                  "business_registration_number": {
                    "allOf": [
                      {
                        "type": "string",
                        "maxLength": 100
                      },
                      {
                        "description": "Registration number of the buyer from the commercial register.\n",
                        "example": "HRB123456B"
                      }
                    ]
                  },
                  "tax_number": {
                    "allOf": [
                      {
                        "type": "string",
                        "maxLength": 100
                      },
                      {
                        "description": "Identification number assigned to the buyer by local tax office. > ⚠️ This field must be provided in case the business registration number is omitted.\n",
                        "example": "12/345/67890"
                      }
                    ]
                  },
                  "email": {
                    "allOf": [
                      {
                        "type": "string",
                        "format": "email",
                        "pattern": "^(?:[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*|\"(?:[\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x21\\x23-\\x5b\\x5d-\\x7f]|\\\\[\\x01-\\x09\\x0b\\x0c\\x0e-\\x7f])*\")@(?:(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?|\\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-zA-Z0-9-]*[a-zA-Z0-9]:(?:[\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x21-\\x5a\\x53-\\x7f]|\\\\[\\x01-\\x09\\x0b\\x0c\\x0e-\\x7f])+)\\])$"
                      },
                      {
                        "description": "Email address of the buyer.",
                        "example": "emma@example.com"
                      }
                    ]
                  },
                  "phone": {
                    "allOf": [
                      {
                        "type": "string",
                        "pattern": "^\\+[0-9]+$",
                        "minLength": 4,
                        "maxLength": 30
                      },
                      {
                        "description": "Phone number of the buyer. Must be provided in the international format, e.g. `+49123456789`.",
                        "example": "+49123456789"
                      }
                    ]
                  },
                  "legal_address": {
                    "allOf": [
                      {
                        "type": "object",
                        "properties": {
                          "address_line_1": {
                            "description": "First line of the address. This is usually a street name and house number combination.",
                            "type": "string",
                            "maxLength": 100
                          },
                          "address_line_2": {
                            "description": "Second address line for any required additions to the first line. A typical example is c/o information.",
                            "type": "string",
                            "maxLength": 100
                          },
                          "postal_code": {
                            "description": "Postal code of the address.",
                            "type": "string",
                            "maxLength": 20
                          },
                          "city": {
                            "description": "City of the address.",
                            "type": "string",
                            "maxLength": 100
                          },
                          "state": {
                            "description": "State of the address (if applicable).",
                            "type": "string",
                            "maxLength": 100
                          },
                          "country": {
                            "description": "Country code (ISO 3166-1 alpha-3, e.g. `DEU`, `USA`).",
                            "type": "string",
                            "example": "DEU",
                            "enum": [
                              "ABW",
                              "AFG",
                              "AGO",
                              "AIA",
                              "ALA",
                              "ALB",
                              "AND",
                              "ARE",
                              "ARG",
                              "ARM",
                              "ASM",
                              "ATA",
                              "ATF",
                              "ATG",
                              "AUS",
                              "AUT",
                              "AZE",
                              "BDI",
                              "BEL",
                              "BEN",
                              "BES",
                              "BFA",
                              "BGD",
                              "BGR",
                              "BHR",
                              "BHS",
                              "BIH",
                              "BLM",
                              "BLR",
                              "BLZ",
                              "BMU",
                              "BOL",
                              "BRA",
                              "BRB",
                              "BRN",
                              "BTN",
                              "BVT",
                              "BWA",
                              "CAF",
                              "CAN",
                              "CCK",
                              "CHE",
                              "CHL",
                              "CHN",
                              "CIV",
                              "CMR",
                              "COD",
                              "COG",
                              "COK",
                              "COL",
                              "COM",
                              "CPV",
                              "CRI",
                              "CUB",
                              "CUW",
                              "CXR",
                              "CYM",
                              "CYP",
                              "CZE",
                              "DEU",
                              "DJI",
                              "DMA",
                              "DNK",
                              "DOM",
                              "DZA",
                              "ECU",
                              "EGY",
                              "ERI",
                              "ESH",
                              "ESP",
                              "EST",
                              "ETH",
                              "FIN",
                              "FJI",
                              "FLK",
                              "FRA",
                              "FRO",
                              "FSM",
                              "GAB",
                              "GBR",
                              "GEO",
                              "GGY",
                              "GHA",
                              "GIB",
                              "GIN",
                              "GLP",
                              "GMB",
                              "GNB",
                              "GNQ",
                              "GRC",
                              "GRD",
                              "GRL",
                              "GTM",
                              "GUF",
                              "GUM",
                              "GUY",
                              "HKG",
                              "HMD",
                              "HND",
                              "HRV",
                              "HTI",
                              "HUN",
                              "IDN",
                              "IMN",
                              "IND",
                              "IOT",
                              "IRL",
                              "IRN",
                              "IRQ",
                              "ISL",
                              "ISR",
                              "ITA",
                              "JAM",
                              "JEY",
                              "JOR",
                              "JPN",
                              "KAZ",
                              "KEN",
                              "KGZ",
                              "KHM",
                              "KIR",
                              "KNA",
                              "KOR",
                              "KWT",
                              "LAO",
                              "LBN",
                              "LBR",
                              "LBY",
                              "LCA",
                              "LIE",
                              "LKA",
                              "LSO",
                              "LTU",
                              "LUX",
                              "LVA",
                              "MAC",
                              "MAF",
                              "MAR",
                              "MCO",
                              "MDA",
                              "MDG",
                              "MDV",
                              "MEX",
                              "MHL",
                              "MKD",
                              "MLI",
                              "MLT",
                              "MMR",
                              "MNE",
                              "MNG",
                              "MNP",
                              "MOZ",
                              "MRT",
                              "MSR",
                              "MTQ",
                              "MUS",
                              "MWI",
                              "MYS",
                              "MYT",
                              "NAM",
                              "NCL",
                              "NER",
                              "NFK",
                              "NGA",
                              "NIC",
                              "NIU",
                              "NLD",
                              "NOR",
                              "NPL",
                              "NRU",
                              "NZL",
                              "OMN",
                              "PAK",
                              "PAN",
                              "PCN",
                              "PER",
                              "PHL",
                              "PLW",
                              "PNG",
                              "POL",
                              "PRI",
                              "PRK",
                              "PRT",
                              "PRY",
                              "PSE",
                              "PYF",
                              "QAT",
                              "REU",
                              "ROU",
                              "RUS",
                              "RWA",
                              "SAU",
                              "SDN",
                              "SEN",
                              "SGP",
                              "SGS",
                              "SHN",
                              "SJM",
                              "SLB",
                              "SLE",
                              "SLV",
                              "SMR",
                              "SOM",
                              "SPM",
                              "SRB",
                              "SSD",
                              "STP",
                              "SUR",
                              "SVK",
                              "SVN",
                              "SWE",
                              "SWZ",
                              "SXM",
                              "SYC",
                              "SYR",
                              "TCA",
                              "TCD",
                              "TGO",
                              "THA",
                              "TJK",
                              "TKL",
                              "TKM",
                              "TLS",
                              "TON",
                              "TTO",
                              "TUN",
                              "TUR",
                              "TUV",
                              "TWN",
                              "TZA",
                              "UGA",
                              "UKR",
                              "UMI",
                              "URY",
                              "USA",
                              "UZB",
                              "VAT",
                              "VCT",
                              "VEN",
                              "VGB",
                              "VIR",
                              "VNM",
                              "VUT",
                              "WLF",
                              "WSM",
                              "YEM",
                              "ZAF",
                              "ZMB",
                              "ZWE",
                              "XKX"
                            ]
                          }
                        }
                      },
                      {
                        "description": "Legal address of the buyer.",
                        "required": [
                          "address_line_1",
                          "postal_code",
                          "city",
                          "country"
                        ],
                        "example": {
                          "address_line_1": "Musterstraße 1",
                          "postal_code": "11225",
                          "city": "Musterstadt",
                          "state": "Saarland",
                          "country": "DEU"
                        }
                      }
                    ]
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "The buyer was created successfully.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "id",
                    "status",
                    "legal_name",
                    "legal_address"
                  ],
                  "properties": {
                    "id": {
                      "allOf": [
                        {
                          "$ref": "#/paths/~1api~1v2~1b2b-payments~1payment-requests~1{id}~1cancel/put/parameters/0/schema/allOf/0"
                        },
                        {
                          "description": "ID of the buyer.",
                          "example": "buyer-123"
                        }
                      ]
                    },
                    "status": {
                      "allOf": [
                        {
                          "$ref": "#/paths/~1api~1v2~1b2b-payments~1buyers~1list/get/parameters/0/schema/items"
                        },
                        {
                          "description": "Current status of the buyer.",
                          "example": "PENDING"
                        }
                      ]
                    },
                    "legal_name": {
                      "allOf": [
                        {
                          "$ref": "#/paths/~1api~1v2~1b2b-payments~1buyers/post/requestBody/content/application~1json/schema/properties/legal_name/allOf/0"
                        },
                        {
                          "description": "Legal name of the buyer's business.",
                          "example": "Tante Emma GmbH"
                        }
                      ]
                    },
                    "business_registration_number": {
                      "allOf": [
                        {
                          "$ref": "#/paths/~1api~1v2~1b2b-payments~1buyers/post/requestBody/content/application~1json/schema/properties/business_registration_number/allOf/0"
                        },
                        {
                          "description": "Business registration number of the buyer.",
                          "example": "HRB123456B"
                        }
                      ]
                    },
                    "tax_number": {
                      "allOf": [
                        {
                          "$ref": "#/paths/~1api~1v2~1b2b-payments~1buyers/post/requestBody/content/application~1json/schema/properties/tax_number/allOf/0"
                        },
                        {
                          "description": "Identification number assigned to the buyer by local tax office.\n",
                          "example": "12/345/67890"
                        }
                      ]
                    },
                    "email": {
                      "allOf": [
                        {
                          "$ref": "#/paths/~1api~1v2~1b2b-payments~1buyers/post/requestBody/content/application~1json/schema/properties/email/allOf/0"
                        },
                        {
                          "description": "Email address of the buyer.",
                          "example": "emma@example.com"
                        }
                      ]
                    },
                    "phone": {
                      "allOf": [
                        {
                          "$ref": "#/paths/~1api~1v2~1b2b-payments~1buyers/post/requestBody/content/application~1json/schema/properties/phone/allOf/0"
                        },
                        {
                          "description": "Phone number of the buyer in the international format (e.g. `+49123456789`).",
                          "example": "+49123456789"
                        }
                      ]
                    },
                    "legal_address": {
                      "allOf": [
                        {
                          "$ref": "#/paths/~1api~1v2~1b2b-payments~1buyers/post/requestBody/content/application~1json/schema/properties/legal_address/allOf/0"
                        },
                        {
                          "description": "Legal address of the buyer.",
                          "required": [
                            "address_line_1",
                            "postal_code",
                            "city",
                            "country"
                          ],
                          "example": {
                            "address_line_1": "Musterstraße 1",
                            "postal_code": "11225",
                            "city": "Musterstadt",
                            "state": "Saarland",
                            "country": "DEU"
                          }
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid and failed validation.",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "type": "object",
                      "required": [
                        "code",
                        "description"
                      ],
                      "properties": {
                        "code": {
                          "allOf": [
                            {
                              "type": "string",
                              "enum": [
                                "validation_error",
                                "server_error",
                                "buyer_invalid",
                                "seller_invalid",
                                "platform_invalid",
                                "payment_request_invalid",
                                "line_item_invalid",
                                "buyer_conflict",
                                "seller_conflict",
                                "payment_request_conflict",
                                "business_conflict",
                                "business_not_found",
                                "document_already_exists",
                                "incoming_webhook_conflict",
                                "mcc_not_eligible",
                                "offer_group_not_active",
                                "offer_group_not_found",
                                "platform_check_already_consumed",
                                "platform_check_not_required",
                                "platform_check_unavailable",
                                "platform_checks_not_enabled"
                              ]
                            },
                            {
                              "description": "Code that represents the kind of error."
                            }
                          ]
                        },
                        "description": {
                          "allOf": [
                            {
                              "type": "string"
                            },
                            {
                              "description": "A more detailed description of the error."
                            }
                          ]
                        }
                      }
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string",
                          "enum": [
                            "validation_error"
                          ]
                        },
                        "description": {
                          "example": "legal_name must not be blank"
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid API key. Could not authenticate API request."
          },
          "409": {
            "description": "Buyer exists already.",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/paths/~1api~1v2~1b2b-payments~1buyers/post/responses/400/content/application~1json/schema/allOf/0"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string",
                          "enum": [
                            "buyer_conflict"
                          ]
                        },
                        "description": {
                          "example": "Cannot create this buyer because it exists already"
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "500": {
            "description": "An unexpected server error occurred. You should try again later or contact finmid support.",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/paths/~1api~1v2~1b2b-payments~1buyers/post/responses/400/content/application~1json/schema/allOf/0"
                    },
                    {
                      "properties": {
                        "code": {
                          "type": "string",
                          "enum": [
                            "server_error"
                          ]
                        },
                        "description": {
                          "example": "Our server was hit by a meteorite 💥."
                        }
                      }
                    }
                  ]
                },
                "examples": {
                  "server_error": {
                    "value": {
                      "code": "server_error",
                      "description": "Internal processing error"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v2/b2b-payments/buyers/{id}/payment-limit": {
      "get": {
        "tags": [
          "Buyer"
        ],
        "operationId": "get-buyer-limit-v2",
        "summary": "Get Buyer Limit",
        "description": "Get estimated buyer limit in a target currency.\n> 📘\n>\n> Note: this limit is an estimate and subject to change depending on a specific payment request parameters. To verify if specific purchase can be financed please use [Check Payment Request API](../reference/check-payment-request-v2)\n",
        "parameters": [
          {
            "$ref": "#/paths/~1api~1v2~1b2b-payments~1buyers~1{id}/get/parameters/0"
          },
          {
            "name": "currency",
            "in": "query",
            "required": false,
            "schema": {
              "allOf": [
                {
                  "description": "Three-letter currency code (ISO 4217). Supported currencies `EUR`, `GBP`, and `USD`.",
                  "type": "string",
                  "example": "EUR"
                }
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Estimated limit for the buyer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "estimated_remaining_limit",
                    "currency",
                    "total_limit",
                    "used_limit",
                    "pending_requests_amount"
                  ],
                  "properties": {
                    "estimated_remaining_limit": {
                      "allOf": [
                        {
                          "$ref": "#/paths/~1api~1v2~1b2b-payments~1payment-requests/post/requestBody/content/application~1json/schema/properties/total_amount/allOf/0"
                        },
                        {
                          "description": "Estimated available amount which could be approved for payment request for the buyer.",
                          "example": 9000
                        }
                      ]
                    },
                    "total_limit": {
                      "allOf": [
                        {
                          "$ref": "#/paths/~1api~1v2~1b2b-payments~1payment-requests/post/requestBody/content/application~1json/schema/properties/total_amount/allOf/0"
                        },
                        {
                          "description": "Estimated maximum amount of all open buyer's payment requests.",
                          "example": 10000
                        }
                      ]
                    },
                    "used_limit": {
                      "allOf": [
                        {
                          "$ref": "#/paths/~1api~1v2~1b2b-payments~1payment-requests/post/requestBody/content/application~1json/schema/properties/total_amount/allOf/0"
                        },
                        {
                          "description": "Sum of all pending and reserved buyer's payment requests.",
                          "example": 1000
                        }
                      ]
                    },
                    "pending_requests_amount": {
                      "allOf": [
                        {
                          "$ref": "#/paths/~1api~1v2~1b2b-payments~1payment-requests/post/requestBody/content/application~1json/schema/properties/total_amount/allOf/0"
                        },
                        {
                          "description": "Sum of all reserved but not pending for repayment buyer's payment requests.",
                          "example": 500
                        }
                      ]
                    },
                    "currency": {
                      "allOf": [
                        {
                          "$ref": "#/paths/~1api~1v2~1b2b-payments~1buyers~1{id}~1payment-limit/get/parameters/1/schema/allOf/0"
                        },
                        {
                          "description": "Three-letter currency code (ISO 4217). Supported currencies `EUR` and `GBP`",
                          "example": "EUR"
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/paths/~1api~1v2~1b2b-payments~1buyers/post/responses/401"
          },
          "404": {
            "$ref": "#/paths/~1api~1v2~1b2b-payments~1buyers~1{id}/get/responses/404"
          },
          "500": {
            "$ref": "#/paths/~1api~1v2~1b2b-payments~1buyers/post/responses/500"
          }
        }
      }
    },
    "/api/v2/b2b-payments/payment-requests": {
      "post": {
        "tags": [
          "Payment Request"
        ],
        "operationId": "create-payment-request-v2",
        "summary": "Create Payment Request",
        "description": "The create payment request resource endpoint creates a loan and reserves the specified order amount. This process is called authorisations. When you authorise, finmid will generate a unique id that you'll use to reference the transaction moving forward.\n\nFor creating a new payment request, you need the following things:\n1. Create a new ID for this payment request (we recommend using the invoice number),\n2. Choose repayment term days,\n3. Buyer's ID specified on creation,\n4. Seller ID\n5. Total order amount.\n7. (Optional) Invoice due date, which can be added now, or via the update endpoint.\n\n> ⚠️ Invoice Number\n>\n> Invoice number is optional upon payment request creation.  However, it must be provided prior to capturing the payment request. Invoice number can be provided via the [Update Payment Request](../reference/update-payment-request-v2) endpoint\n",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "required": [
                  "repayment_term_days",
                  "buyer_id",
                  "currency",
                  "id",
                  "total_amount",
                  "seller_id"
                ],
                "type": "object",
                "properties": {
                  "id": {
                    "$ref": "#/paths/~1api~1v2~1b2b-payments~1payment-requests~1{id}~1cancel/put/parameters/0/schema/allOf/0"
                  },
                  "repayment_term_days": {
                    "description": "Repayment period term in days.",
                    "type": "integer",
                    "minimum": 0,
                    "example": 30
                  },
                  "buyer_id": {
                    "$ref": "#/paths/~1api~1v2~1b2b-payments~1payment-requests~1{id}~1cancel/put/parameters/0/schema/allOf/0"
                  },
                  "seller_id": {
                    "allOf": [
                      {
                        "$ref": "#/paths/~1api~1v2~1b2b-payments~1payment-requests~1{id}~1cancel/put/parameters/0/schema/allOf/0"
                      },
                      {
                        "description": "seller of the payment request"
                      }
                    ]
                  },
                  "metadata": {
                    "type": "object",
                    "additionalProperties": {
                      "type": "string"
                    }
                  },
                  "currency": {
                    "allOf": [
                      {
                        "$ref": "#/paths/~1api~1v2~1b2b-payments~1buyers~1{id}~1payment-limit/get/parameters/1/schema/allOf/0"
                      },
                      {
                        "description": "Three-letter currency code (ISO 4217)."
                      }
                    ]
                  },
                  "total_amount": {
                    "allOf": [
                      {
                        "description": "The amount with up to 2 decimal places.",
                        "type": "number",
                        "pattern": "^(?:\\+|-)?[0-9]+(?:\\.[0-9]+)$",
                        "example": 1000
                      },
                      {
                        "description": "The total amount of the order with up to 2 decimal places.",
                        "example": 1000
                      }
                    ]
                  },
                  "invoice_number": {
                    "description": "Invoice ID corresponding to the transactions in the payment request.",
                    "type": "string",
                    "maxLength": 100
                  },
                  "invoice_due_date": {
                    "type": "string",
                    "format": "date",
                    "example": "2023-08-01"
                  },
                  "total_fee_override": {
                    "$ref": "#/paths/~1api~1v2~1b2b-payments~1payment-requests/post/responses/200/content/application~1json/schema/properties/financing_portion/allOf/0/properties/portion/allOf/0",
                    "description": "The percentage value expressed relative to the total intent amount, which overrides the default total fee deducted upon payout(s)."
                  },
                  "payout_maximum_now": {
                    "type": "boolean",
                    "description": "If set to true, the payment request will be paid-out immediately after creation."
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "The created payment request.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "id",
                    "status",
                    "creation_time",
                    "buyer_id",
                    "total_amount",
                    "financing_portion",
                    "amount_details",
                    "amounts_breakdown",
                    "currency",
                    "repayment_term_days",
                    "repayment_date"
                  ],
                  "properties": {
                    "id": {
                      "description": "ID of the payment request.",
                      "type": "string"
                    },
                    "status": {
                      "allOf": [
                        {
                          "$ref": "#/paths/~1api~1v2~1b2b-payments~1payment-requests~1list/get/parameters/2/schema/items"
                        },
                        {
                          "description": "Current status of the payment request."
                        }
                      ]
                    },
                    "creation_time": {
                      "allOf": [
                        {
                          "$ref": "#/paths/~1api~1v2~1b2b-payments~1reports~1settlement/get/responses/200/content/application~1json/schema/properties/created_at/allOf/0"
                        },
                        {
                          "description": "Creation time of the payment request (ISO 8601 datetime)."
                        }
                      ]
                    },
                    "buyer_id": {
                      "allOf": [
                        {
                          "$ref": "#/paths/~1api~1v2~1b2b-payments~1payment-requests~1{id}~1cancel/put/parameters/0/schema/allOf/0"
                        },
                        {
                          "description": "ID of the buyer associated with the payment request."
                        }
                      ]
                    },
                    "order_id": {
                      "type": "string",
                      "description": "The ID of the order associated with the payment request. Use this ID to perform read/update actions on the order.\n"
                    },
                    "total_amount": {
                      "allOf": [
                        {
                          "$ref": "#/paths/~1api~1v2~1b2b-payments~1payment-requests/post/requestBody/content/application~1json/schema/properties/total_amount/allOf/0"
                        },
                        {
                          "description": "Total amount of the transaction.",
                          "example": 1000
                        }
                      ]
                    },
                    "financing_portion": {
                      "allOf": [
                        {
                          "type": "object",
                          "required": [
                            "portion",
                            "amount"
                          ],
                          "properties": {
                            "portion": {
                              "allOf": [
                                {
                                  "type": "number",
                                  "description": "Percentage expressed in decimal form (between 0 and 1).",
                                  "pattern": "^(?:\\+|-)?[0-9]+(?:\\.[0-9]+)$",
                                  "example": 0.5
                                },
                                {
                                  "description": "Percentage of total payment request amount that can be financed/paid out."
                                }
                              ]
                            },
                            "amount": {
                              "allOf": [
                                {
                                  "$ref": "#/paths/~1api~1v2~1b2b-payments~1payment-requests/post/requestBody/content/application~1json/schema/properties/total_amount/allOf/0"
                                },
                                {
                                  "description": "Total amount that can be paid out.",
                                  "example": 1000
                                }
                              ]
                            }
                          }
                        },
                        {
                          "description": "Represents the financing condition for the payment request, in terms of how much can be paid out."
                        }
                      ]
                    },
                    "amount_details": {
                      "deprecated": true,
                      "type": "object",
                      "required": [
                        "original_amount",
                        "platform_fee_amount",
                        "buyer_fee_amount",
                        "sellers_fee_amount"
                      ],
                      "properties": {
                        "original_amount": {
                          "allOf": [
                            {
                              "$ref": "#/paths/~1api~1v2~1b2b-payments~1payment-requests/post/requestBody/content/application~1json/schema/properties/total_amount/allOf/0"
                            },
                            {
                              "description": "Original amount as requested."
                            }
                          ]
                        },
                        "platform_fee_amount": {
                          "allOf": [
                            {
                              "$ref": "#/paths/~1api~1v2~1b2b-payments~1payment-requests/post/requestBody/content/application~1json/schema/properties/total_amount/allOf/0"
                            },
                            {
                              "description": "Applying platform fees."
                            }
                          ]
                        },
                        "buyer_fee_amount": {
                          "allOf": [
                            {
                              "$ref": "#/paths/~1api~1v2~1b2b-payments~1payment-requests/post/requestBody/content/application~1json/schema/properties/total_amount/allOf/0"
                            },
                            {
                              "description": "Applying buyer fees."
                            }
                          ]
                        },
                        "sellers_fee_amount": {
                          "type": "object",
                          "description": "Map of fees applied per seller. Key is seller id, value is amount of the fee in payment request currency\n",
                          "additionalProperties": {
                            "allOf": [
                              {
                                "$ref": "#/paths/~1api~1v2~1b2b-payments~1payment-requests/post/requestBody/content/application~1json/schema/properties/total_amount/allOf/0"
                              },
                              {
                                "description": "Applying sellers fees."
                              }
                            ]
                          }
                        }
                      }
                    },
                    "amounts_breakdown": {
                      "type": "object",
                      "required": [
                        "total_amount",
                        "fees",
                        "payout_amount"
                      ],
                      "properties": {
                        "total_amount": {
                          "allOf": [
                            {
                              "$ref": "#/paths/~1api~1v2~1b2b-payments~1payment-requests/post/requestBody/content/application~1json/schema/properties/total_amount/allOf/0"
                            },
                            {
                              "description": "Total amount as requested."
                            }
                          ]
                        },
                        "fees": {
                          "type": "object",
                          "required": [
                            "total_fee_amount",
                            "details"
                          ],
                          "properties": {
                            "total_fee_amount": {
                              "allOf": [
                                {
                                  "$ref": "#/paths/~1api~1v2~1b2b-payments~1payment-requests/post/requestBody/content/application~1json/schema/properties/total_amount/allOf/0"
                                },
                                {
                                  "description": "Total fee being charged on the payment request. Deducted upon payout(s)."
                                }
                              ]
                            },
                            "details": {
                              "type": "object",
                              "required": [
                                "service_fee_amount",
                                "platform_markup_amount"
                              ],
                              "properties": {
                                "service_fee_amount": {
                                  "allOf": [
                                    {
                                      "$ref": "#/paths/~1api~1v2~1b2b-payments~1payment-requests/post/requestBody/content/application~1json/schema/properties/total_amount/allOf/0"
                                    },
                                    {
                                      "description": "Fee being charged to platform by finmid. Deducted from total_fee_amount, and calculated against net payout amount."
                                    }
                                  ]
                                },
                                "platform_markup_amount": {
                                  "allOf": [
                                    {
                                      "$ref": "#/paths/~1api~1v2~1b2b-payments~1payment-requests/post/requestBody/content/application~1json/schema/properties/total_amount/allOf/0"
                                    },
                                    {
                                      "description": "Markup platform receives via settlement. Difference between total_fee and service_fee."
                                    }
                                  ]
                                }
                              }
                            }
                          }
                        },
                        "payout_amount": {
                          "allOf": [
                            {
                              "$ref": "#/paths/~1api~1v2~1b2b-payments~1payment-requests/post/requestBody/content/application~1json/schema/properties/total_amount/allOf/0"
                            },
                            {
                              "description": "Total amount deducted of total fee."
                            }
                          ]
                        }
                      }
                    },
                    "currency": {
                      "allOf": [
                        {
                          "$ref": "#/paths/~1api~1v2~1b2b-payments~1buyers~1{id}~1payment-limit/get/parameters/1/schema/allOf/0"
                        },
                        {
                          "description": "Three-letter currency code (ISO 4217)."
                        }
                      ]
                    },
                    "repayment_term_days": {
                      "$ref": "#/paths/~1api~1v2~1b2b-payments~1payment-requests/post/requestBody/content/application~1json/schema/properties/repayment_term_days"
                    },
                    "repayment_type": {
                      "deprecated": true,
                      "description": "Repayment type to use in responses.",
                      "type": "string",
                      "enum": [
                        "SCT",
                        "SDD"
                      ],
                      "example": "SCT"
                    },
                    "repayment_date": {
                      "type": "string",
                      "format": "date",
                      "example": "2023-08-01"
                    },
                    "metadata": {
                      "description": "Set of **key-value pairs** that are attached to the payment request. Used for sharing extra data.\n",
                      "type": "object"
                    },
                    "invoice_number": {
                      "description": "Invoice ID corresponding to the transactions in the payment request.",
                      "$ref": "#/paths/~1api~1v2~1b2b-payments~1payment-requests/post/requestBody/content/application~1json/schema/properties/invoice_number"
                    },
                    "invoice_due_date": {
                      "type": "string",
                      "format": "date",
                      "example": "2023-08-01"
                    },
                    "payouts": {
                      "description": "A result set containing payouts for the given payment request.",
                      "type": "array",
                      "items": {
                        "$ref": "#/paths/~1api~1v2~1b2b-payments~1payment-requests~1{id}~1payouts/post/responses/200/content/application~1json/schema"
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/paths/~1api~1v2~1b2b-payments~1buyers/post/responses/401"
          },
          "500": {
            "$ref": "#/paths/~1api~1v2~1b2b-payments~1buyers/post/responses/500"
          }
        }
      }
    },
    "/api/v2/b2b-payments/payment-requests/{id}/cancel": {
      "put": {
        "tags": [
          "Payment Request"
        ],
        "operationId": "cancel-payment-request-v2",
        "summary": "Cancel Payment Request",
        "description": "Cancels an existing payment request and releases the loan amount reserved for the payment. For this you'll only need the payment request ID specified on creation.\n> 📘\n>\n> This operation is only permitted if the seller has captured no items in the order. Please note that cancelling a payment request is not reversible.\n",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "allOf": [
                {
                  "type": "string",
                  "pattern": "^[a-zA-Z0-9_\\.\\-]{1,100}$",
                  "maxLength": 100
                },
                {
                  "description": "ID of the payment request.",
                  "example": "pi-12345"
                }
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The payment request is canceled.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/paths/~1api~1v2~1b2b-payments~1payment-requests/post/responses/200/content/application~1json/schema"
                }
              }
            }
          },
          "401": {
            "$ref": "#/paths/~1api~1v2~1b2b-payments~1buyers/post/responses/401"
          },
          "500": {
            "$ref": "#/paths/~1api~1v2~1b2b-payments~1buyers/post/responses/500"
          }
        }
      }
    },
    "/api/v2/b2b-payments/payment-requests/list": {
      "get": {
        "tags": [
          "Payment Request"
        ],
        "operationId": "get-payment-requests-v2",
        "summary": "Get Payment Requests",
        "description": "Returns a list of payment requests. Cursor-based pagination is supported and you can make use of filter parameters to change sorting or limit the results to only payment requests with certain status.\n",
        "parameters": [
          {
            "name": "from",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Creation date of the first payment request to be included in the results.",
              "example": "2022-01-01"
            }
          },
          {
            "name": "to",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Creation date of the last payment request to be included in the results.",
              "example": "2022-01-31"
            }
          },
          {
            "name": "status",
            "in": "query",
            "required": false,
            "schema": {
              "type": "array",
              "description": "List of payment request status. Providing one or more status only includes payment requests that have one of the provided status.\n",
              "items": {
                "type": "string",
                "enum": [
                  "PENDING",
                  "PROCESSING",
                  "PENDING_REPAYMENT",
                  "CANCELLED",
                  "CLOSED",
                  "DEFAULT"
                ]
              }
            }
          },
          {
            "name": "sort_by",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Sorting of the results.",
              "type": "string",
              "enum": [
                "CREATED_ASC",
                "CREATED_DESC"
              ]
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "description": "A cursor used for pagination.",
              "example": "cGktMTIzNDV8MjAyMi0wNC0yOFQwNjowOToxNyswMDowMAo=",
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "description": "Limits the amount of results per page.",
              "example": 20,
              "type": "integer",
              "format": "int32",
              "default": 100,
              "minimum": 1,
              "maximum": 100
            }
          }
        ],
        "responses": {
          "200": {
            "description": "A result set containing payment requests.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "metadata": {
                      "type": "object",
                      "properties": {
                        "next_cursor": {
                          "type": "string",
                          "description": "A cursor pointing to the beginning of the next page.",
                          "example": "TkVYVHxmMzA1ZjBlNi00YzM2LTQwZmEtOTI5YS0yZjJiODJlYjU2ZjR8MjAyMi0xMC0yOFQxMDoxMDoyOS4zMTkzMDlafA"
                        },
                        "previous_cursor": {
                          "type": "string",
                          "description": "A cursor pointing to the beginning of the previous page.",
                          "example": "UFJFVklPVVN8ZjhjODRmYzctZDIyMS00NzYxLThlMTktN2QxYTM5ZTIyZDgxfDIwMjItMTEtMDJUMTM6NTE6MTkuMzI3MTk1Wnw"
                        }
                      }
                    },
                    "data": {
                      "description": "List of payment requests.",
                      "type": "array",
                      "items": {
                        "$ref": "#/paths/~1api~1v2~1b2b-payments~1payment-requests/post/responses/200/content/application~1json/schema"
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/paths/~1api~1v2~1b2b-payments~1buyers/post/responses/401"
          },
          "500": {
            "$ref": "#/paths/~1api~1v2~1b2b-payments~1buyers/post/responses/500"
          }
        }
      }
    },
    "/api/v2/b2b-payments/payment-requests/{id}": {
      "get": {
        "tags": [
          "Payment Request"
        ],
        "operationId": "get-payment-request-v2",
        "summary": "Get Payment Request",
        "description": "For getting a certain payment request's details, you'll only need the payment request's ID specified on creation.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The payment request.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/paths/~1api~1v2~1b2b-payments~1payment-requests/post/responses/200/content/application~1json/schema"
                }
              }
            }
          },
          "401": {
            "$ref": "#/paths/~1api~1v2~1b2b-payments~1buyers/post/responses/401"
          },
          "500": {
            "$ref": "#/paths/~1api~1v2~1b2b-payments~1buyers/post/responses/500"
          }
        }
      }
    },
    "/api/v2/b2b-payments/payment-requests/{id}/payouts": {
      "post": {
        "tags": [
          "Payment Request"
        ],
        "operationId": "create-payment-request-payout",
        "summary": "Create Payout",
        "description": "The payout payment request endpoint triggers a payment to the seller associated with the loan  initially reserved during the creation of the payment request.  As soon as a payout is created, the payment is processed immediately through finmid.\nAfter a payout is created, the payment request status will change to PROCESSING if the payment request amount  is only partially paid. Once the max payout amount is fully paid out,  the status will then change to PENDING_REPAYMENT.\nTo create a payout for a certain payment request, you'll need four things:\n1. The payment request ID specified during creation.\n2. The Payout ID, a unique identifier within the payment request of your choice for this payout.\n3. The payout type, which can be PERCENTAGE, AMOUNT, or MAX.\n4. The payout value, which is related to the payout type and is only required for percentage and amount types. \nFor instance, if the payout type is percentage and the value is 50, then 50% of the payment request will be paid out.\nThe payout response body includes:\n\n  - Gross amount: This is the total amount of the payout relative to the payment request including fees.\n\n  - Net amount: This is the amount the seller actually receives, calculated as the gross amount minus fees.\n\n  - Status: This reflects the state of the seller's payment, with three possible statuses: `PENDING`, `PAID_OUT`, and `REJECTED`.\n",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "description": "Id of the payment request for which to create a payout."
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "oneOf": [
                  {
                    "required": [
                      "id",
                      "value",
                      "payout_type"
                    ],
                    "properties": {
                      "id": {
                        "$ref": "#/paths/~1api~1v2~1b2b-payments~1payment-requests~1{id}~1cancel/put/parameters/0/schema/allOf/0",
                        "description": "Id given to the payout, must be unique within a payment request."
                      },
                      "payout_type": {
                        "type": "string",
                        "enum": [
                          "AMOUNT"
                        ]
                      },
                      "value": {
                        "allOf": [
                          {
                            "$ref": "#/paths/~1api~1v2~1b2b-payments~1payment-requests/post/requestBody/content/application~1json/schema/properties/total_amount/allOf/0"
                          }
                        ]
                      }
                    }
                  },
                  {
                    "required": [
                      "id",
                      "payout_type",
                      "value"
                    ],
                    "properties": {
                      "id": {
                        "$ref": "#/paths/~1api~1v2~1b2b-payments~1payment-requests~1{id}~1cancel/put/parameters/0/schema/allOf/0",
                        "description": "Id given to the payout, must be unique within a payment request."
                      },
                      "payout_type": {
                        "type": "string",
                        "enum": [
                          "PERCENTAGE"
                        ]
                      },
                      "value": {
                        "$ref": "#/paths/~1api~1v2~1b2b-payments~1payment-requests/post/responses/200/content/application~1json/schema/properties/financing_portion/allOf/0/properties/portion/allOf/0",
                        "description": "The percentage to payout (between 0 and 1), as expressed relative to the total payment request amount."
                      }
                    }
                  },
                  {
                    "required": [
                      "id",
                      "payout_type"
                    ],
                    "properties": {
                      "id": {
                        "$ref": "#/paths/~1api~1v2~1b2b-payments~1payment-requests~1{id}~1cancel/put/parameters/0/schema/allOf/0",
                        "description": "Id given to the payout, must be unique within a payment request."
                      },
                      "payout_type": {
                        "type": "string",
                        "enum": [
                          "MAX"
                        ]
                      }
                    }
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The payout request has been successfully created.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "id",
                    "status",
                    "seller_id",
                    "gross_amount",
                    "net_amount",
                    "currency",
                    "creation_time"
                  ],
                  "properties": {
                    "id": {
                      "description": "ID of the payment request.",
                      "type": "string"
                    },
                    "status": {
                      "type": "string",
                      "enum": [
                        "PENDING",
                        "PAID_OUT",
                        "REJECTED"
                      ],
                      "description": "Current status of the payout."
                    },
                    "seller_id": {
                      "allOf": [
                        {
                          "$ref": "#/paths/~1api~1v2~1b2b-payments~1payment-requests~1{id}~1cancel/put/parameters/0/schema/allOf/0"
                        },
                        {
                          "description": "ID of the seller.",
                          "example": "seller-321"
                        }
                      ]
                    },
                    "gross_amount": {
                      "allOf": [
                        {
                          "$ref": "#/paths/~1api~1v2~1b2b-payments~1payment-requests/post/requestBody/content/application~1json/schema/properties/total_amount/allOf/0"
                        },
                        {
                          "description": "Gross amount of the payout.",
                          "example": 1000
                        }
                      ]
                    },
                    "net_amount": {
                      "allOf": [
                        {
                          "$ref": "#/paths/~1api~1v2~1b2b-payments~1payment-requests/post/requestBody/content/application~1json/schema/properties/total_amount/allOf/0"
                        },
                        {
                          "description": "Net amount of the payout (Gross minus any fees charged on the payout).",
                          "example": 990
                        }
                      ]
                    },
                    "currency": {
                      "allOf": [
                        {
                          "$ref": "#/paths/~1api~1v2~1b2b-payments~1buyers~1{id}~1payment-limit/get/parameters/1/schema/allOf/0"
                        },
                        {
                          "description": "Three-letter currency code (ISO 4217)."
                        }
                      ]
                    },
                    "creation_time": {
                      "allOf": [
                        {
                          "$ref": "#/paths/~1api~1v2~1b2b-payments~1reports~1settlement/get/responses/200/content/application~1json/schema/properties/created_at/allOf/0"
                        },
                        {
                          "description": "Creation time of the payout (ISO 8601 datetime)."
                        }
                      ]
                    },
                    "booking_time": {
                      "allOf": [
                        {
                          "$ref": "#/paths/~1api~1v2~1b2b-payments~1reports~1settlement/get/responses/200/content/application~1json/schema/properties/created_at/allOf/0"
                        },
                        {
                          "description": "Booking time of the payout (ISO 8601 datetime)."
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/paths/~1api~1v2~1b2b-payments~1buyers/post/responses/401"
          },
          "500": {
            "$ref": "#/paths/~1api~1v2~1b2b-payments~1buyers/post/responses/500"
          }
        }
      }
    },
    "/api/v2/b2b-payments/reports/settlement": {
      "get": {
        "tags": [
          "Beta Endpoints"
        ],
        "operationId": "get-settlement-report",
        "summary": "Seller Settlements Report",
        "description": "Returns a list of payouts made to sellers within a given date range. A payout corresponds to actual money being  transferred to the seller’s account as a consequence of a Payment Request (Line Item) being captured.\n",
        "parameters": [
          {
            "name": "from",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Payout date of the first payout to be included in the results.",
              "example": "2023-01-01"
            }
          },
          {
            "name": "to",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Payout date of the last payout.",
              "example": "2023-01-31"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Returns metadata regarding report creation, and a list of payouts to sellers.",
            "content": {
              "application/json": {
                "schema": {
                  "required": [
                    "created_at",
                    "data",
                    "from_date",
                    "to_date"
                  ],
                  "type": "object",
                  "properties": {
                    "created_at": {
                      "allOf": [
                        {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:[1-9]\\d{3}-(?:(?:0[1-9]|1[0-2])-(?:0[1-9]|1\\d|2[0-8])|(?:0[13-9]|1[0-2])-(?:29|30)|(?:0[13578]|1[02])-31)|(?:[1-9]\\d(?:0[48]|[2468][048]|[13579][26])|(?:[2468][048]|[13579][26])00)-02-29)T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d{1,9})?(?:Z|[+-][01]\\d:[0-5]\\d)$"
                        },
                        {
                          "description": "Timestamp at which the report was generated."
                        }
                      ]
                    },
                    "from_date": {
                      "allOf": [
                        {
                          "$ref": "#/paths/~1api~1v2~1b2b-payments~1reports~1settlement/get/responses/200/content/application~1json/schema/properties/to_date/allOf/0"
                        }
                      ]
                    },
                    "to_date": {
                      "allOf": [
                        {
                          "type": "string",
                          "format": "date",
                          "pattern": "^[0-9]{4}-[0-9][2]-[0-9][2]$"
                        }
                      ]
                    },
                    "data": {
                      "type": "array",
                      "description": "List of individual payouts made to sellers within the given date range.",
                      "items": {
                        "required": [
                          "capture_date",
                          "currency",
                          "line_item_id",
                          "original_amount",
                          "payment_request_id",
                          "payment_reference",
                          "payout_amount",
                          "payout_date",
                          "seller_fee_amount",
                          "seller_id",
                          "total_paid_amount",
                          "remainder_amount"
                        ],
                        "type": "object",
                        "properties": {
                          "capture_date": {
                            "allOf": [
                              {
                                "$ref": "#/paths/~1api~1v2~1b2b-payments~1reports~1settlement/get/responses/200/content/application~1json/schema/properties/to_date/allOf/0"
                              },
                              {
                                "description": "Date the line item was captured by the platform."
                              }
                            ]
                          },
                          "payout_date": {
                            "allOf": [
                              {
                                "$ref": "#/paths/~1api~1v2~1b2b-payments~1reports~1settlement/get/responses/200/content/application~1json/schema/properties/to_date/allOf/0"
                              },
                              {
                                "description": "Date the captured amount was paid out to the seller."
                              }
                            ]
                          },
                          "payment_reference": {
                            "type": "string",
                            "description": "Payment reference included in the bank transaction to the seller."
                          },
                          "payment_request_id": {
                            "type": "string",
                            "description": "ID of the payment request"
                          },
                          "seller_id": {
                            "type": "string",
                            "description": "ID of the seller associated with the payout."
                          },
                          "line_item_id": {
                            "type": "string"
                          },
                          "original_amount": {
                            "allOf": [
                              {
                                "$ref": "#/paths/~1api~1v2~1b2b-payments~1payment-requests/post/requestBody/content/application~1json/schema/properties/total_amount/allOf/0"
                              },
                              {
                                "description": "Total amount of the transaction.",
                                "example": 1000
                              }
                            ]
                          },
                          "seller_fee_amount": {
                            "allOf": [
                              {
                                "$ref": "#/paths/~1api~1v2~1b2b-payments~1payment-requests/post/requestBody/content/application~1json/schema/properties/total_amount/allOf/0"
                              },
                              {
                                "description": "Fee charged to seller.",
                                "example": 10
                              }
                            ]
                          },
                          "payout_amount": {
                            "allOf": [
                              {
                                "$ref": "#/paths/~1api~1v2~1b2b-payments~1payment-requests/post/requestBody/content/application~1json/schema/properties/total_amount/allOf/0"
                              },
                              {
                                "description": "Net amount (original_amount - fee) paid out to seller.",
                                "example": 990
                              }
                            ]
                          },
                          "currency": {
                            "allOf": [
                              {
                                "$ref": "#/paths/~1api~1v2~1b2b-payments~1buyers~1{id}~1payment-limit/get/parameters/1/schema/allOf/0"
                              },
                              {
                                "description": "Three-letter currency code (ISO 4217)."
                              }
                            ]
                          },
                          "total_paid_amount": {
                            "allOf": [
                              {
                                "$ref": "#/paths/~1api~1v2~1b2b-payments~1payment-requests/post/requestBody/content/application~1json/schema/properties/total_amount/allOf/0"
                              },
                              {
                                "description": "Amount already paid out to seller.",
                                "example": 10
                              }
                            ]
                          },
                          "remainder_amount": {
                            "allOf": [
                              {
                                "$ref": "#/paths/~1api~1v2~1b2b-payments~1payment-requests/post/requestBody/content/application~1json/schema/properties/total_amount/allOf/0"
                              },
                              {
                                "description": "Amount remaining to be paid out.",
                                "example": 10
                              }
                            ]
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/paths/~1api~1v2~1b2b-payments~1buyers/post/responses/401"
          },
          "500": {
            "$ref": "#/paths/~1api~1v2~1b2b-payments~1buyers/post/responses/500"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "apiKeyScheme": {
        "type": "apiKey",
        "in": "header",
        "name": "X-API-KEY"
      }
    }
  }
}
```