{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/nexpay-com-au/json-schema/nexpay-com-au-post-v2-payment-intents-request-schema.json",
  "title": "PostV2PaymentIntentsRequest",
  "x-generated": "2026-11-19",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/nexpay-com-au-openapi-generated.yml#/components/schemas/PostV2PaymentIntentsRequest",
  "type": "object",
  "properties": {
    "useCase": {
      "type": "string"
    },
    "deliveryMode": {
      "type": "string"
    },
    "amountMode": {
      "type": "string"
    },
    "payer": {
      "type": "object",
      "properties": {
        "role": {
          "type": "string"
        },
        "partyId": {
          "type": "string"
        }
      }
    },
    "subject": {
      "type": "object",
      "properties": {
        "role": {
          "type": "string"
        },
        "partyId": {
          "type": "string"
        }
      }
    },
    "recipients": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "role": {
            "type": "string"
          },
          "order": {
            "type": "integer"
          },
          "connectorPayeeId": {
            "type": "integer"
          },
          "splitRole": {
            "type": "string"
          },
          "purposeProofDocumentId": {
            "type": "string"
          },
          "amount": {
            "type": "object",
            "properties": {
              "payerAmount": {
                "type": "string"
              },
              "currency": {
                "type": "string"
              },
              "portionBps": {
                "type": "integer"
              }
            }
          }
        }
      }
    },
    "instructions": {
      "type": "object",
      "properties": {
        "manualPayment": {
          "type": "object",
          "properties": {
            "quoteId": {
              "type": "string"
            },
            "selectedQuoteVariantId": {
              "type": "string"
            },
            "purpose": {
              "type": "string"
            },
            "countryCode": {
              "type": "string"
            },
            "payerIdentityDocumentId": {
              "type": "string"
            },
            "quotePayoutOrderConfirmed": {
              "type": "boolean"
            }
          }
        }
      }
    },
    "termsAccepted": {
      "type": "boolean"
    }
  }
}