Send Initial Auth request to SPMS OPI WebAPI

post

/spms/v2/ships/{shipId}/creditCardTransactions/initialAuthorization

This api will generate a new Initial Auth token

Request

Supported Media Types
Path Parameters
Body ()
Root Schema : Initial Auth Parameter
Type: object
Title: Initial Auth Parameter
This is the parameter required to request for Initial Auth
Show Source
Back to Top

Response

Supported Media Types

200 Response

Get validation result based on the parameter shipId and profileId
Body ()
Root Schema : Authorization Request Response
Type: object
Title: Authorization Request Response
This is the request format required to be sent to OPI to get Initial Auth
Show Source
Nested Schema : CpAuthor
Type: object
Show Source

400 Response

Unknown request found
Body ()
Root Schema : Error Response
Type: object
Title: Error Response
Error Response returned when encountered error
Show Source

401 Response

You are not authorized to use this API
Body ()
Root Schema : Error Response
Type: object
Title: Error Response
Error Response returned when encountered error
Show Source

403 Response

You are forbidden to use this API
Body ()
Root Schema : Error Response
Type: object
Title: Error Response
Error Response returned when encountered error
Show Source

404 Response

Record not found
Body ()
Root Schema : Error Response
Type: object
Title: Error Response
Error Response returned when encountered error
Show Source

405 Response

This method is not available
Body ()
Root Schema : Error Response
Type: object
Title: Error Response
Error Response returned when encountered error
Show Source

415 Response

This media supplied is not supported
Body ()
Root Schema : Error Response
Type: object
Title: Error Response
Error Response returned when encountered error
Show Source

500 Response

Error occured while processing this request
Body ()
Root Schema : Error Response
Type: object
Title: Error Response
Error Response returned when encountered error
Show Source

502 Response

Bad Gateway

503 Response

Service not available
Back to Top