PlacePaymentRequest

Container: CCPService
Namespace: System.Data.Objects

Summary

Places a payment request with the IPaymentServiceProvider.

Method

The HTTP method for this function import is POST

Parameters

Name Type Summary
tripId* Edm.Int32 The ID of the Trip related to the payment
currency Edm.String optional: Currency which will be used
gateway Edm.String optional: Gateway which will be used
issuer Edm.String optional: issuer for the gateway
successUrl Edm.String
cancelledUrl Edm.String
Parameters marked with a * are required

Return

Type: Entity type - Payment
Is collection: false
Summary: The created payment object.

Example

Request URL: https://ccp.dispatchconnect.nl/CCPService/DataServiceCCP.svc/PlacePaymentRequest
Example body (sent with POST-request):
{
  "tripId" : 1,
  "currency" : "currency",
  "gateway" : "gateway",
  "issuer" : "issuer",
  "successUrl" : "successurl",
  "cancelledUrl" : "cancelledurl"
}