ApplePay-StartPaymentWithAppleToken: Difference between revisions
Jump to navigation
Jump to search
Stankovicsa (talk | contribs) No edit summary |
Stankovicsa (talk | contribs) |
||
Line 16: | Line 16: | ||
| POSKey || Guid || * Required || The secret API key of the shop, generated by Barion. This lets the shop to authenticate through the Barion API, but does not provide access to the account owning the shop itself. | | POSKey || Guid || * Required || The secret API key of the shop, generated by Barion. This lets the shop to authenticate through the Barion API, but does not provide access to the account owning the shop itself. | ||
|- | |- | ||
| ShippingContact || [[ApplePayShippingContact|ShippingContact]] || * Required || | | ShippingContact || [[ApplePayShippingContact|ShippingContact]] || * Required || The shipping information of the payer | ||
|- | |- | ||
| BillingContact || [[ApplePayBillingContact|BillingContact]] || * Required|| | | BillingContact || [[ApplePayBillingContact|BillingContact]] || * Required|| The billing information of the payer | ||
|- | |- | ||
| Token || [[ApplePayToken|Token]] || * Required|| | | Token || [[ApplePayToken|Token]] || * Required|| The Token provided by Apple in [https://developer.apple.com/documentation/apple_pay_on_the_web/applepaysession/1778020-onpaymentauthorized onpaymentauthorized] callback. | ||
|} | |} | ||
Revision as of 20:54, 1 December 2021
Barion API: Start Payment With Apple token
POST | /v2/ApplePay/StartPaymentWithAppleToken |
---|
Input properties
Property name | Property type | Limitations and constraints | Description |
---|---|---|---|
POSKey | Guid | * Required | The secret API key of the shop, generated by Barion. This lets the shop to authenticate through the Barion API, but does not provide access to the account owning the shop itself. |
ShippingContact | ShippingContact | * Required | The shipping information of the payer |
BillingContact | BillingContact | * Required | The billing information of the payer |
Token | Token | * Required | The Token provided by Apple in onpaymentauthorized callback. |
Output properties
No specific output property is available, besided the generic ones.
Error code | Description |
---|---|
AuthenticationFailed | Authentication failed. |
ModelValidationError | This happens when some of the input properties fail the basic validation. For example the session request url is malformed. |
InvalidApplePayToken | The provided token is invalid. |
InvalidApplePayMessage | The provided message is invalid. |
ApplePayNotAllowed | Apple Pay not allowed for token payments; |
NotRegisteredToApple | The provided shop url is not registered to Apple. |