PlacePaymentRequest
Container: CCPServiceNamespace: System.Data.Objects
Summary
Places a payment request with the IPaymentServiceProvider.Method
The HTTP method for this function import is POSTParameters
| 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 |
Return
Type: Entity type - PaymentIs collection: false
Summary: The created payment object.
Example
Request URL: https://ccp.dispatchconnect.nl/CCPService/DataServiceCCP.svc/PlacePaymentRequestExample body (sent with POST-request):
{
"tripId" : 1,
"currency" : "currency",
"gateway" : "gateway",
"issuer" : "issuer",
"successUrl" : "successurl",
"cancelledUrl" : "cancelledurl"
}