1. API List
Lesspay2.0
  • LESSPAY2 API Reference
    • Get started
    • Authentication
    • Parameter Specifications
    • Pay In
      • Overview
      • Development Guidelines
      • Local Payment Methods (LPMs)
      • Error Codes
      • Card payment
        • Card Payment
        • 3D Secure (3DS) Configuration
        • Fraud & Dispute Webhook Notifications
      • API List
        • Create Payin
        • Fetch Payin
      • Webhook
        • Payin webhook
    • Pay Out
      • Overview
      • Development Guidelines
      • Multiple Transfer Methods
      • Error Codes
      • API List
        • Create Payout
          POST
        • Payout Supported Banks
          POST
        • Fetch Payout
          POST
      • Webhook
        • Payout webhook
  1. API List

Create Payout

Test Mode (Sandbox)-paymant
https://lesspay2-pay-uat.doopayment.com
Test Mode (Sandbox)-paymant
https://lesspay2-pay-uat.doopayment.com
POST
/api/global/payout/create-order
Create Payout
Create Payout Order. This lets you initiate a payout.

Request

Header Params

Body Params application/json

Example
{
    "request_id": "string",
    "amount": "string",
    "beneficiary": {
        "beneficiary_type": "string",
        "beneficiary_info": {
            "name": "string",
            "last_name": "string",
            "first_name": "string",
            "email": "user@example.com",
            "phone": {
                "calling_code": "strin",
                "number": "string"
            },
            "address": {
                "country": "st",
                "state": "string",
                "city": "string",
                "postal_code": "string",
                "line1": "string",
                "line2": "string"
            },
            "tax_id": "string",
            "date_of_birth": "string",
            "nationality": "string",
            "national_id": "string"
        },
        "destination": {
            "type": "string",
            "bank": {
                "account_type": "string",
                "country": "st",
                "bank_name": "string",
                "account_number": "string",
                "bank_province": "string",
                "bank_city": "string",
                "iban": "string",
                "bank_codes": {
                    "swift_code": "string",
                    "ifsc_code": "string",
                    "aba_code": "string",
                    "sort_code": "string",
                    "branch_code": "string",
                    "bsb_code": "string",
                    "bank_code": "string",
                    "cnaps": "string"
                },
                "purpose_code": "string",
                "branch_name": "string"
            },
            "crypto_wallet": {
                "wallet_address": "string",
                "network": "string"
            },
            "e_wallet": {
                "ewallet_provider": "string",
                "account_number": "string",
                "account_type": "string",
                "deposit_key": "string"
            }
        }
    },
    "purpose": "string",
    "currency": "string",
    "product_name": "string",
    "description": "string",
    "way_code": "string",
    "way_type": "string",
    "expired_time": 0,
    "notify_url": "string"
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://lesspay2-pay-uat.doopayment.com/api/global/payout/create-order' \
--header 'x-auth-signature;' \
--header 'x-auth-appid;' \
--header 'X-Auth-Timestamp;' \
--header 'Content-Type: application/json' \
--data-raw '{
    "request_id": "string",
    "amount": "string",
    "beneficiary": {
        "beneficiary_type": "string",
        "beneficiary_info": {
            "name": "string",
            "last_name": "string",
            "first_name": "string",
            "email": "user@example.com",
            "phone": {
                "calling_code": "strin",
                "number": "string"
            },
            "address": {
                "country": "st",
                "state": "string",
                "city": "string",
                "postal_code": "string",
                "line1": "string",
                "line2": "string"
            },
            "tax_id": "string",
            "date_of_birth": "string",
            "nationality": "string",
            "national_id": "string"
        },
        "destination": {
            "type": "string",
            "bank": {
                "account_type": "string",
                "country": "st",
                "bank_name": "string",
                "account_number": "string",
                "bank_province": "string",
                "bank_city": "string",
                "iban": "string",
                "bank_codes": {
                    "swift_code": "string",
                    "ifsc_code": "string",
                    "aba_code": "string",
                    "sort_code": "string",
                    "branch_code": "string",
                    "bsb_code": "string",
                    "bank_code": "string",
                    "cnaps": "string"
                },
                "purpose_code": "string",
                "branch_name": "string"
            },
            "crypto_wallet": {
                "wallet_address": "string",
                "network": "string"
            },
            "e_wallet": {
                "ewallet_provider": "string",
                "account_number": "string",
                "account_type": "string",
                "deposit_key": "string"
            }
        }
    },
    "purpose": "string",
    "currency": "string",
    "product_name": "string",
    "description": "string",
    "way_code": "string",
    "way_type": "string",
    "expired_time": 0,
    "notify_url": "string"
}'

Responses

🟢200
application/json
Body

Example
{
  "code": 0,
  "msg": "",
  "data": {
    "pay_order_id": "",
    "request_id": "",
    "order_status": "",
    "created_at": "",
    "total_count": 0,
    "total_amount_obj": {
      "amount": 0.0,
      "amountStr": "",
      "currencyCode": "",
      "currency": {
        "id": 0,
        "currencyName": "",
        "currencyCode": "",
        "decimalPlaces": 0,
        "currencyType": 0,
        "symbol": "",
        "isoCode": "",
        "state": false,
        "remark": "",
        "networks": [
          {
            "id": 0,
            "currencyCode": "",
            "network": "",
            "state": false,
            "remark": ""
          }
        ]
      }
    }
  },
  "encryptData": "",
  "sign": ""
}
Modified at 2026-04-09 03:34:00
Previous
Error Codes
Next
Payout Supported Banks
Built with