Skip to main content

24SevenPay PaymenLink API (v1)

Download OpenAPI specification:Download

Processes a payment link, and redirects to the payment page.

path Parameters
merchantId
required
integer <int32>
query Parameters
link
required
string

Responses

Generates a payment link

Request Body schema:
id
required
string [ 1 .. 36 ] characters
merchantId
required
integer <int32>
key
required
string = 32 characters

Your API Key. Used to encrypt payment link

kid
required
string [ 2 .. 25 ] characters
accountNumber
required
string = 11 characters ^[0-9]*$
purchaseDate
required
string <date-time> non-empty
dueDate
required
string <date-time> non-empty
amount
required
integer <int64>

Amount inc tax in minor units. 100NOK = 10000

taxAmount
integer <int64>

Tax amount in minor units. 100NOK = 10000

taxRate
integer or null <int32>

Tax rate in minor units. 25% = 2500

required
object (Address)
required
object (Customer)
description
string or null <= 100 characters
instantCapture
boolean or null

Responses

Request samples

Content type
{
  • "id": "string",
  • "merchantId": 0,
  • "key": "stringstringstringstringstringst",
  • "kid": "string",
  • "accountNumber": "stringstrin",
  • "purchaseDate": "2019-08-24T14:15:22Z",
  • "dueDate": "2019-08-24T14:15:22Z",
  • "amount": 0,
  • "taxAmount": 0,
  • "taxRate": 0,
  • "address": {
    },
  • "customer": {
    },
  • "description": "string",
  • "instantCapture": true
}

Response samples

Content type
No sample