Payment operations
The ePayment API exposes seven payment operations:
- Create a payment
- Capture a payment
- Cancel a payment
- Refund a payment
- Get a payment
- Get payment event log
- Force approve (only available in the test environment)
See: Payment states and modifications.
Amount limits
The minimum amounts allowed are NOK 100 øre, DKK 1 øre, EUR 1 cent.
Rate limiting
We have added rate limiting to our APIs (HTTP 429 Too Many Requests
) to prevent fraudulent and
wrongful behavior, and to increase the stability and security of our APIs. The limits should
not affect normal behavior, but please contact us if you notice any unexpected behavior.
The Key
column specifies what we consider to be the unique identifier, and
what we "use to count". The limits are of course not total limits.
The MSN is the unique identifier of the sales unit.
API | Limit | Key | Explanation |
---|---|---|---|
Create | 5 per minute | reference + MSN | Five calls per minute for each unique reference |
Capture | 5 per minute | reference + MSN | Five calls per minute for each unique reference |
Cancel | 5 per minute | reference + MSN | Five calls per minute for each unique reference |
Refund | 5 per minute | reference + MSN | Five calls per minute for each unique reference |
Get a payment | 120 per minute | reference + subscription key | 120 calls per minute for each unique reference |
Get payment event log | 120 per minute | reference + subscription key | 120 calls per minute for each unique reference |
Please note: The "Key" column is important. The above means that we allow 5
Create
calls per minute per unique reference
for that MSN. This
is to prevent too many initiate calls for the same payment. The overall limit
for number of different payments is far higher than 5. The same goes for
Capture a payment:
You can make five capture calls per minute for
one unique reference
, and the limit for capture calls for different reference
values
is far higher.