💻
Payouts Integration
  • Introduction
  • Functional overview
  • Onboarding
  • Postman Collection
  • Authentication
  • Authentication Token
    • API to Generate Token using username/password
    • API to Generate Token using private client id
  • Refresh Tokens
    • Refresh Token API
  • IP Check
  • API Integration
  • Testing Credentials
  • API Flow Diagram
  • Beneficiary Management
    • View Beneficiary Detail
    • Beneficiary Creation / Registration
  • Core Payouts API
    • Get Account Details API
    • Cancel Transfer API
    • Check Transfer Status API
    • Initiate/Schedule Transfer API
  • Verification
    • Verify Account / Penny Test
    • Validate Vpa
    • IFSC Details
  • smart send
    • Feature
    • Smart Send API
      • Cancel Smart Send
      • Smart Send Status
    • Smart Send V2 API
      • Create Smart Send Link
      • Smart Send Status
      • Cancel Smart Send
      • Extend Expiry Date
    • Bulk Smart Send
      • Bulk File Upload
      • Bulk Process File
    • Smart Send Error Codes
    • Fetch masked Vpas
  • Webhooks
    • What are Webhooks?
    • Default Webhooks
    • Creating Webhooks
    • Set Webhook API
    • Types of webhooks
  • Settings
    • Disable queued Payout
  • FAQ
Powered by GitBook
On this page
  • Request Headers
  • Request Body
  • Example

Was this helpful?

  1. smart send
  2. Smart Send V2 API

Create Smart Send Link

This Api creates the smart send link

PreviousSmart Send V2 APINextSmart Send Status

Last updated 3 years ago

Was this helpful?

https://test.payumoney.com/payout/v2/smartSend/link

Request Headers

Key

Description

Data Type

Mandatory

Possible Value

Authorization

Access token generated earlier.

String

Yes

Bearer {access_token}

pid

This is the merchant id provided while onboarding/creating payout account

String

Yes

Request Body

Key

Description

Data Type

Mandatory

Possible Value

expiryDate

Expiry Date of linl

By default - 7 days

Date

No

2021-07-24T18:18:10.000Z

custName

Beneficiary Name

String

Yes

"ABC"

custMobile

Beneficiary Mobile No.

String

No

9999999999

custEmail

Beneficiary Email

String

No

xyz@email.com

description

Purpose of Payout

String

Yes

Refund

merchantRefId

Merchant Reference Id

String

Yes

This should be unique for every link

amount

Amount of payout

Double

Yes

10

disableApprovalFlow

This flag disables approval flow for a particular payout transaction (valid if approval flow is set to OPTIONAL)

Boolean

No

false/true

Note: The API accepts the following date pattern:

yyyy-MM-dd'T'HH:mm:ss.000Z

Note: At least one out of mobile no/email is required for creating a smart send link.

Example

Content-Type : application/json

Method: POST

Curl:

curl --location --request POST 'https://oneapi.payu.in/payout/v2/smartSend/link' \
--header 'authorization: Bearer f596252f5ccfeb775071b1202a80328d40bf58cf0c468f150220d16dce9deeee' \
--header 'pid: 1111312' \
--header 'Content-Type: application/json' \
--data-raw '{
    "amount": "1",
    "merchantRefId": "TEST00020",
    "custName": "DIVIK",
    "custMobile": "9868888568",
    "description": "TEST",
    "expiryDate": "2021-07-23T10:00:49.778Z"
}'

Response:

{
	"status": 0,
	"msg": "Success",
	"code": null,
	"data": {
		"link": "https://test.payumoney.com/url/1IOrXuzqo5KH",
		"linkId": "D9tCcL3ICHYsby5Op1BXv9vETLDvfiExyXAC9jf/lQ2xTIIUAyREa2ZN3VbrMmFx",
		"expiryDate": "2021-07-21T12:19:04.882+0000"
	}
}
https://payout.payumoney.com/payout/v2/smartSend/link