curl --request POST \
--url https://api.sandbox.services.payward.com/v1/accounts/{account_id}/conversions/{conversion_rule_id}/testing/deposit \
--header 'API-Key: <api-key>' \
--header 'API-Sign: <api-key>' \
--header 'API-Timestamp: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"amount": "100.00",
"reference": "sandbox-conversion-001"
}
'{
"data": {
"simulated": true
}
}Simulate conversion rule deposit
Simulates an inbound deposit against an existing conversion rule in the sandbox environment. This operation is unavailable in production.
Use Get conversion rule to wait until the rule’s status is active. The rule must belong to the selected account. The deposit uses the rule’s source asset and follows its conversion flow.
Use outcome to simulate a successful, failed, or held deposit. A successful response confirms only that Payward Services accepted the simulated deposit for processing. It does not mean the conversion has completed. Use List conversion rule transactions to follow its progress.
This operation is not idempotent. If a request times out or otherwise has an unknown outcome, do not retry it automatically because the deposit may already have been accepted. Use List conversion rule transactions to reconcile the rule’s transactions before submitting another simulation.
curl --request POST \
--url https://api.sandbox.services.payward.com/v1/accounts/{account_id}/conversions/{conversion_rule_id}/testing/deposit \
--header 'API-Key: <api-key>' \
--header 'API-Sign: <api-key>' \
--header 'API-Timestamp: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"amount": "100.00",
"reference": "sandbox-conversion-001"
}
'{
"data": {
"simulated": true
}
}