Chilkat Online Tools

PHP (Extension) / Razorpay APIs / Fetch Transfers for a Payment

Back to Collection Items

<?php

include("chilkat_9_5_0.php");

$http->put_BasicAuth(true);$http->put_Login('username');$http->put_Password('password');$success = $http->QuickGetSb('https://api.razorpay.com/v1/payments/{pay_id}/transfers',$sbResponseBody);
?>

Curl Command

curl -X GET
	-u 'username:password'
https://api.razorpay.com/v1/payments/{pay_id}/transfers

Postman Collection Item JSON

{
  "name": "Fetch Transfers for a Payment",
  "request": {
    "method": "GET",
    "header": [
    ],
    "url": {
      "raw": "https://api.razorpay.com/v1/payments/{pay_id}/transfers",
      "protocol": "https",
      "host": [
        "api",
        "razorpay",
        "com"
      ],
      "path": [
        "v1",
        "payments",
        "{pay_id}",
        "transfers"
      ]
    },
    "description": "Use this [API](https://razorpay.com/docs/api/route/#fetch-transfers-for-a-payment) to fetch the collection of all transfers created on a specific Payment ID."
  },
  "response": [
  ]
}