Share Payment Link API

This API is used to share the payment link in the given list of email IDs.

Environment

πŸ“˜

Note:

The access token with the scope as read_payment_links is required on the header. For more information on getting the access token, refer to Get Token API - Payment Links.

Sample request
		curl --request POST \
     --url https://uatoneapi.payu.in/payment-links/ \
     --header 'authorization: Bearer fjsdkglfd09845084395' \
     --header 'content-type: text/plain' \
     --header 'merchantId: 5016764' \
     --data [email protected]							
Sample response
{
  "status": 0,
  "message": "string",
  "result": {},
  "errorCode": 170,
  "guid": "f529e375-739f-4c8a-b5f5-0e67fa3f533f"
}

Request headers

ParameterDescription
mid
mandatory
String This contains the merchant identifier.
Authorization
mandatory
Bearer String This contains the client_token. For getting a token, refer to Get Token API

Path parameters

ParametersDescriptionExample
Id
mandatory
String This parameter must contain the payment link invoice number.INV8446471886220

Query parameters

Reference info for request parameters
ParameterReference
channelListString This parameter must contain all the emails & phone numbers to which the payment link needs to be shared.
Language
Credentials
Bearer
Click Try It! to start a request and see the response here!