POST | /payments/syncstatus | Sync payment | Search in Braintree by either RSL reference number OR Braintree Transaction. Matching transaction is updated in the payments table. |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
RslReferenceNumber | body | string | No | |
BTReferenceNumber | body | string | No | |
Amount | body | decimal? | No | |
PaymentId | body | long? | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /payments/syncstatus HTTP/1.1
Host: azs-dev-payment-web.azurewebsites.net
Accept: application/json
Content-Type: application/json
Content-Length: length
{"rslReferenceNumber":"String","btReferenceNumber":"String","amount":0,"paymentId":0}