Skip to main content
POST
/
v1
/
credit
/
mocks
/
repayments
Create a mock wire repayment
curl --request POST \
  --url https://api-sandbox.circle.com/v1/credit/mocks/repayments \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "fiatAccountId": "be863d4a-928f-4f54-9af0-c94f5a80ce49",
  "amount": {
    "amount": "3.14",
    "currency": "USD"
  }
}
'
{
  "data": {
    "trackingRef": "CIR3AZQ4GS",
    "amount": {
      "amount": "3.14",
      "currency": "USD"
    },
    "status": "pending"
  }
}

Documentation Index

Fetch the complete documentation index at: https://developers.circle.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
fiatAccountId
string<uuid>
required

The ID of the wire bank account to use for the mock repayment. This is the same ID returned by the wire bank accounts endpoint.

Example:

"be863d4a-928f-4f54-9af0-c94f5a80ce49"

amount
object
required

Response

Successfully created a mock wire repayment.

data
object