- The deposit is created, this results in a “barcode number” that the end user would provide to a cashier to scan in production. In Sandbox though, this barcode number is randomized.
- The developer simulates an “authorization”, this authorizes the deposit for an arbitrary amount of money. Simulating the end user giving the cashier cash to deposit into their account. When this event is simulated the user’s account is credited and a hold is placed on the credit until the authorization is finalized.
- The developer can then simulate a “commit” which finalizes the authorization and releases the hold on the funds and makes those funds available to the end user. Or the developer can simulate a “void” which will reverse the hold and the credit transactions and mark the deposit as voided.
Green Dot Simulation Types
Create a Green Dot Authorization simulation
Initiate agreendot.authorize simulation event.
Green Dot Authorization Request Body
Simulation Sub-Object
Response
No response body is returned. A202 HTTP status indicates a successful simulation.
Verifying a Successful Simulation
To ensure that the simulation was run successfully, call theGET /greendot/:id endpoint to confirm that the status of
the cash load has been updated to authorized. You should also see transactions for that account and the current
balance of the acount having been increased the amount that you authorized in your simulation.
Create a Green Dot Void or Commit simulation
Initiate agreendot.void or greendot.commit simulation event.
Green Dot Authorization Request Body
Simulation Sub-Object
Response
No response body is returned. A202 HTTP status indicates a successful simulation.