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 |
|---|---|---|
totalAmountrequired | decimal | Total amount for the purchase. Example: 595.00 |
currencyCoderequired | string(3) | ISO 4217 alpha-3 or numerical code. Examples: "SEK", "752" |
paymentChannelIdrequired | int | The ID of the payment channel, see paymentChannelID page for possible values. Example: 1 |
countryCoderequired | string(2) | Two-letter Country Code. Examples: "SE", "NO" |
languageCoderequired | string(3) | Language in which label texts should be returned. Examples: "SWE", "ENG" |
Response Parameters
| Property | Value | Description |
|---|---|---|
statusrequired | status | API operation status Example: { "isSuccess": true, "errorNumber": 0, "statusKey": "SUCCESS", "statusMessage": "The operation was successful.", "errors": null, "exceptionDetails": null } |
