---
title: Simulate inbound origination
slug: crossriver-apis/payments/instant-payments/apis/simulations/payments-simulated-inbound-origination
description: Simulate receiving an RTP or FedNow credit transfer payment from another financial institution
icon: {"apiMethod":"POST"}
createdAt: 2026-09-29T15:33:39.971Z
---

## API reference

Simulate receiving an RTP or FedNow credit transfer payment from another financial institution

:::hint{type="info"}
This API can only be run in the Cross River [Sandbox](https://public.qa.archbee.co/crossriver/get-started/quickstart/sandbox)&#x20;
:::

:::ApiMethodV2
```json
{
  "name": "Endpoint: /rtp/payments/simulated-inbound-origination",
  "method": "POST",
  "url": "https://sandbox.crbcos.com/rtp/v1/payments/simulated-inbound-origination",
  "tab": "examples",
  "examples": {
    "languages": [
      {
        "id": "curl-example",
        "language": "curl",
        "code": "curl -X POST https://sandbox.crbcos.com/rtp/v1/payments/simulated-inbound-origination \\\\\n  -H \"Authorization: Bearer YOUR_ACCESS_TOKEN\" \\\\\n  -H \"Content-Type: application/json\" \\\\\n  -d '{\n  \"accountNumber\": \"1234567890\",\n  \"amount\": 150000,\n  \"debtor\": {},\n  \"remittanceData\": \"sample_value\",\n  \"remittanceReferredInfo\": []\n}'"
      },
      {
        "id": "nodejs-example",
        "language": "nodejs",
        "code": "const axios = require('axios');\n\nconst options = {\n  method: 'POST',\n  url: 'https://sandbox.crbcos.com/rtp/v1/payments/simulated-inbound-origination',\n  headers: {\n    'Authorization': 'Bearer YOUR_ACCESS_TOKEN',\n    'Content-Type': 'application/json',\n  },\n  data: {\n    \"accountNumber\": \"1234567890\",\n    \"amount\": 150000,\n    \"debtor\": {},\n    \"remittanceData\": \"sample_value\",\n    \"remittanceReferredInfo\": []\n}\n};\n\naxios(options)\n  .then(response => console.log(response.data))\n  .catch(error => console.error(error));"
      },
      {
        "id": "python-example",
        "language": "python",
        "code": "import requests\n\nurl = 'https://sandbox.crbcos.com/rtp/v1/payments/simulated-inbound-origination'\nheaders = {\n    'Authorization': 'Bearer YOUR_ACCESS_TOKEN',\n    'Content-Type': 'application/json',\n}\ndata = {\n    \"accountNumber\": \"1234567890\",\n    \"amount\": 150000,\n    \"debtor\": {},\n    \"remittanceData\": \"sample_value\",\n    \"remittanceReferredInfo\": []\n}\n\nresponse = requests.post(url, headers=headers, json=data)\nprint(response.json())"
      },
      {
        "id": "ruby-example",
        "language": "ruby",
        "code": "require 'net/http'\nrequire 'json'\n\nuri = URI('https://sandbox.crbcos.com/rtp/v1/payments/simulated-inbound-origination')\nhttp = Net::HTTP.new(uri.host, uri.port)\nhttp.use_ssl = true\n\nrequest = Net::HTTP::Post.new(uri)\nrequest['Authorization'] = 'Bearer YOUR_ACCESS_TOKEN'\nrequest['Content-Type'] = 'application/json'\nrequest.body = {\n  \"accountNumber\": \"1234567890\",\n  \"amount\": 150000,\n  \"debtor\": {},\n  \"remittanceData\": \"sample_value\",\n  \"remittanceReferredInfo\": []\n}.to_json\n\nresponse = http.request(request)\nputs JSON.parse(response.body)"
      },
      {
        "id": "go-example",
        "language": "go",
        "code": "package main\n\nimport (\n    \"bytes\"\n    \"encoding/json\"\n    \"fmt\"\n    \"io/ioutil\"\n    \"net/http\"\n)\n\nfunc main() {\n    payload := []byte(`{\n        \"accountNumber\": \"1234567890\",\n        \"amount\": 150000,\n        \"debtor\": {},\n        \"remittanceData\": \"sample_value\",\n        \"remittanceReferredInfo\": []\n}`)\n\n    req, _ := http.NewRequest(\"POST\", \"https://sandbox.crbcos.com/rtp/v1/payments/simulated-inbound-origination\", bytes.NewBuffer(payload))\n    req.Header.Add(\"Authorization\", \"Bearer YOUR_ACCESS_TOKEN\")\n    req.Header.Add(\"Content-Type\", \"application/json\")\n\n    client := &http.Client{}\n    resp, err := client.Do(req)\n    if err != nil {\n        panic(err)\n    }\n    defer resp.Body.Close()\n\n    body, _ := ioutil.ReadAll(resp.Body)\n    fmt.Println(string(body))\n}"
      }
    ],
    "selectedLanguageId": "curl-example"
  },
  "results": {
    "languages": [
      {
        "id": "202",
        "language": "202",
        "code": ""
      },
      {
        "id": "400",
        "language": "400",
        "code": "{\\n  \\\"errors\\\": [{\\n    \\\"code\\\": 2001,\\n    \\\"message\\\": \\\"Validation error\\\"\\n  }]\\n}"
      },
      {
        "id": "401",
        "language": "401",
        "code": "{\\n  \\\"errors\\\": [{\\n    \\\"code\\\": 3001,\\n    \\\"message\\\": \\\"Unauthorized\\\"\\n  }]\\n}"
      }
    ],
    "selectedLanguageId": "202"
  },
  "request": {
    "pathParameters": [],
    "queryParameters": [],
    "headerParameters": [],
    "formDataParameters": [],
    "bodyDataParameters": [
      {
        "name": "accountNumber",
        "kind": "required",
        "type": "string",
        "description": "A valid COS Account number associated to the Transaction. This parameter can be null."
      },
      {
        "name": "amount",
        "kind": "required",
        "type": "integer",
        "description": "Dollar amount of the transaction in positive integral cents. For example, write $1.00 as 100."
      },
      {
        "name": "debtor",
        "kind": "required",
        "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": "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": "routingNumber",
            "kind": "optional",
            "type": "string",
            "description": "9-digit ABA routing number that identifies the originator financial institution"
          },
          {
            "name": "accountNumber",
            "kind": "optional",
            "type": "string",
            "description": "A valid COS Account number associated to the Transaction. This parameter can be null."
          },
          {
            "name": "name",
            "kind": "optional",
            "type": "string",
            "description": "Bank name"
          },
          {
            "name": "birthCity",
            "kind": "required",
            "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": "Beneficiary birthdate in the format 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": "The beneficiary phone number"
          }
        ]
      },
      {
        "name": "remittanceData",
        "kind": "required",
        "type": "string",
        "description": "A description of the payment, meaning, the remittance advice. Use this field for any remittance information that doesn't have its own field. 140 characters maximum."
      },
      {
        "name": "remittanceReferredInfo",
        "kind": "required",
        "type": "array",
        "description": "RemittanceReferredInfo"
      },
      {
        "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)."
      },
      {
        "name": "uETR",
        "kind": "optional",
        "type": "string",
        "description": "UETR"
      },
      {
        "name": "purpose",
        "kind": "optional",
        "type": "string",
        "description": "Reason for the origination. For internal use only. "
      },
      {
        "name": "localInstrument",
        "kind": "optional",
        "type": "string",
        "description": "LocalInstrument"
      }
    ]
  },
  "response": [],
  "description": "",
  "currentNewParameter": {
    "label": "Body Parameter",
    "value": "bodyDataParameters"
  },
  "hasTryItOut": false,
  "autoGeneratedAnchorSlug": "endpoint-rtppaymentssimulated-inbound-origination",
  "legacyHash": "i9O9Co7BOalOFBg4fBCpi"
}
```
:::

## Use cases

- Test receiving instant payments in sandbox environment
- Validate payment processing workflows without real network transmission
- Develop and debug payment receipt handling before production
- Train support staff on payment receipt scenarios

## Error codes

| Code | Scenario                                     | Resolution                                             |
| ---- | -------------------------------------------- | ------------------------------------------------------ |
| 2013 | Routing number isn't a valid RTP Participant | Verify request parameters and retry                    |
| 3001 | Unauthorized                                 | Verify Bearer token is valid and not expired           |
| 3002 | Insufficient permissions                     | Verify user has required permission for this operation |

## Business rules

- Requires valid Bearer token with permissions: Permissions.Payments.Simulate
- `remittanceData` field is limited to 140 characters maximum
- Request validation performed before processing
- Errors return 400 Bad Request with detailed error information
- Rate limiting may apply to prevent abuse
