> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.epaygames.io/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.epaygames.io/_mcp/server.

# Repost Transaction (for testing only)

POST https://v1/api/disbursement/transactions/repost

### Repost Transaction

The **Repost Transaction** endpoint reposts a transaction by its reference number to re-trigger the associated webhook callback.

Use this during development and QA to simulate webhook delivery for a specific transaction without initiating a new payout. This is useful for testing your webhook handler's response to transaction status events (e.g., `success`, `failed`).

> For testing purposes only. Do not use this endpoint in a production environment.

Reference: https://docs.epaygames.io/epaygames-payments-disbursement-api/disbursement-api/testing/repost-transaction-for-testing-only

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: collection
  version: 1.0.0
paths:
  /v1/api/disbursement/transactions/repost:
    post:
      operationId: Repost Transaction (for testing only)
      summary: Repost Transaction (for testing only)
      description: >-
        ### Repost Transaction


        The **Repost Transaction** endpoint reposts a transaction by its
        reference number to re-trigger the associated webhook callback.


        Use this during development and QA to simulate webhook delivery for a
        specific transaction without initiating a new payout. This is useful for
        testing your webhook handler's response to transaction status events
        (e.g., `success`, `failed`).


        > For testing purposes only. Do not use this endpoint in a production
        environment.
      tags:
        - testing
      parameters:
        - name: reference_no
          in: query
          required: false
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/Disbursement API_Testing_Repost
                  Transaction (for testing only)_Response_200
servers:
  - url: https:/
    description: https://{payments_api_host}
components:
  schemas:
    Disbursement API_Testing_Repost Transaction (for testing only)_Response_200:
      type: object
      properties:
        message:
          type: string
      required:
        - message
      title: >-
        Disbursement API_Testing_Repost Transaction (for testing
        only)_Response_200

```

## Examples



**Response**

```json
{
  "message": "Transaction callback notification has been successfully reposted."
}
```

**SDK Code**

```python Disbursement API_Testing_Repost Transaction (for testing only)_example
import requests

url = "https://https/v1/api/disbursement/transactions/repost"

querystring = {"reference_no":"TESTINGREFNO01"}

response = requests.post(url, params=querystring)

print(response.json())
```

```javascript Disbursement API_Testing_Repost Transaction (for testing only)_example
const url = 'https://https/v1/api/disbursement/transactions/repost?reference_no=TESTINGREFNO01';
const options = {method: 'POST'};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Disbursement API_Testing_Repost Transaction (for testing only)_example
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://https/v1/api/disbursement/transactions/repost?reference_no=TESTINGREFNO01"

	req, _ := http.NewRequest("POST", url, nil)

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Disbursement API_Testing_Repost Transaction (for testing only)_example
require 'uri'
require 'net/http'

url = URI("https://https/v1/api/disbursement/transactions/repost?reference_no=TESTINGREFNO01")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)

response = http.request(request)
puts response.read_body
```

```java Disbursement API_Testing_Repost Transaction (for testing only)_example
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://https/v1/api/disbursement/transactions/repost?reference_no=TESTINGREFNO01")
  .asString();
```

```php Disbursement API_Testing_Repost Transaction (for testing only)_example
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://https/v1/api/disbursement/transactions/repost?reference_no=TESTINGREFNO01');

echo $response->getBody();
```

```csharp Disbursement API_Testing_Repost Transaction (for testing only)_example
using RestSharp;

var client = new RestClient("https://https/v1/api/disbursement/transactions/repost?reference_no=TESTINGREFNO01");
var request = new RestRequest(Method.POST);
IRestResponse response = client.Execute(request);
```

```swift Disbursement API_Testing_Repost Transaction (for testing only)_example
import Foundation

let request = NSMutableURLRequest(url: NSURL(string: "https://https/v1/api/disbursement/transactions/repost?reference_no=TESTINGREFNO01")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```