---
title: Simulate inbound payment ack
slug: crossriver-apis/payments/instant-payments/apis/simulations/simulated-inbound-payment-ack
description: Simulate receiving acknowledgment from the receiving bank that your outbound payment was accepted
icon: {"apiMethod":"POST"}
createdAt: 2026-09-29T15:33:40.054Z
---

## API reference

Simulate receiving acknowledgment from the receiving bank that your outbound payment was accepted

:::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/{id}/simulated-inbound-payment-ack",
  "method": "POST",
  "url": "https://sandbox.crbcos.com/rtp/v1/payments/{id}/simulated-inbound-payment-ack",
  "tab": "examples",
  "examples": {
    "languages": [
      {
        "id": "curl-example",
        "language": "curl",
        "code": "curl -X POST https://sandbox.crbcos.com/rtp/v1/payments/{id}/simulated-inbound-payment-ack \\\\\n  -H \"Authorization: Bearer YOUR_ACCESS_TOKEN\" \\\\\n  -H \"Content-Type: application/json\" \\\\\n  -d '{\n  \"paymentAckType\": \"sample_value\",\n  \"additionalInfo\": \"sample_value\"\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/{id}/simulated-inbound-payment-ack',\n  headers: {\n    'Authorization': 'Bearer YOUR_ACCESS_TOKEN',\n    'Content-Type': 'application/json',\n  },\n  data: {\n    \"paymentAckType\": \"sample_value\",\n    \"additionalInfo\": \"sample_value\"\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/{id}/simulated-inbound-payment-ack'\nheaders = {\n    'Authorization': 'Bearer YOUR_ACCESS_TOKEN',\n    'Content-Type': 'application/json',\n}\ndata = {\n    \"paymentAckType\": \"sample_value\",\n    \"additionalInfo\": \"sample_value\"\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/{id}/simulated-inbound-payment-ack')\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  \"paymentAckType\": \"sample_value\",\n  \"additionalInfo\": \"sample_value\"\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        \"paymentAckType\": \"sample_value\",\n        \"additionalInfo\": \"sample_value\"\n}`)\n\n    req, _ := http.NewRequest(\"POST\", \"https://sandbox.crbcos.com/rtp/v1/payments/{id}/simulated-inbound-payment-ack\", 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}"
      }
    ]
  },
  "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}"
      }
    ]
  },
  "request": {
    "pathParameters": [
      {
        "name": "id",
        "type": "string",
        "kind": "required",
        "description": "Unique identifier for the loan. GUID"
      }
    ],
    "queryParameters": [],
    "headerParameters": [],
    "formDataParameters": [],
    "bodyDataParameters": [
      {
        "name": "paymentAckType",
        "kind": "optional",
        "type": "string",
        "description": "PaymentAckType"
      },
      {
        "name": "additionalInfo",
        "kind": "optional",
        "type": "string",
        "description": "Provides supplementary details regarding the status report"
      }
    ]
  },
  "response": [],
  "description": "",
  "currentNewParameter": {
    "label": "Body Parameter",
    "value": "bodyDataParameters"
  },
  "hasTryItOut": false,
  "autoGeneratedAnchorSlug": "endpoint-rtppaymentsidsimulated-inbound-payment-ac",
  "legacyHash": "WQOdWSQvCWU7brXE0rhLk"
}
```
:::

## Use cases

- Test payment acknowledgment workflows in sandbox
- Validate successful payment completion handling
- Simulate network confirmation for integration testing
- Verify payment status transitions after acknowledgment

## Error codes

| Code | Scenario                                               | Resolution                                             |
| ---- | ------------------------------------------------------ | ------------------------------------------------------ |
| 2041 | Payment must be a credit transfer                      | Verify request parameters and retry                    |
| 2010 | Payment must be outbound                               | Verify request parameters and retry                    |
| 2030 | Credit Transfer status must be Completed               | Verify request parameters and retry                    |
| 2031 | Payment already has an existing Payment Ack in process | 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
- Request validation performed before processing
- Errors return 400 Bad Request with detailed error information
- Rate limiting may apply to prevent abuse
