24SevenPay PaymenLink API (v1)
Download OpenAPI specification:Download
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
- Payload
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": {
- "street": "string",
- "postalCode": "stri",
- "city": "string",
- "countryCode": "string"
}, - "customer": {
- "firstName": "string",
- "lastName": "string",
- "organizationName": "string",
- "organizationNumber": "string",
- "phoneNumber": "string",
- "email": "user@example.com"
}, - "description": "string",
- "instantCapture": true
}Response samples
- 200
- 400
Content type
No sample