POST HostedCallCenter by context, contextId

Overview

Generate Link for Adyen Pay By Link Option

Request

POST /[context]/[contextId]/HostedCallCenter

Request Information

Request Parameters

Name
Type
Requirement
Description
paymentMethodId
Integer
Optional
Payment Method Id (Should be 32 for Adyen)
amount
Decimal
Mandatory
Amount (excluding donation amount)
donationAmount
Decimal
Optional
Donation Amount
currencyCode
String
Mandatory
CurrencyCode

Request Example

{
  "paymentMethodId": 32,
  "amount": 2500.0,
  "donationAmount": 25.0,
  "currencyCode": "USD"
}

Response Information

Response Properties

Name
Type
Description
hostedCallCenterPaymentLink
String
hostedCallCenterPaymentLink

Response Codes

HTTP status code
Description
200 OK
The resource was updated successfully
201 Created
The resource was created
400 Bad Request
The resource was malformed
401 Unauthorized
Missing or invalid API key
500 Internal Server Error
An unexpected error occurred on the API server
202 Accepted
The request was accepted
404 Not Found
The specified resource was not found
403 Forbidden
One or more parameters has already been set on the resource record and cannot be updated

Response Example

{
  "hostedCallCenterPaymentLink": "http://"
}