Fetch Transfers for a Settlement
GET
/v1/transfers?recipient_settlement_id=:id
Click to copy
Use this endpoint to retrieve the collection of all transfers made for a particular recipient_settlement_id
.
Is this page helpful?
1curl -X GET https://api.razorpay.com/v1/transfers?recipient_settlement_id=setl_HYIIk3H0J4PYdX \2-u [YOUR_KEY_ID]:[YOUR_KEY_SECRET] \
Success
Failure
1{2"entity": "collection",3"count": 1,4"items": [5{6"id": "trf_HWjmkReRGPhguR",7"entity": "transfer",8"status": "processed",9"source": "pay_HWjY9DZSMsbm5E",10"recipient": "acc_HWjl1kqobJzf4i",11"amount": 1000,12"currency": "INR",13"amount_reversed": 0,14"fees": 3,15"tax": 0,16"notes": [],17"linked_account_notes": [],18"on_hold": false,19"on_hold_until": null,20"settlement_status": "settled",21"recipient_settlement_id": "setl_HYIIk3H0J4PYdX",22"created_at": 1625812996,23"processed_at": 1625812996,24"error": {25"code": null,26"description": null,27"reason": null,28"field": null,29"step": null,30"id": "trf_HWjmkReRGPhguR",31"source": null,32"metadata": null33}34}35]36}
Query Parameters
recipient_settlement_id
*
string
Unique identifier of a settlement obtained from the settlement.processed
webhook payload.
Response Parameters
id
string
Unique identifier of the transfer.
entity
string
The name of the entity. Here, it is transfer
.
transfer_status
string
The status of the transfer. Possible values are:
created
pending
processed
failed
reversed
partially_reversed
settlement_status
string
The status of the settlement. Possible values are:
pending
on_hold
settled
source
string
Unique identifier of the transfer source. The source can be a payment
or an order
.
recipient
string
Unique identifier of the transfer destination, that is, the Linked Account.
amount
integer
The amount to be transferred to the Linked Account, in paise. For example, for an amount of ₹200.35, the value of this field should be 20035.
currency
string
ISO currency code. We support route transfers only in INR
.
amount_reversed
integer
Amount reversed from this transfer for refunds.
notes
json object
Set of key-value pairs that can be associated with an entity. These pairs can be useful for storing additional information about the entity. A maximum of 15 key-value pairs, each of 256 characters (maximum), are supported. For example, "region": "south", "city": "Bangalore"
.
error
string
Provides error details that may occur during transfers.
Show child parameters (7)
linked_account_notes
array
List of keys from the notes
object which needs to be shown to Linked Accounts on their Dashboard. For example, "region", "city"
. Only the keys will be shown, not values.
on_hold
boolean
Indicates whether the account settlement for transfer is on hold. Possible values:
1
: Puts the settlement on hold.0
: Releases the settlement.
on_hold_until
integer
Timestamp, in Unix format, indicates until when the settlement of the transfer must be put on hold. If no value is passed, the settlement is put on hold indefinitely.
recipient_settlement_id
string
Unique identifier of the settlement.
created_at
integer
Timestamp, in Unix, at which the record was created.
Errors
The api key/secret provided is invalid
Error Status: 4xx
This error occurs when there is a mismatch between the API credentials passed in the API call and the API credentials generated on the dashboard.
Solution
Fetch Transfers for a Settlement
GET
/v1/transfers?recipient_settlement_id=:id
Click to copy
Use this endpoint to retrieve the collection of all transfers made for a particular recipient_settlement_id
.
Is this page helpful?
Query Parameters
recipient_settlement_id
*
string
Unique identifier of a settlement obtained from the settlement.processed
webhook payload.
Response Parameters
id
string
Unique identifier of the transfer.
entity
string
The name of the entity. Here, it is transfer
.
transfer_status
string
The status of the transfer. Possible values are:
created
pending
processed
failed
reversed
partially_reversed
settlement_status
string
The status of the settlement. Possible values are:
pending
on_hold
settled
source
string
Unique identifier of the transfer source. The source can be a payment
or an order
.
recipient
string
Unique identifier of the transfer destination, that is, the Linked Account.
amount
integer
The amount to be transferred to the Linked Account, in paise. For example, for an amount of ₹200.35, the value of this field should be 20035.
currency
string
ISO currency code. We support route transfers only in INR
.
amount_reversed
integer
Amount reversed from this transfer for refunds.
notes
json object
Set of key-value pairs that can be associated with an entity. These pairs can be useful for storing additional information about the entity. A maximum of 15 key-value pairs, each of 256 characters (maximum), are supported. For example, "region": "south", "city": "Bangalore"
.
error
string
Provides error details that may occur during transfers.
Show child parameters (7)
linked_account_notes
array
List of keys from the notes
object which needs to be shown to Linked Accounts on their Dashboard. For example, "region", "city"
. Only the keys will be shown, not values.
on_hold
boolean
Indicates whether the account settlement for transfer is on hold. Possible values:
1
: Puts the settlement on hold.0
: Releases the settlement.
on_hold_until
integer
Timestamp, in Unix format, indicates until when the settlement of the transfer must be put on hold. If no value is passed, the settlement is put on hold indefinitely.
recipient_settlement_id
string
Unique identifier of the settlement.
created_at
integer
Timestamp, in Unix, at which the record was created.
Errors
The api key/secret provided is invalid
Error Status: 4xx
This error occurs when there is a mismatch between the API credentials passed in the API call and the API credentials generated on the dashboard.
Solution
1curl -X GET https://api.razorpay.com/v1/transfers?recipient_settlement_id=setl_HYIIk3H0J4PYdX \2-u [YOUR_KEY_ID]:[YOUR_KEY_SECRET] \
Success
Failure
1{2"entity": "collection",3"count": 1,4"items": [5{6"id": "trf_HWjmkReRGPhguR",7"entity": "transfer",8"status": "processed",9"source": "pay_HWjY9DZSMsbm5E",10"recipient": "acc_HWjl1kqobJzf4i",11"amount": 1000,12"currency": "INR",13"amount_reversed": 0,14"fees": 3,15"tax": 0,16"notes": [],17"linked_account_notes": [],18"on_hold": false,19"on_hold_until": null,20"settlement_status": "settled",21"recipient_settlement_id": "setl_HYIIk3H0J4PYdX",22"created_at": 1625812996,23"processed_at": 1625812996,24"error": {25"code": null,26"description": null,27"reason": null,28"field": null,29"step": null,30"id": "trf_HWjmkReRGPhguR",31"source": null,32"metadata": null33}34}35]36}