Spinner
The spinner screen is a general purpose progress indication to screen to indicate the application is processing a request.
Screen Type Id : spinner
Properties
Key | Type | Description |
---|---|---|
title | utf-8 string | The primary title field on the screen. The field wraps when text overflows the width. |
amount | utf-8 string | Optional amount to display. |
currency | utf-8 string | Optional currency to display. |
Examples
- Amount
- Spinner Only
curl -X 'POST' ${CPS_UI_URL} \
-H 'Authorization: CPS apikey="'${CPS_API_KEY}'"' \
-H 'Content-Type: application/json' \
-d '{
"id": "my-spinner-screen",
"type": "spinner",
"properties": {
"title": "Processing...",
"amount": "12.34",
"currency": "EUR"
}
}'

curl -X 'POST' ${CPS_UI_URL} \
-H 'Authorization: CPS apikey="'${CPS_API_KEY}'"' \
-H 'Content-Type: application/json' \
-d '{
"id": "my-spinner-screen",
"type": "spinner",
"properties": {
"title": "Processing..."
}
}'
