- Create a custom deposit property set
Creates a custom deposit property set. A custom property set is a JSON-schema to extend the request form with extra form fields. The collected information is stored at the deposit request.
Custom deposit property set resource.
Defines properties the user can complete when they use the hosted deposit form. This field accepts JSON-schema drafts 4, 6, and 7. Accepted properties types are: string, number, integer, array, and enum. For more information, see Configure custom hosted deposit properties.
{ "type": "object", "properties": { "email": { … }, "max": { … } }, "required": [ "email" ] }
- Mock serverhttps://www.rebilly.com/_mock/catalog/all/deposit-custom-property-sets
- Sandbox serverhttps://api-sandbox.rebilly.com/organizations/{organizationId}/deposit-custom-property-sets
- Live serverhttps://api.rebilly.com/organizations/{organizationId}/deposit-custom-property-sets
- SecretApiKey
- JWT
curl -i -X POST \
https://www.rebilly.com/_mock/catalog/all/deposit-custom-property-sets \
-H 'Content-Type: application/json' \
-H 'REB-APIKEY: YOUR_API_KEY_HERE' \
-d '{
"name": "string",
"properties": {
"type": "object",
"properties": {
"email": {
"type": "string"
},
"max": {
"type": "integer",
"minimum": 0,
"exclusiveMaximum": 100
}
},
"required": [
"email"
]
}
}'Custom deposit property set created.
Total number of rate limit tokens for this request within a rate limit period. For more information, see Rate limits.
ID of the deposit property set.
Defines properties the user can complete when they use the hosted deposit form. This field accepts JSON-schema drafts 4, 6, and 7. Accepted properties types are: string, number, integer, array, and enum. For more information, see Configure custom hosted deposit properties.
{ "type": "object", "properties": { "email": { … }, "max": { … } }, "required": [ "email" ] }
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_prop_0YVJ640MB4CXVB8KXBRW3B79R9", "name": "string", "properties": { "type": "object", "properties": { … }, "required": [ … ] }, "createdTime": "2019-08-24T14:15:22Z", "updatedTime": "2019-08-24T14:15:22Z", "_links": [ { … } ] }