bazzar/vendor/t_pay/docs/RegisterSaleFields.md

23 lines
1.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# RegisterSaleFields
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **String** | customer name |
**email** | **String** | customer email |
**desc** | **String** | transaction description |
**amount** | **f32** | transaction amount casted to float |
**api_password** | **String** | API password. |
**sign** | **String** | Sign is calculated from cryptographic hash function set in Merchants Panel (default SHA-1): sha1(method + name + email + desc + amount + currency + order_id + onetimer + language + verification code) where + means concatenation with ampersand symbol. ie. name + email = john done&john.doe@example.com |
**currency** | Option<**i32**> | transaction currency in ISO numeric format | [optional][default to 985]
**onetimer** | Option<[**crate::models::Onetimer**](onetimer.md)> | | [optional]
**pow_url** | Option<**String**> | url to redirect customer in case of payment success | [optional]
**pow_url_blad** | Option<**String**> | url to redirect customer in case of payment failure | [optional]
**order_id** | Option<**String**> | merchant order ID used to recognise payment | [optional]
**language** | Option<[**crate::models::Language**](language.md)> | | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)