PaymentSessions

Creates new payment session.

SecurityBearer or Bearer or Bearer or Bearer
Request
header Parameters
x-api-version
string
Request Body schema: application/json

Payment session creation request.

amount
number <double>
Responses
200

Success

400

Bad Request

500

Server Error

post/pay-int-api/payment-sessions
Request samples
application/json
{
  • "amount": 0
}
Response samples
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}

Cancels the payment session.

SecurityBearer or Bearer or Bearer or Bearer
Request
path Parameters
paymentSessionId
required
string <uuid>
header Parameters
x-api-version
string
Responses
200

Success

404

Not Found

500

Server Error

post/pay-int-api/payment-sessions/{paymentSessionId}/cancel
Request samples
Response samples
application/json
{
  • "details": "Not found Id 'b31fbe9f-eebb-45ce-9cae-92265389f47f' with type='<Service>.DataAccess.Entities.<Model>Entity'",
  • "statusCode": 404,
  • "source": "<Service>",
  • "exceptionType": "Exceptions.NotFoundException",
  • "correlationId": "aa6cfcd0-0295-4a4c-b074-8c901f114fee",
  • "entityId": null,
  • "errorCode": null
}