Skip to main content

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

KeyTypeDescription
titleutf-8 stringThe primary title field on the screen. The field wraps when text overflows the width.
amountutf-8 stringOptional amount to display.
currencyutf-8 stringOptional currency to display.

Examples

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"
}
}'
Example