Test Helpers
Create simulated return
Changed onCreate a simulated return for an order, then drive it through its lifecycle with the approve/deny/refund/fail helpers below.
post/api/v1/test-helpers/returns
Request
- Base URLhttps://staging.api.rye.com
- URLhttps://staging.api.rye.com/api/v1/test-helpers/returns
- AuthAPI key in header Authorization
Request body
Response
Created
Example response
{
"refunds": [
{
"shopperRefundTotal": {
"currencyCode": "USD",
"amountSubunits": 1500
}
}
]
}Changes
- info
endpoint added
- info