Creates test data for a merchant in the sandbox: offers, applications, active financings, refills and payments.
Every call creates the merchant identified by external_id if it does not exist yet. Every scenario except direct_payment then resets that merchant's previous test offers, applications, contracts and active financings, so each call starts clean.
The partner's country and currency come from the credentials, never from the request.
| Scenario | What it creates | items in the response |
|---|---|---|
seed_offers | Available offers. With bypass_kyc it also leaves a confirmed identity check, so the merchant can apply without going through KYC. | List of offers: id, disbursement_amount as {currencyCode, amountE5} (amount × 100,000), repayment_rate, status, expires_at (Unix milliseconds) |
pending_application | One offer and an application waiting for review. Needs disbursement_amount. | application_id |
financing_active | One offer, an application and an active financing. Needs disbursement_amount. | financing_id, application_id, features |
loan_active | Deprecated alias of financing_active. | Same as financing_active |
refill | A parent financing paid at 60% and a refill offer on top of it; an RBF_TERM parent gets a 40-day history instead, with its first period paid and the second at 80%. Needs disbursement_amount. | financing_id (parent), application_id, features |
direct_payment | A direct payment on the active sandbox financing given in financing_id; it is not checked against external_id. Needs financing_id and amount. | List of payment results (collection_id, success, message, data) |
financing_active, loan_active and refill finish part of their work in the background: the response arrives first, and the financing, the payment and the refill offer settle a few seconds later. A 200 does not guarantee that background work succeeded, so read the financing back before relying on it.
The amount disbursed in the response can differ from disbursement_amount for products that add or subtract fees: MCA_FLEX, BR and CO RBF_TERM.
Product per country, used when metadata.product_category is omitted:
| Country | Default | Also accepted |
|---|---|---|
| BR | RBF_DAILY_AMORTIZATION | — |
| CL | MCA_FLEX | RBF_FLEX |
| CO | RBF_TERM | RBF_DAILY_AMORTIZATION |
| MX | RBF_FLEX | — |
| PE | RBF_TERM | RBF_DAILY_AMORTIZATION |
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
