Authorize a Payment

post

/web/v1/paymentAction

This endpoint is used to authorize a payment by payment reference number.

Request

Supported Media Types
Header Parameters
Body ()
Request Body that contains paymentRefNo to authorize
Root Schema : PaymentCollectionDto
Type: object
ScfPaymentDTO Collection
Show Source
Nested Schema : data
Type: array
Show Source
Nested Schema : ScfPaymentDTO
Type: object
Payment details for Payments Model
Show Source
Back to Top

Response

Supported Media Types

201 Response

Returns the authorized payment status.
Body ()
Root Schema : ResponseDtoWrapper
Type: object
Collection of ResponseDto and ResponseResourceSupport
Show Source
Nested Schema : ResponseResourceSupport
Type: object
Response DTO which extends RepresentationModel of Spring HATEOAS
Nested Schema : ResponseDto
Type: object
ResponseDto stores the response status and code.
Show Source
Nested Schema : codes
Type: array
Show Source
Nested Schema : ResponseCode
Type: object
ResponseCode stores the response details.
Show Source
Nested Schema : args
Type: array
Show Source
Nested Schema : items
Type: object

400 Response

Bad Request

401 Response

Request does not have sufficient credentials.

403 Response

Request is not authorized.

405 Response

Invalid input

500 Response

Internal error
Back to Top