go back to PaymentApiService

POST /payments/submitTransaction/{stopId}

Accept payment code details from payment service provider. Attached document to order history comment, index to DocumentPower, and create wire transaction record.

Roles that can access this endpoint are Payment Service.

Parameters

name description type default type
stopId (Required) The stop for which the payment code is being created or rejected. path String
payeeId (Optional) The payeeId which will be associated with the wire transaction code. query String
paymentCode (REQUIRED) The Payment code provided by the payment vendor. query String
amount (REQUIRED) The amount of the wire to be posted in USD. query BigDecimal
internalCodeId (REQUIRED) The payment service provider internal code for support purposes. query String
transactionDateTime (REQUIRED) Date and time when transaction occurred. query Date
transactionWireCode (REQUIRED) The wire service code associated to be use on wire transaction record. query String
imageTypeId (REQUIRED) The id associated with the document type in DocumentPower. query String
image (REQUIRED) Image of the transaction receipt. body of type: image/jpeg image/gif image/tiff image/png image/bmp application/pdf InputStream

Result

Response of type: text/plain

A response containing the payment code processed successfully or a failure.

Wire Transaction Record If an invalid wire transaction record is provided, an Order History Comment will reflect that the wire transaction record was invalid and the customer has to create the missing transaction manually.
Existing Transaction Record If wire transaction record exist, an Order History Comment will reflect that the transaction appears to be a duplicate of a transaction previously processed. Unable to create wire transaction record and the customer has to create the missing transaction manually.

Try It Out

Request

- Authentication Help
- String
- String
- String
- BigDecimal
- String
- Date
- String
- String
- InputStream