ApplePay-StartPaymentWithAppleToken: Difference between revisions
Jump to navigation
Jump to search
Stankovicsa (talk | contribs) |
Stankovicsa (talk | contribs) No edit summary |
||
Line 25: | Line 25: | ||
== Output properties == | == Output properties == | ||
No specific output property is available, besided the generic ones. | No specific output property is available, besided the generic ones. | ||
== Possible error responses == | |||
{| class="wikitable api-table" | {| class="wikitable api-table" |
Revision as of 21:04, 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.
Possible error responses
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. |