post https://uatoneapi.payu.in/payment-links/
This API is used to share the payment link in the given list of email IDs.
Environment
| Test Environment | <https://uatoneapi.payu.in/payment-links/\{id}/share> |
| Production Environment | <https://oneapi.payu.in/payment-links/\{id}/share> |
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
| Parameter | Description |
|---|---|
mid |
|
Authorization |
Bearer |
Path parameters
| Parameters | Description | Example |
|---|---|---|
Id |
|
INV8446471886220 |
Query parameters
Reference info for request parameters
| Parameter | Reference |
|---|---|
| channelList | String This parameter must contain all the emails & phone numbers to which the payment link needs to be shared. |
