Newer Version Available

This content describes an older version of this product. View Latest

Authorization Reversal Input

Authorization reversal input consumed by authorization reversal service.
JSON example (without idempotency key)
1"paymentAuthReversal": {
2  "accountId": "0000000032",  
3  "amount": "19.39",
4  "effectiveDate": "2020-11-02T08:59:59+08:00"
5}
JSON example (idempotency key in JSON payload)
1{
2"accountId":"",
3"amount":"5000",
4"idempotencyKey":"qw",
5"comments":"Sale of 20 renewed licenses",
6"currencyIsoCode:"USD",
7"effectiveDate":"05-01-2020",
8"paymentGatewayId":"0000000",
9"paymentGroup":"",
10"paymentMethod":"SamplePaymentMethod"
11}
JSON example (idempotency key in header)
1{
2"accountId":"",
3"amount":"5000",
4"comments":"Sale of 20 renewed licenses",
5"currencyIsoCode:"USD",
6"effectiveDate":"05-01-2020",
7"paymentGatewayId":"0000000",
8"paymentGroup":"",
9"paymentMethod":"SamplePaymentMethod"
10}
Header
Name: sfdc-Payments-Idempotency-Key
Data Type: String
Max Length: 255
Example:
1Content-Type: application/json; charset=UTF-8
2Accept: application/json
3sfdc-Payments-Idempotency-Key: UniqueIdempotencyKey
Properties
Name Type Description Required or Optional Available Version
accountId String Account for the payment authorization reversal. Must match the payment authorization's account. Optional 51.0
additionalData Map<String, String> Allows users to enter additional data, if needed for a payment request. The additionalData object consists of entries, each of which includes a key and value. Supports up to five key-value pairs. Each key and each value can contain up to 255 characters. Optional 51.0
amount Double Amount of adjustment applied to the payment authorization. Required 51.0
comments String Users can add comments to provide additional details about a record. Maximum of 1,000 characters. Optional 51.0
effectiveDate String Date that the adjustment takes effect on the authorization. Required 51.0
email String Email of the client that initiated the request. Optional 51.0
idempotencyKey String Idempotency key used for the payment request. Can be provided in the payload or the header, but not in both places at once. Optional 51.0
ipAddress String IP address of the client who made the request. Optional 51.0
macAddress String MAC address of the client who made the request. Optional 51.0
phone String Phone number of the client that initiated the request. Optional 51.0