- Retrieve deposit requests
Retrieves a list of deposit requests.
Criteria for filtering collection items. This field requires a special format. Use , to specify multiple allowed values. Use ; to specify multiple fields.
For more information, see Search filters.
Expands a request to include embedded objects within the _embedded property of the response. This field accepts a comma-separated list of objects.
For more information, see Embedded resources.
- Mock serverhttps://www.rebilly.com/_mock/catalog/all/deposit-requests
- Sandbox serverhttps://api-sandbox.rebilly.com/organizations/{organizationId}/deposit-requests
- Live serverhttps://api.rebilly.com/organizations/{organizationId}/deposit-requests
- SecretApiKey
- JWT
curl -i -X GET \
'https://www.rebilly.com/_mock/catalog/all/deposit-requests?limit=1000&offset=1000&filter=string&sort=string&expand=string' \
-H 'REB-APIKEY: YOUR_API_KEY_HERE'List of deposit requests retrieved.
ID of the deposit request.
ID of the website associated with the deposit.
ID of the customer resource.
List of transaction IDs that are associated with the deposit request. This list includes transactions that are created from the deposit request. There is a maximum of one approved transaction in the list.
Status of the request.
| Enum Value | Description |
|---|---|
| created | Request is created, but it has not been visited by a customer. This is a temporary state. |
| pending | Request has been visited by a customer, but no funds have been deposited yet. This is a temporary state. |
| initiated | A funds deposit transaction has been initiated. This is a temporary state. |
| attempted | A funds deposit transaction was attempted and declined. This is a temporary state. |
| completed | A funds deposit transaction has been approved and completed. This is a permanent state. |
| expired | Request expired without an approved deposit transaction. This is a permanent state. |
Specifies if the deposit is a coin purchase that credits the coin balance instead of the cash balance. Determined by the deposit amount strategy that is applied to the deposit request.
List of available deposit amounts.
If amounts is not specified when a deposit is created, amounts are determined from the chosen deposit amount strategy. For more information, see the strategyId property.
Value of the default amount in the amounts list. This value is calculated from the defaultIndex property of the deposit strategy that is applied to the deposit request.
Custom amount restrictions. If this value is null, custom amounts are prohibited. If customAmount is not specified when a deposit request is created, amount restrictions are determined from the chosen strategy. For more information, see the strategyId property.
URL to redirect the customer to when a deposit is completed. The default value is the website URL.
Date and time when the deposit request expires. The default expiration time is one hour from the time the request is created.
Defines properties the user can complete when they use the hosted deposit form. This field accepts JSON-schema drafts 4, 6, and 7.
{ "type": "object", "properties": { "email": { … }, "max": { … } }, "required": [ "email" ] }
Properties that are available for the user to complete when they use the hosted deposit form. Use this object to describe fields that are rendered and completed on the hosted deposit form.
{ "email": "email@example.com", "max": "33" }
URL where a server-to-server POST notification is sent. This notification is sent when the transaction result is finalized after a timeout or an offsite interaction.
Do not interpret this notification as a confirmation, complete a GET request to confirm the result of the transaction. To ensure the request is not reattempted, when the result is confirmed, respond with a 2xx HTTP status code.
The following placeholders are available to use in this URI: {id} and {result}. These placeholders are replaced the with the transaction ID and result accordingly.
JSON Web Token (JWT) used to complete the deposit request. This value is null if the deposit request is expired or completed.
Custom fields related to the deposit request. Custom field values are copied to created transactions if matching custom fields (name, type) exist.
{ "foo": "bar" }
Date and time when the resource is created. This value is set automatically when the resource is created.
Date and time when the resource is updated. This value is set automatically when the resource is updated.
[ { "id": "dep_req_0YVJ65BSGYC3EAT58SEX8KY6J7", "websiteId": "web_0YV7DE4Z26DQSA1AC92FBJ7SEG", "customerId": "cus_0YV7DDSDD1C8DA64KHH2W33CPF", "transactionIds": [ … ], "status": "created", "coinPurchase": true, "currency": "USD", "amounts": [ … ], "defaultAmount": 0.01, "customAmount": { … }, "redirectUrl": "http://example.com", "expirationTime": "2019-08-24T14:15:22Z", "propertiesSchema": { … }, "properties": { … }, "notificationUrl": "http://example.com", "cashierToken": "string", "customFields": { … }, "createdTime": "2019-08-24T14:15:22Z", "updatedTime": "2019-08-24T14:15:22Z", "_links": [ … ], "_embedded": { … } } ]