API Test Keys
Fetch a Payout Link With ID
GETv1/payout-links/:id?expand[l=payoutsClick to copy
Use this endpoint to retrieve the payout details of a Payout Link using its id.
Is this page helpful?
1curl -u [YOUR_KEY_ID]:[YOUR_KEY_SECRET] \2-X GET https://api.razorpay.com/v1/payout-links/poutlk_00000000000001?expand[l=payouts
Success
1{2"id": "poutlk_00000000000001",3"entity": "payout_link",4"contact_id": "cont_00000000000001",5"contact": {6"name": "Gaurav Kumar",7"contact": "912345678",8"email": "gaurav.kumar@example.com"9},10"fund_account_id": "fa_00000000000001",11"purpose": "refund",12"status": "processed",13"amount": 1000,14"currency": "INR",15"description": "Payout link for Gaurav Kumar",16"attempt_count": 1,17"receipt": "Receipt No. 1",18"notes": {19"notes_key_1":"Tea, Earl Grey, Hot",20"notes_key_2":"Tea, Earl Grey… decaf."21},22"short_url": "https://rzp.io/i/3b1Tw6",23"send_sms": true,24"send_email": true,25"cancelled_at": null,26"created_at": 1545383037,27"expire_by": 1545384058,28"expired_at": 154538465829}
Path Parameters
id *
string The unique identifier for the Payout Link. For example, poutlk_00000000000001.
Response Parameters
idstring The unique identifier of the Payout Link created. For example, poutlk_00000000000001.
entitystring The entity created. Here it will be payout_link.
contactobjectDetails of the contact to whom the Payout Link is to be sent.
Show child parameters (4)
purposestring The purpose of the payout. For example, refund, cashback or payout.
statusstringThe Payout Link status. Possible values:
pendingissuedprocessingprocessedcancelledrejected
Refer to the for more details.
amountinteger The amount, in paise, that was transferred from the business account to the contact's fund account.
The value passed here does not include fees and tax. Fees and tax, if any, would have been deducted from your account balance.
currencystring The currency in which the payout was made. Here, it is INR.
descriptionstring A user-entered description for the Payout Link. For example, Payout link for Gaurav Kumar.
short_urlstringA short link for the Payout Link that was created. This is the link that is shared with the contact.
created_atintegerTimestamp, in Unix, when the Payout Link was created.
contact_idstring The unique identifier of the contact to whom the Payout Link was sent to. For example, cont_00000000000001.
send_smsbooleanPossible values:
true: SMS sent to the provided contact number.false: SMS could not be sent to the provided contact number. This could be because the contact number provided was wrong.
send_emailbooleanPossible values:
true: Email sent to the provided email address.false: Email could not be sent to the provided email address. This could be because the email address provided was wrong.
fund_account_idstring The unique identifier of the contact's fund account to which the payout will be made. For example, fa_00000000000001.
Fund Account id is returned only when the Payout Link moves to the
payout_idstring The unique identifier for the payout made to the contact. For example, pout_00000000000001.
This value is returned only when the Payout Link moves to the
cancelled_atinteger Timestamp, in Unix, if the Payout Link was cancelled by you. This value is returned only when the Payout Link moves to the cancelled state.
attempt_countinteger The number of attempts to complete the payout. For example, 0.
receiptstring A user-entered receipt number for the payout. For example, Receipt No. 1.
notesobject User-entered notes for internal reference. This is a key-value pair. For example, "note_key": "Beam me up Scotty”.
expire_byinteger Timestamp, in Unix, when the Payout Link was to expire. This is set at the time of creation of the Payout Link and is set at least 15 minutes ahead of the current time.
This value is returned only if you have enabled the expiry feature for Payout Links. Know how to
expired_atintegerTimestamp, in Unix, when the Payout Link expired. This is set at the time of creation of the Payout Link.
Fetch a Payout Link With ID
GETv1/payout-links/:id?expand[l=payoutsClick to copy
Use this endpoint to retrieve the payout details of a Payout Link using its id.
Is this page helpful?
Path Parameters
id *
string The unique identifier for the Payout Link. For example, poutlk_00000000000001.
Response Parameters
idstring The unique identifier of the Payout Link created. For example, poutlk_00000000000001.
entitystring The entity created. Here it will be payout_link.
contactobjectDetails of the contact to whom the Payout Link is to be sent.
Show child parameters (4)
purposestring The purpose of the payout. For example, refund, cashback or payout.
statusstringThe Payout Link status. Possible values:
pendingissuedprocessingprocessedcancelledrejected
Refer to the for more details.
amountinteger The amount, in paise, that was transferred from the business account to the contact's fund account.
The value passed here does not include fees and tax. Fees and tax, if any, would have been deducted from your account balance.
currencystring The currency in which the payout was made. Here, it is INR.
descriptionstring A user-entered description for the Payout Link. For example, Payout link for Gaurav Kumar.
short_urlstringA short link for the Payout Link that was created. This is the link that is shared with the contact.
created_atintegerTimestamp, in Unix, when the Payout Link was created.
contact_idstring The unique identifier of the contact to whom the Payout Link was sent to. For example, cont_00000000000001.
send_smsbooleanPossible values:
true: SMS sent to the provided contact number.false: SMS could not be sent to the provided contact number. This could be because the contact number provided was wrong.
send_emailbooleanPossible values:
true: Email sent to the provided email address.false: Email could not be sent to the provided email address. This could be because the email address provided was wrong.
fund_account_idstring The unique identifier of the contact's fund account to which the payout will be made. For example, fa_00000000000001.
Fund Account id is returned only when the Payout Link moves to the
payout_idstring The unique identifier for the payout made to the contact. For example, pout_00000000000001.
This value is returned only when the Payout Link moves to the
cancelled_atinteger Timestamp, in Unix, if the Payout Link was cancelled by you. This value is returned only when the Payout Link moves to the cancelled state.
attempt_countinteger The number of attempts to complete the payout. For example, 0.
receiptstring A user-entered receipt number for the payout. For example, Receipt No. 1.
notesobject User-entered notes for internal reference. This is a key-value pair. For example, "note_key": "Beam me up Scotty”.
expire_byinteger Timestamp, in Unix, when the Payout Link was to expire. This is set at the time of creation of the Payout Link and is set at least 15 minutes ahead of the current time.
This value is returned only if you have enabled the expiry feature for Payout Links. Know how to
expired_atintegerTimestamp, in Unix, when the Payout Link expired. This is set at the time of creation of the Payout Link.
1curl -u [YOUR_KEY_ID]:[YOUR_KEY_SECRET] \2-X GET https://api.razorpay.com/v1/payout-links/poutlk_00000000000001?expand[l=payouts
Success
1{2"id": "poutlk_00000000000001",3"entity": "payout_link",4"contact_id": "cont_00000000000001",5"contact": {6"name": "Gaurav Kumar",7"contact": "912345678",8"email": "gaurav.kumar@example.com"9},10"fund_account_id": "fa_00000000000001",11"purpose": "refund",12"status": "processed",13"amount": 1000,14"currency": "INR",15"description": "Payout link for Gaurav Kumar",16"attempt_count": 1,17"receipt": "Receipt No. 1",18"notes": {19"notes_key_1":"Tea, Earl Grey, Hot",20"notes_key_2":"Tea, Earl Grey… decaf."21},22"short_url": "https://rzp.io/i/3b1Tw6",23"send_sms": true,24"send_email": true,25"cancelled_at": null,26"created_at": 1545383037,27"expire_by": 1545384058,28"expired_at": 154538465829}