POST
/
simulate
/
transfer
curl --request POST \
  --url https://api.pushcash.com/simulate/transfer \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "from": "account_28CJjV7P4Go5PNJvfzghiD",
  "amount": 30000
}'
{
  "id": "transfer_xle830ef8djeoiu",
  "amount": 700284,
  "currency": "USD",
  "direction": "credit",
  "created_at": "2023-05-24T20:15:18.158Z",
  "date": "2023-05-24",
  "transactions": [
    {
      "id": "txn_230vjroij4985uefjoiu9",
      "amount": -700284,
      "currency": "USD",
      "created_at": "2023-05-24T20:15:18.158Z",
      "date": "2023-05-24",
      "batch": null,
      "account_id": "account_WsELzpJOvU6fNafvzWbF6K",
      "type": "transfer",
      "source_id": "transfer_xle830ef8djeoiu",
      "status": "settled"
    }
  ],
  "account": {
    "id": "account_WsELzpJOvU6fNafvzWbF6K",
    "type": "settlement",
    "name": "Settlement Account",
    "created_at": "2023-05-24T20:15:18.158Z"
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

200
application/json

Successful operation

The response is of type object.