Skip to main content
POST
/
cash
/
transaction_simulations
/
barcodes
/
deposits
Create a cash deposit transaction simulation for a barcode
curl --request POST \
  --url https://api.synctera.com/v1/cash/transaction_simulations/barcodes/deposits \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "amount": 100,
  "barcode_id": "550e8400-e29b-41d4-a716-446655440000",
  "status": "PAID",
  "store_id": "<string>",
  "type": "APPLY"
}
'
{
  "code": "BAD_REQUEST_BODY",
  "detail": "Missing required fields: first_name, dob",
  "status": 400
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Simulate a cash deposit transaction using a barcode

amount
number<float>
required

Amount to deposit

Required range: 1 <= x <= 999
Example:

100

barcode_id
string<uuid>
required

Unique identifier of the barcode to be used for the deposit

Example:

"550e8400-e29b-41d4-a716-446655440000"

status
enum<string>
required
Available options:
PAID,
VOID
store_id
string
required

Unique identifier of the barcode simulation store

type
enum<string>
required
Available options:
APPLY,
TEST

Response

Successfully created the cash deposit transaction simulation