> ## Documentation Index
> Fetch the complete documentation index at: https://doc.haipay.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Disbursement Application

<div class="flex flex-col gap-4">
  <div class="api-section-heading flex flex-col gap-y-4 w-full">
    <div class="flex items-baseline border-b pb-2.5 border-gray-100 dark:border-gray-800 w-full">
      <h4 class="api-section-heading-title flex-1 mb-0">Secret Key & Private Key (Generate Signature)</h4>
    </div>

    <div />
  </div>

  <input id="secret-key" placeholder="Secret Key" class="px-3 py-2 border rounded-md" />

  <input id="private-key" placeholder="Private Key" class="px-3 py-2 border rounded-md" />
</div>

## Related Topics

* [Pakistan API](/docs/en/api/version2/Pakistan)
* [HaiPay API Reference Overview](/docs/en/api-reference/overview)
* [HaiPay Configuration and Signature Guide](/docs/en/guide/config_settings_and_signature_rules_guide)


## OpenAPI

````yaml docs/en/api-reference/pkr/pkr.openapi.json POST /pkr/pay/apply
openapi: 3.0.1
info:
  title: 默认模块
  description: ''
  version: 1.0.0
servers:
  - url: https://uat-interface.haipay.asia
    description: 测试-interface
security: []
tags: []
paths:
  /pkr/pay/apply:
    post:
      tags: []
      summary: PKR Disbursement Application
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                appId:
                  type: integer
                  description: >-
                    Business ID (obtained from the backend, must pass the
                    corresponding business ID according to the currency in URL)
                orderId:
                  type: string
                  description: Merchant Order Number
                  maxLength: 48
                amount:
                  type: string
                  description: >-
                    Transaction Amount (accurate to two decimals; no punctuation
                    allowed, e.g., “,” is forbidden)
                  pattern: ^\d+\.\d{2}$
                accountType:
                  type: string
                  description: 'Account Type: EWALLET (E-wallet), BANK_ACCOUNT (Bank)'
                  enum:
                    - EWALLET
                    - BANK_ACCOUNT
                bankCode:
                  type: string
                  description: ''
                accountNo:
                  type: string
                  description: User’s bank account number or wallet account number
                name:
                  type: string
                  description: Recipient’s Name
                phone:
                  type: string
                  description: Real Mobile Number
                email:
                  type: string
                  description: Real Email
                  format: email
                notifyUrl:
                  type: string
                  description: Callback URL
                  format: uri
                subject:
                  type: string
                  description: >-
                    Payment Note (transaction title, product name, reason for
                    payment)
                body:
                  type: string
                  description: Note Details
                birth:
                  type: string
                  description: 'Date of Birth, format: yyyy-MM-dd'
                  pattern: ^\d{4}-\d{2}-\d{2}$
                gender:
                  type: string
                  description: 'Gender, allowed values: MALE, FEMALE, or OTHER'
                  enum:
                    - MALE
                    - FEMALE
                    - OTHER
                idCard:
                  type: string
                  description: ID card number
                partnerUserId:
                  type: string
                  description: >-
                    Unique user identifier (e.g., userId), used for risk control
                    system, must be valid, otherwise it will affect the
                    transaction. Format: digits, letters, or symbols
                    -~!@#$%&*()_.
                  pattern: ^[A-Za-z0-9\-~!@#$%&*()_]+$
                sign:
                  type: string
                  description: Signature
              required:
                - appId
                - orderId
                - amount
                - accountType
                - bankCode
                - accountNo
                - name
                - phone
                - email
                - subject
                - birth
                - gender
                - partnerUserId
                - sign
              additionalProperties: false
            examples: {}
        required: true
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    description: '1: Normal, 0: Exception'
                  error:
                    type: string
                    description: Error code
                  msg:
                    type: string
                    description: Error description
                  data:
                    type: object
                    description: ''
                    properties:
                      orderId:
                        type: string
                        description: Merchant Order Number (must be unique)
                      orderNo:
                        type: string
                        description: Platform Order Number
                      sign:
                        type: string
                        description: Signature
          headers: {}
      deprecated: false
      security: []

````