Customer Portal API
customer login with wristband hardware tag and pin
Request Body schema: application/jsonrequired
pin required | string (Pin) |
Responses
Request samples
- Payload
Content type
application/json
{- "pin": "string"
}
Response samples
- 200
- 422
Content type
application/json
{- "customer": {
- "node_id": 0,
- "id": 0,
- "type": "private",
- "name": "string",
- "comment": "string",
- "balance": 0,
- "vouchers": 0,
- "user_tag_id": 0,
- "user_tag_uid": 0,
- "user_tag_comment": "string",
- "restriction": "under_16",
- "tag_history": [
- {
- "user_tag_id": 0,
- "user_tag_pin": "string",
- "user_tag_uid": 0,
- "account_id": 0,
- "comment": "string",
- "mapping_was_valid_until": "2019-08-24T14:15:22Z",
- "user_tag_uid_hex": "string"
}
], - "iban": "string",
- "account_name": "string",
- "email": "string",
- "donation": 0,
- "payout_export": true,
- "user_tag_pin": "string",
- "donate_all": true,
- "has_entered_info": true,
- "payout": {
- "id": 0,
- "customer_account_id": 0,
- "iban": "string",
- "account_name": "string",
- "email": "string",
- "user_tag_id": 0,
- "user_tag_uid": 0,
- "amount": 0,
- "donation": 0,
- "payout_run_id": 0,
- "user_tag_uid_hex": "string"
}, - "user_tag_uid_hex": "string"
}, - "access_token": "string",
- "grant_type": "bearer"
}
Response samples
- 200
Content type
application/json
{- "node_id": 0,
- "id": 0,
- "type": "private",
- "name": "string",
- "comment": "string",
- "balance": 0,
- "vouchers": 0,
- "user_tag_id": 0,
- "user_tag_uid": 0,
- "user_tag_comment": "string",
- "restriction": "under_16",
- "tag_history": [
- {
- "user_tag_id": 0,
- "user_tag_pin": "string",
- "user_tag_uid": 0,
- "account_id": 0,
- "comment": "string",
- "mapping_was_valid_until": "2019-08-24T14:15:22Z",
- "user_tag_uid_hex": "string"
}
], - "iban": "string",
- "account_name": "string",
- "email": "string",
- "donation": 0,
- "payout_export": true,
- "user_tag_pin": "string",
- "donate_all": true,
- "has_entered_info": true,
- "payout": {
- "id": 0,
- "customer_account_id": 0,
- "iban": "string",
- "account_name": "string",
- "email": "string",
- "user_tag_id": 0,
- "user_tag_uid": 0,
- "amount": 0,
- "donation": 0,
- "payout_run_id": 0,
- "user_tag_uid_hex": "string"
}, - "user_tag_uid_hex": "string"
}
Response samples
- 200
Content type
application/json
[- {
- "id": 0,
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "total_price": 0,
- "total_tax": 0,
- "total_no_tax": 0,
- "cancels_order": 0,
- "booked_at": "2019-08-24T14:15:22Z",
- "payment_method": "cash",
- "order_type": "sale",
- "cashier_id": 0,
- "till_id": 0,
- "customer_account_id": 0,
- "customer_tag_uid": 0,
- "customer_tag_id": 0,
- "line_items": [
- {
- "quantity": 0,
- "product": {
- "name": "string",
- "price": 0,
- "fixed_price": true,
- "price_in_vouchers": 0,
- "tax_rate_id": 0,
- "restrictions": [
- "under_16"
], - "is_locked": true,
- "is_returnable": true,
- "target_account_id": 0,
- "node_id": 0,
- "id": 0,
- "tax_name": "string",
- "tax_rate": 0,
- "type": "discount",
- "price_per_voucher": 0
}, - "product_price": 0,
- "tax_rate_id": 0,
- "tax_name": "string",
- "tax_rate": 0,
- "item_id": 0,
- "total_tax": 0,
- "total_price": 0
}
], - "bon_generated": true,
- "customer_tag_uid_hex": "string"
}
]
set iban, account name and email
Authorizations:
OAuth2PasswordBearer
Request Body schema: application/jsonrequired
iban required | string (Iban) |
account_name required | string (Account Name) |
email required | string (Email) |
donation | number (Donation) Default: 0 |
Responses
Request samples
- Payload
Content type
application/json
{- "iban": "string",
- "account_name": "string",
- "email": "string",
- "donation": 0
}
Response samples
- 422
Content type
application/json
{- "detail": [
- {
- "loc": [
- "string"
], - "msg": "string",
- "type": "string"
}
]
}
Response samples
- 200
- 422
Content type
application/json
{- "test_mode": true,
- "test_mode_message": "string",
- "data_privacy_url": "string",
- "contact_email": "user@example.com",
- "about_page_url": "string",
- "payout_enabled": true,
- "currency_identifier": "string",
- "sumup_topup_enabled": true,
- "allowed_country_codes": [
- "string"
], - "translation_texts": {
- "property1": {
- "property1": "string",
- "property2": "string"
}, - "property2": {
- "property1": "string",
- "property2": "string"
}
}
}
Response samples
- 200
- 422
Content type
application/json
{- "order": {
- "id": 0,
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "total_price": 0,
- "total_tax": 0,
- "total_no_tax": 0,
- "cancels_order": 0,
- "booked_at": "2019-08-24T14:15:22Z",
- "payment_method": "cash",
- "order_type": "sale",
- "cashier_id": 0,
- "till_id": 0,
- "customer_account_id": 0,
- "customer_tag_uid": 0,
- "customer_tag_id": 0,
- "line_items": [
- {
- "quantity": 0,
- "product": {
- "name": "string",
- "price": 0,
- "fixed_price": true,
- "price_in_vouchers": 0,
- "tax_rate_id": 0,
- "restrictions": [
- "under_16"
], - "is_locked": true,
- "is_returnable": true,
- "target_account_id": 0,
- "node_id": 0,
- "id": 0,
- "tax_name": "string",
- "tax_rate": 0,
- "type": "discount",
- "price_per_voucher": 0
}, - "product_price": 0,
- "tax_rate_id": 0,
- "tax_name": "string",
- "tax_rate": 0,
- "item_id": 0,
- "total_tax": 0,
- "total_price": 0
}
], - "signature_status": "string",
- "transaction_process_type": "string",
- "transaction_process_data": "string",
- "tse_transaction": "string",
- "tse_signaturenr": "string",
- "tse_start": "string",
- "tse_end": "string",
- "tse_hashalgo": "string",
- "tse_time_format": "string",
- "tse_signature": "string",
- "tse_public_key": "string",
- "node_id": 0,
- "customer_tag_uid_hex": "string",
- "tse_qr_code_text": "string"
}, - "tax_rate_aggregations": [
- {
- "tax_name": "string",
- "tax_rate": 0,
- "total_price": 0,
- "total_tax": 0,
- "total_no_tax": 0
}
], - "config": {
- "title": "string",
- "issuer": "string",
- "address": "string",
- "ust_id": "string"
}, - "currency_identifier": "string"
}
after payment check checkout state
Authorizations:
OAuth2PasswordBearer
Request Body schema: application/jsonrequired
checkout_id required | string (Checkout Id) |
Responses
Request samples
- Payload
Content type
application/json
{- "checkout_id": "string"
}
Response samples
- 200
- 422
Content type
application/json
{- "status": "PENDING"
}