Update a Payment Status
This web service modifies a payments status by the passing in the payment Id.
Query String Parameters
Name | Type | Description | Note |
---|---|---|---|
Action | String | PaymentSetStatusById | Required |
SyncStatus | Int | The status of the transaction to change. | Required |
PaymentId | Int | The Id of the payment to change status. | Required |
Error | String | The error message associated with the payment failure. This is added to the payment where it fails to process (status 1). | Optional |
Response Codes
Example
- Request
- Response
Request URL
https://webservice.bigchange.com/v01/services.ashx?action=paymentsetstatusbyid
Response Data
{ "Code": 0, "Result": [ { "JourneyId": "12345", "StartTime": "2024-08-18T08:00:00Z", "EndTime": "2024-08-18T10:00:00Z", "StartLocation": "Location A", "EndLocation": "Location B", "Distance": 25.6, "Unit": "kilometers" } ] }