post https://example.com/paymentoptions
Get Payment Options retrieves all the available payment options for the current purchase based on the total amount, currency and country.
Use the information from the response to display the available payment options to the user.
HTTP Request
POST /paymentoptions
Request Parameters
Property | Type | Description |
---|---|---|
totalAmount required | decimal | Total amount for the purchase. Example: 595.00 |
currencyCode required | string(3) | ISO 4217 alpha-3 or numerical code. Examples: "SEK" , "752" |
paymentChannelId required | int | The ID of the payment channel, see paymentChannelID page for possible values. Example: 1 |
countryCode required | string(2) | Two-letter Country Code. Examples: "SE" , "NO" |
languageCode required | string(3) | Language in which label texts should be returned. Examples: "SWE" , "ENG" |
Response Parameters
Property | Value | Description |
---|---|---|
status required | status | API operation status Example: { "isSuccess": true, "errorNumber": 0, "statusKey": "SUCCESS", "statusMessage": "The operation was successful.", "errors": null, "exceptionDetails": null } |