---
title: Return request
slug: crossriver-apis/payments/instant-payments/apis/return-request
description: Initiate a return request via POST /rtp/v1/payments/{id}/return-request for outgoing payments that have already been sent.
icon: {"apiMethod":"POST"}
createdAt: 2026-09-29T15:33:35.546Z
---

## Relevant webhooks

For this endpoint be sure you have [registered](https://public.qa.archbee.co/crossriver-apis/webhooks/cos-webhooks) for this webhook:

- `Rtp.Payment.Canceled`

## API reference

Used to initiate return requests for outgoing payments that has already been sent. This enables partners to request the reversal of a previously completed outbound RTP transaction.

:::hint{type="warning"}
This endpoint is strictly used to initiate return requests for outbound RTP payments. This action can also be done via return request in COS Explorer
:::

:::ApiMethodV2
```json
{
  "name": "Endpoint: /rtp/v1/payments/{id}/return-request",
  "method": "POST",
  "url": "https://sandbox.crbcos.com/rtp/v1/payments/{id}/return-request",
  "description": "",
  "tab": "examples",
  "examples": {
    "languages": [
      {
        "id": "tiU4cYZv2OBskCr5TaQ-D",
        "language": "curl",
        "code": "curl -L 'https://sandbox.crbcos.com/rtp/v1/payments/61c194b3-6405-4b7f-bd81-b30c00e05637/return-request' ^\n-H 'Content-Type: application/json' ^\n-H 'Authorization: Bearer token' ^\n-d '{\n    \"reasonCode\": \"CUST\",\n    \"additionalInfo\": \"Some additional information\"\n}'",
        "customLabel": ""
      },
      {
        "id": "2YWx4qreq-R5gXud3QE83",
        "language": "nodejs",
        "code": "var request = require('request');\nvar options = {\n  'method': 'POST',\n  'url': 'https://sandbox.crbcos.com/rtp/v1/payments/61c194b3-6405-4b7f-bd81-b30c00e05637/return-request',\n  'headers': {\n    'Content-Type': 'application/json',\n    'Authorization': 'Bearer token'\n  },\n  body: JSON.stringify({\n    \"reasonCode\": \"CUST\",\n    \"additionalInfo\": \"Some additional information\"\n  })\n\n};\nrequest(options, function (error, response) {\n  if (error) throw new Error(error);\n  console.log(response.body);\n});\n",
        "customLabel": ""
      },
      {
        "id": "YOHQfOuM8rgbNoWxp-x0u",
        "language": "python",
        "code": "import requests\nimport json\n\nurl = \"https://sandbox.crbcos.com/rtp/v1/payments/61c194b3-6405-4b7f-bd81-b30c00e05637/return-request\"\n\npayload = json.dumps({\n  \"reasonCode\": \"CUST\",\n  \"additionalInfo\": \"Some additional information\"\n})\nheaders = {\n  'Content-Type': 'application/json',\n  'Authorization': 'Bearer token'\n}\n\nresponse = requests.request(\"POST\", url, headers=headers, data=payload)\n\nprint(response.text)\n",
        "customLabel": ""
      },
      {
        "id": "PO3dR-zN2juLY7vnhKT_l",
        "language": "ruby",
        "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://sandbox.crbcos.com/rtp/v1/payments/61c194b3-6405-4b7f-bd81-b30c00e05637/return-request\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Post.new(url)\nrequest[\"Content-Type\"] = \"application/json\"\nrequest[\"Authorization\"] = \"Bearer token\"\nrequest.body = JSON.dump({\n  \"reasonCode\": \"CUST\",\n  \"additionalInfo\": \"Some additional information\"\n})\n\nresponse = https.request(request)\nputs response.read_body\n",
        "customLabel": ""
      },
      {
        "id": "PuudTHa7YBQRHtGMWLBRm",
        "language": "go",
        "code": "package main\n\nimport (\n  \"fmt\"\n  \"strings\"\n  \"net/http\"\n  \"io\"\n)\n\nfunc main() {\n\n  url := \"https://sandbox.crbcos.com/rtp/v1/payments/61c194b3-6405-4b7f-bd81-b30c00e05637/return-request\"\n  method := \"POST\"\n\n  payload := strings.NewReader(`{`+\"\n\"+`\n    \"reasonCode\": \"CUST\",`+\"\n\"+`\n    \"additionalInfo\": \"Some additional information\"`+\"\n\"+`\n}`)\n\n  client := &http.Client {\n  }\n  req, err := http.NewRequest(method, url, payload)\n\n  if err != nil {\n    fmt.Println(err)\n    return\n  }\n  req.Header.Add(\"Content-Type\", \"application/json\")\n  req.Header.Add(\"Authorization\", \"Bearer token\")\n\n  res, err := client.Do(req)\n  if err != nil {\n    fmt.Println(err)\n    return\n  }\n  defer res.Body.Close()\n\n  body, err := io.ReadAll(res.Body)\n  if err != nil {\n    fmt.Println(err)\n    return\n  }\n  fmt.Println(string(body))\n}",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "tiU4cYZv2OBskCr5TaQ-D"
  },
  "results": {
    "languages": [
      {
        "id": "ZA7E-VGG1EUptPxfRE3CS",
        "language": "200",
        "customLabel": "",
        "code": "{\n    \"id\": \"de707840-1316-4196-95ed-b30d0049a188\",\n    \"originalPaymentId\": \"61c194b3-6405-4b7f-bd81-b30c00e05637\",\n    \"referenceId\": \"R182O803L813T\",\n    \"accountNumber\": \"2955057589\",\n    \"amount\": 1500,\n    \"direction\": \"Outbound\",\n    \"status\": \"Created\",\n    \"paymentType\": \"ReturnRequest\",\n    \"source\": \"Api\",\n    \"transactionAccountContext\": \"NotSubmitted\",\n    \"debtor\": {\n        \"routingNumber\": \"021214891\",\n        \"accountNumber\": \"2955057589\",\n        \"name\": \"Dim Mak\",\n        \"addressStreetName\": \"400 Kelby St\",\n        \"addressCity\": \"Fort Lee\",\n        \"addressState\": \"NJ\",\n        \"addressPostalCode\": \"07024\",\n        \"addressCountry\": \"US\"\n    },\n    \"creditor\": {\n        \"routingNumber\": \"011000138\",\n        \"accountNumber\": \"456789000\",\n        \"name\": \"Richard Robert\",\n        \"addressStreetName\": \"Speedway Blvd\",\n        \"addressBuildingNumber\": \"3366\",\n        \"addressCity\": \"Talladega\",\n        \"addressState\": \"AL\",\n        \"addressPostalCode\": \"35096\",\n        \"addressCountry\": \"US\"\n    },\n    \"network\": {\n        \"businessMessageId\": \"B20250701021214273T1BEWV89605560100\",\n        \"messageId\": \"M20250701021214273T1BWFL19275646504\",\n        \"createdAt\": \"2025-07-01T00:28:04.9336548-04:00\",\n        \"numberOfTransactions\": 0,\n        \"interbankSettlementAmount\": 0,\n        \"fromParticipantId\": \"021214273T1\",\n        \"toParticipantId\": \"990000001S1\",\n        \"headerCreationDate\": \"2025-07-01T00:28:04.9336548-04:00\",\n        \"messageCreationDateTime\": \"2025-07-01T00:28:04.9336548-04:00\"\n    },\n    \"assignment\": {\n        \"id\": \"M20250701021214273T1BWFL19275646504\",\n        \"creationDateTime\": \"2025-07-01T00:28:04.9336548-04:00\",\n        \"assignerRoutingNumber\": \"021214891\",\n        \"assigneeRoutingNumber\": \"011000138\"\n    },\n    \"originalMsgRefs\": {\n        \"messageId\": \"M20250630021214273T1BNJI93346360148\",\n        \"messageNameId\": \"pacs.008.001.08\",\n        \"creationDateTime\": \"2025-06-30T09:36:47.363-04:00\",\n        \"instructionId\": \"20250630021214273T1B63Q320658132607\",\n        \"endToEndId\": \"dfb79756a12a4c29a356b30c00e05637\",\n        \"transactionId\": \"20250630021214273T1B63Q320658132607\",\n        \"clearingSystemRef\": \"001\",\n        \"interbankSettlementAmount\": 1500,\n        \"currency\": \"USD\",\n        \"interbankSettlementDate\": \"2025-06-30\"\n    },\n    \"case\": {\n        \"id\": \"M20250701021214273T1BWFL19275646504\",\n        \"creatorRoutingNumber\": \"021214891\",\n        \"originatorName\": \"Dim Mak\",\n        \"originatorRoutingNumber\": \"021214891\"\n    },\n    \"transactionInfo\": {\n        \"reasonCode\": \"CUST\",\n        \"additionalInfo\": \"Some additional information\"\n    },\n    \"currency\": \"USD\",\n    \"purpose\": \"Return Request\",\n    \"wasRefunded\": false,\n    \"wasPaid\": false,\n    \"createdAt\": \"2025-07-01T00:28:04.9336548-04:00\",\n    \"canceledAt\": \"2025-07-01T00:28:04.9336548-04:00\",\n    \"productId\": \"29f3022a-ccfc-42eb-aa8f-b29500f13d00\",\n    \"partnerId\": \"1101a33d-fbd9-4b9e-b169-b29500f12407\",\n    \"lastModifiedAt\": \"2025-07-01T00:28:04.9492928-04:00\",\n    \"sendAttemptCount\": 0,\n    \"discounts\": [],\n    \"awaitingResponse\": true,\n    \"referencedPaymentId\": \"61c194b3-6405-4b7f-bd81-b30c00e05637\",\n    \"networkPlatform\": \"TCH\"\n}"
      },
      {
        "id": "on1Q4ouoLk2zFiLK12wlc",
        "language": "400",
        "code": "{\n  \"errors\": [\n    {\n      \"code\": 2059,\n      \"message\": \"Original payment already returned\"\n    }\n  ]\n}\n",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "ZA7E-VGG1EUptPxfRE3CS"
  },
  "request": {
    "pathParameters": [
      {
        "name": "id",
        "kind": "required",
        "type": "string",
        "description": "ID of the payment for which the return is being requested."
      }
    ],
    "queryParameters": [],
    "headerParameters": [],
    "bodyDataParameters": [
      {
        "name": "reasonCode",
        "kind": "required",
        "type": "string",
        "description": "A code that indicates why the return is being requested. Refer to the list of reason codes for more details.\n"
      },
      {
        "name": "additionalInfo",
        "kind": "optional",
        "type": "string",
        "description": "Provides supplementary details regarding the request. Maximum 105 characters."
      }
    ],
    "formDataParameters": []
  },
  "currentNewParameter": {
    "label": "Body Parameter",
    "value": "bodyDataParameters"
  },
  "response": [
    {
      "name": "id",
      "kind": "optional",
      "type": "string",
      "description": "Unique identifier for the newly created return request"
    },
    {
      "name": "originalPaymentId",
      "kind": "optional",
      "type": "string",
      "description": "The ID of the outbound payment for which the return is being requested.",
      "children": []
    },
    {
      "name": "referenceId",
      "kind": "optional",
      "type": "string",
      "description": "This unique Cross River reference ID starts with the first letter of the payment rail. For Instant Payments, the ID begins with R to reflect the RTP API module.",
      "children": []
    },
    {
      "name": "accountNumber",
      "kind": "optional",
      "type": "string",
      "description": "Account at Cross River that originally funded the outbound payment.",
      "children": []
    },
    {
      "name": "amount",
      "kind": "optional",
      "type": "Integer",
      "description": "Dollar amount of return request in positive integral cents. For example, write $1.00 as 100.",
      "children": []
    },
    {
      "name": "direction",
      "kind": "optional",
      "type": "string",
      "description": "Outbound for an outbound return request or Inbound for an inbound return request",
      "children": []
    },
    {
      "name": "status",
      "kind": "optional",
      "type": "string",
      "description": "Transaction status:\n\n-Created\n-Pending\n-Processing\n-Completed\n-Rejected\n-Canceled\n-Hold\n-TimedOut\n-Finalizing\n-Failed\n-ResearchRequired\n-Expired\n-Authorized",
      "children": []
    },
    {
      "name": "paymentType",
      "kind": "optional",
      "type": "string",
      "description": "Type of payment indicating how the transaction is funded:\n\n-RequestForPayment",
      "children": []
    },
    {
      "name": "source",
      "kind": "optional",
      "type": "string",
      "description": "The source of the activity: Api",
      "children": []
    },
    {
      "name": "transactionAccountContext",
      "kind": "optional",
      "type": "string",
      "description": "Transaction account context:\n\n-NotSubmitted\n-Pending\n-Processing\n-Complete\n-Reversal\n-MemoPost\n-TimedOut\n-Canceled\n-Rejected\n-AuthOnly\n-NotSet",
      "children": []
    },
    {
      "name": "debtor",
      "kind": "optional",
      "type": "Object",
      "description": "Debtor business/individual information. – The recipient of the RfP who will initiate the credit transfer upon authorization. Depending on the configuration, this information may be populated automatically.",
      "children": [
        {
          "name": "routingNumber",
          "kind": "optional",
          "type": "string",
          "description": "9-digit routing number of the sending financial institution"
        },
        {
          "name": "accountNumber",
          "kind": "optional",
          "type": "string",
          "description": "Account number. In CR, depending on the account type, the number of digits will vary. The first digit indicates the kind of account."
        },
        {
          "name": "name",
          "kind": "optional",
          "type": "string",
          "description": "Name of entity"
        },
        {
          "name": "birthCity",
          "kind": "optional",
          "type": "string",
          "description": "Debtor birth city"
        },
        {
          "name": "birthCountry",
          "kind": "optional",
          "type": "string",
          "description": "Debtor birth country. 2-letter country code."
        },
        {
          "name": "birthDate",
          "kind": "optional",
          "type": "string",
          "description": "Debtor birth date. Formatted as yyyy-mm-dd."
        },
        {
          "name": "orgLegalEntityId",
          "kind": "optional",
          "type": "string",
          "description": "A unique global identifier for legal entities that are not consumers but are participating in financial transactions."
        },
        {
          "name": "proxyId",
          "kind": "optional",
          "type": "string",
          "description": "Identification used to represent the account under a different name or alias, such as a mobile number or email address."
        },
        {
          "name": "phoneNumber",
          "kind": "optional",
          "type": "string",
          "description": "10-digit phone number"
        },
        {
          "name": "addressStreetName",
          "kind": "optional",
          "type": "string",
          "description": "Street address name information"
        },
        {
          "name": "addressLine",
          "kind": "optional",
          "type": "string",
          "description": "Additional address information"
        },
        {
          "name": "addressBuildingNumber",
          "kind": "optional",
          "type": "string",
          "description": "Street address building number"
        },
        {
          "name": "addressCity",
          "kind": "optional",
          "type": "string",
          "description": "City full name"
        },
        {
          "name": "addressState",
          "kind": "optional",
          "type": "string",
          "description": "2-letter code for the state"
        },
        {
          "name": "addressPostalCode",
          "kind": "optional",
          "type": "string",
          "description": "Postal or ZIP code"
        },
        {
          "name": "addressCountry",
          "kind": "optional",
          "type": "string",
          "description": "2-letter country code"
        }
      ]
    },
    {
      "name": "ultimateDebtor",
      "kind": "optional",
      "type": "Object",
      "description": "Ultimate debtor business/individual information. The final party responsible for initiating the credit transfer upon authorization. This information may be populated automatically based on the configuration.",
      "children": [
        {
          "name": "name",
          "kind": "optional",
          "type": "string",
          "description": "Name of entity"
        },
        {
          "name": "privateId",
          "kind": "optional",
          "type": "string",
          "description": "Unique and unambiguous identification of a person, for example, a passport number"
        },
        {
          "name": "orgLegalEntityId",
          "kind": "optional",
          "type": "string",
          "description": "A unique global identifier for legal entities that are not consumers but are participating in financial transactions"
        },
        {
          "name": "addressStreetName",
          "kind": "optional",
          "type": "string",
          "description": "Street address name information"
        },
        {
          "name": "addressLine",
          "kind": "optional",
          "type": "string",
          "description": "Additional address information"
        },
        {
          "name": "addressBuildingNumber",
          "kind": "optional",
          "type": "string",
          "description": "Street address building number"
        },
        {
          "name": "addressCity",
          "kind": "optional",
          "type": "string",
          "description": "City full name"
        },
        {
          "name": "addressState",
          "kind": "optional",
          "type": "string",
          "description": "2-letter code for the state"
        },
        {
          "name": "addressPostalCode",
          "kind": "optional",
          "type": "string",
          "description": "Postal or ZIP code"
        },
        {
          "name": "addressCountry",
          "kind": "optional",
          "type": "string",
          "description": "2-letter country code"
        }
      ]
    },
    {
      "name": "creditor",
      "kind": "optional",
      "type": "Object",
      "description": "Creditor business/individual information. The recipient of the payment, typically the party at CRB initiating the RfP. Depending on the configuration, this information may be populated automatically.\n",
      "children": [
        {
          "name": "routingNumber",
          "kind": "optional",
          "type": "string",
          "description": "9-digit routing number of the receiving financial institution"
        },
        {
          "name": "accountNumber",
          "kind": "optional",
          "type": "string",
          "description": "Account number. In CR, depending on the account type, the number of digits will vary. The first digit indicates the kind of account."
        },
        {
          "name": "name",
          "kind": "optional",
          "type": "string",
          "description": "Name of entity"
        },
        {
          "name": "birthCity",
          "kind": "optional",
          "type": "string",
          "description": "Creditor birth city"
        },
        {
          "name": "birthCountry",
          "kind": "optional",
          "type": "string",
          "description": "Creditor birth country. 2-letter country code."
        },
        {
          "name": "birthDate",
          "kind": "optional",
          "type": "string",
          "description": "Creditor birth date. Formatted as yyyy-mm-dd."
        },
        {
          "name": "orgLegalEntityId",
          "kind": "optional",
          "type": "string",
          "description": "A unique global identifier for legal entities that are not consumers but are participating in financial transactions"
        },
        {
          "name": "proxyId",
          "kind": "optional",
          "type": "string",
          "description": "Identification used to represent the account under a different name or alias, such as a mobile number or email address"
        },
        {
          "name": "phoneNumber",
          "kind": "optional",
          "type": "string",
          "description": "10-digit phone number"
        },
        {
          "name": "addressStreetName",
          "kind": "optional",
          "type": "string",
          "description": "Street address name information"
        },
        {
          "name": "addressLine",
          "kind": "optional",
          "type": "string",
          "description": "Additional address information"
        },
        {
          "name": "addressBuildingNumber",
          "kind": "optional",
          "type": "string",
          "description": "Street address building number"
        },
        {
          "name": "addressCity",
          "kind": "optional",
          "type": "string",
          "description": "City full name"
        },
        {
          "name": "addressState",
          "kind": "optional",
          "type": "string",
          "description": "2-letter code for the state"
        },
        {
          "name": "addressPostalCode",
          "kind": "optional",
          "type": "string",
          "description": "Postal or ZIP code"
        },
        {
          "name": "addressCountry",
          "kind": "optional",
          "type": "string",
          "description": "2-letter country code"
        }
      ]
    },
    {
      "name": "ultimateCreditor",
      "kind": "optional",
      "type": "Object",
      "description": "Ultimate creditor business/individual information. The final recipient of the payment. Depending on the configuration, this information may be populated automatically.",
      "children": [
        {
          "name": "name",
          "kind": "optional",
          "type": "string",
          "description": "Name of entity"
        },
        {
          "name": "privateId",
          "kind": "optional",
          "type": "string",
          "description": "Unique and unambiguous identification of a person, for example, a passport number"
        },
        {
          "name": "orgLegalEntityId",
          "kind": "optional",
          "type": "string",
          "description": "A unique global identifier for legal entities that are not consumers but are participating in financial transactions"
        },
        {
          "name": "addressStreetNameadd",
          "kind": "optional",
          "type": "string",
          "description": "Street address name information"
        },
        {
          "name": "addressLine",
          "kind": "optional",
          "type": "string",
          "description": "Additional address information"
        },
        {
          "name": "addressBuildingNumber",
          "kind": "optional",
          "type": "string",
          "description": "Street address building number"
        },
        {
          "name": "addressCity",
          "kind": "optional",
          "type": "string",
          "description": "City full name"
        },
        {
          "name": "addressState",
          "kind": "optional",
          "type": "string",
          "description": "2-letter code for the state"
        },
        {
          "name": "addressPostalCode",
          "kind": "optional",
          "type": "string",
          "description": "Postal or ZIP code"
        },
        {
          "name": "addressCountry",
          "kind": "optional",
          "type": "string",
          "description": "2-letter country code"
        }
      ]
    },
    {
      "name": "network",
      "kind": "optional",
      "type": "Object",
      "description": "Network information",
      "children": [
        {
          "name": "businessMessageId",
          "kind": "optional",
          "type": "string",
          "description": "Unique identifier of the business message sent to the RTP network"
        },
        {
          "name": "messageId",
          "kind": "optional",
          "type": "string",
          "description": "Unique identifier of the message"
        },
        {
          "name": "createdAt",
          "kind": "optional",
          "type": "string",
          "description": "Indicates when the message was created, formatted as yyyy-mm-ddThh:mm:ss[.mmm]"
        },
        {
          "name": "numberOfTransactions",
          "kind": "optional",
          "type": "Integer",
          "description": "The total count of transactions"
        },
        {
          "name": "interbankSettlementAmount",
          "kind": "optional",
          "type": "Integer",
          "description": "The total amount the Debtor FI must pay to the Creditor FI once the Creditor FI accepts the payment instructed by the credit transfer message"
        },
        {
          "name": "fromParticipantId",
          "kind": "optional",
          "type": "string",
          "description": "RTP participant ID representing Cross River"
        },
        {
          "name": "toParticipantId",
          "kind": "optional",
          "type": "string",
          "description": "RTP participant ID of the receiving institution"
        },
        {
          "name": "instructingRoutingNumber",
          "kind": "optional",
          "type": "string",
          "description": "Sending bank routing number"
        },
        {
          "name": "instructedRoutingNumber",
          "kind": "optional",
          "type": "string",
          "description": "Receiving bank routing number"
        },
        {
          "name": "headerCreationDate",
          "kind": "optional",
          "type": "string",
          "description": "Internal to CR"
        },
        {
          "name": "messageCreationDateTime",
          "kind": "optional",
          "type": "string",
          "description": "The date and time when the payment request message was created, formatted as yyyy-mm-ddThh:mm:ss[.mmm]"
        }
      ]
    },
    {
      "name": "assignment",
      "kind": "optional",
      "type": "object",
      "description": "",
      "children": [
        {
          "name": "id",
          "kind": "optional",
          "type": "string",
          "description": "Unique identifier of the RTP assignment case"
        },
        {
          "name": "creationDateTime",
          "kind": "optional",
          "type": "string",
          "description": "The date and time the item was created, formatted as yyyy-mm-ddThh:mm:ss[.mmm]"
        },
        {
          "name": "assignerRoutingNumber",
          "kind": "optional",
          "type": "string",
          "description": "Routing number of the institution assigning the case"
        },
        {
          "name": "assigneeRoutingNumber",
          "kind": "optional",
          "type": "string",
          "description": "Routing number of the institution to whom the case is assigned"
        }
      ]
    },
    {
      "name": "originalMsgRefs",
      "kind": "optional",
      "type": "object",
      "description": "",
      "children": [
        {
          "name": "messageId",
          "kind": "optional",
          "type": "string",
          "description": "Message ID of the original payment instruction"
        },
        {
          "name": "messageNameId",
          "kind": "optional",
          "type": "string",
          "description": "ISO 20022 message name ID"
        },
        {
          "name": "creationDateTime",
          "kind": "optional",
          "type": "string",
          "description": "The date and time the original message was created, formatted as ddThh:mm:ss[.mmm]"
        },
        {
          "name": "instructionId",
          "kind": "optional",
          "type": "string",
          "description": "Original instruction ID sent in the outbound payment"
        },
        {
          "name": "endToEndId",
          "kind": "optional",
          "type": "string",
          "description": "End-to-end ID from the original outbound RTP"
        },
        {
          "name": "transactionId",
          "kind": "optional",
          "type": "string",
          "description": "Unique transaction ID from the original payment"
        },
        {
          "name": "clearingSystemRef",
          "kind": "optional",
          "type": "string",
          "description": "Identifies the reconciliation window in which the credit transfer was settled"
        },
        {
          "name": "interbankSettlementAmount",
          "kind": "optional",
          "type": "string",
          "description": "Original settlement amount in cents"
        },
        {
          "name": "currency",
          "kind": "optional",
          "type": "string",
          "description": "Currency of the original payment. Example: USD."
        },
        {
          "name": "interbankSettlementDate",
          "kind": "optional",
          "type": "string",
          "description": "Date of interbank settlement for the original payment."
        }
      ]
    },
    {
      "name": "case",
      "kind": "optional",
      "type": "object",
      "description": "Information about this case",
      "children": [
        {
          "name": "id",
          "kind": "optional",
          "type": "string",
          "description": "Unique identifier for the return case."
        },
        {
          "name": "creatorRoutineNumber",
          "kind": "optional",
          "type": "string",
          "description": "Routing number of the return request initiator (Cross River)."
        },
        {
          "name": "originatorName",
          "kind": "optional",
          "type": "string",
          "description": "Name of the party originating the return request."
        },
        {
          "name": "originatorRoutingNumber",
          "kind": "optional",
          "type": "string",
          "description": "Routing number of the originator."
        }
      ]
    },
    {
      "name": "transactionInfo",
      "kind": "optional",
      "type": "Object",
      "description": "Information about the transaction",
      "children": [
        {
          "name": "reasonCode",
          "kind": "optional",
          "type": "string",
          "description": "A code that specifies the reason a transaction did not complete. Refer to the list of reason codes for details."
        },
        {
          "name": "additionalInfo",
          "kind": "optional",
          "type": "string",
          "description": "Provides supplementary details regarding the status report"
        }
      ]
    },
    {
      "name": "currency",
      "kind": "optional",
      "type": "string",
      "description": "Currency in which the return is being processed. Example: USD.",
      "children": []
    },
    {
      "name": "purpose",
      "kind": "optional",
      "type": "string",
      "description": "Purpose or memo field associated with the return.",
      "children": []
    },
    {
      "name": "wasRefunded",
      "kind": "optional",
      "type": "Boolean",
      "description": "Indicates whether the payment was refunded. True if refunded, otherwise False.",
      "children": []
    },
    {
      "name": "wasPaid",
      "kind": "optional",
      "type": "Boolean",
      "description": "Indicates whether the payment was received. True if received, otherwise False.",
      "children": []
    },
    {
      "name": "createdAt",
      "kind": "optional",
      "type": "string",
      "description": "The date and time when the return request was created, formatted as yyyy-mm-ddThh:mm:ss[.mmm]",
      "children": []
    },
    {
      "name": "canceledAt",
      "kind": "optional",
      "type": "string",
      "description": "Timestamp if the return was canceled after initiation.",
      "children": []
    },
    {
      "name": "productId",
      "kind": "optional",
      "type": "string",
      "description": "The GUID representing the ID of your specific product type associated with the account. This is provided by CR and identifies the CR account involved in the transfer.",
      "children": []
    },
    {
      "name": "partnerId",
      "kind": "optional",
      "type": "string",
      "description": "Your unique ID in the Cross River system. This ID is in GUID format.",
      "children": []
    },
    {
      "name": "lastModifiedAt",
      "kind": "optional",
      "type": "string",
      "description": "Internal Cross River value. Date and time the database entry was last modified. In this case, the date and time are in this format: yyyy-mm-ddThh:mm:ss[.mmm]",
      "children": []
    },
    {
      "name": "sendAttemptCount",
      "kind": "optional",
      "type": "Integer",
      "description": "The total count of attempts to send the payment request",
      "children": []
    },
    {
      "name": "discounts",
      "kind": "optional",
      "type": "Object",
      "description": "Discounts array specifies applicable discounts for the request.",
      "children": [
        {
          "name": "type",
          "kind": "optional",
          "type": "string",
          "description": "The type of discount applied. \nPossible values include:\n- DSCT: A standard discount applied to the payment.\n- FULL: A full payment discount (for example, early payment incentive)"
        },
        {
          "name": "amount",
          "kind": "optional",
          "type": "Integer",
          "description": "Amount of discount in positive integral cents. For example, write $1.00 as 100."
        },
        {
          "name": "currency",
          "kind": "optional",
          "type": "string",
          "description": "Currency of the discount. For example USD."
        }
      ]
    },
    {
      "name": "awaitingResponse",
      "kind": "optional",
      "type": "Boolean",
      "description": "Indicates whether a message response is pending. True if waiting, otherwise False.\n",
      "children": []
    },
    {
      "name": "referencePaymentId",
      "kind": "optional",
      "type": "string",
      "description": "The original outbound payment ID this return references.",
      "children": []
    },
    {
      "name": "networkPlatform",
      "kind": "optional",
      "type": "string",
      "description": "The payment network platform used to process the payment. Possible values are: TCH (for RTP via The Clearing House)",
      "children": []
    }
  ],
  "hasTryItOut": false,
  "autoGeneratedAnchorSlug": "endpoint-rtpv1paymentsidreturn-request",
  "legacyHash": "4cMYEKYCRZYXTowV_a4Tv"
}
```
:::

