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 .jsv suffix or ?format=jsv
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: text/jsv
Content-Type: text/jsv
Content-Length: length
{
rslReferenceNumber: String,
btReferenceNumber: String,
amount: 0,
paymentId: 0
}