What is simulated
A first end-to-end run
1
Get a token
POST /v1/oauth/token with your sandbox client id and secret.2
Apply
Apply for an invited account with six months of
ACME PAYROLL SAS income deposits. Expect 201 with an offer.3
Accept
Accept the offer with a fresh copy of the data. Expect
step: funding and a loan in pending_disbursement.4
Place the hold
Read
GET /v1/loans/{loan_id} every 30 seconds until place_hold is listed, then confirm it with hold.placed.5
Pay out
Read again until
pay_out is listed, then confirm it with payout.confirmed. The loan becomes current and carries deduction version 1.6
Repay and release
Report a
deposit.settled that deducts the full amount due. A minute later the loan is repaid and lists release_hold; confirm it with hold.released.