POST api/paynearme/payment-reversal

Request Information

URI Parameters

None.

Body Parameters

BankReturnPayment
NameDescriptionTypeAdditional information
payment_bank_last4

string

None.

payment_bank_name

string

None.

reverse_code

string

None.

reverse_reason

string

None.

standin

string

None.

order_payee_identifier

string

None.

payment_amount

string

None.

payment_currency

string

None.

payment_timestamp

string

None.

pnm_order_identifier

string

None.

pnm_payment_identifier

string

None.

site_order_identifier

string

None.

reverse_amount

string

None.

reverse_currency

string

None.

reverse_date

string

None.

reverse_type

string

None.

signature

string

None.

site_customer_identifier

string

None.

site_identifier

string

None.

status

string

None.

timestamp

string

None.

version

string

None.

Request Formats

application/json, text/json

Sample:
{
  "payment_bank_last4": "sample string 1",
  "payment_bank_name": "sample string 2",
  "reverse_code": "sample string 3",
  "reverse_reason": "sample string 4",
  "standin": "sample string 5",
  "order_payee_identifier": "sample string 6",
  "payment_amount": "sample string 7",
  "payment_currency": "sample string 8",
  "payment_timestamp": "sample string 9",
  "pnm_order_identifier": "sample string 10",
  "pnm_payment_identifier": "sample string 11",
  "site_order_identifier": "sample string 12",
  "reverse_amount": "sample string 13",
  "reverse_currency": "sample string 14",
  "reverse_date": "sample string 15",
  "reverse_type": "sample string 16",
  "signature": "sample string 17",
  "site_customer_identifier": "sample string 18",
  "site_identifier": "sample string 19",
  "status": "sample string 20",
  "timestamp": "sample string 21",
  "version": "sample string 22"
}

application/xml, text/xml

Sample:
<BankReturnPayment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Automatrix.DMS.Business.Entities.Models.PayNearMe">
  <OrderPayeeIdentifier>sample string 6</OrderPayeeIdentifier>
  <PaymentAmount>sample string 7</PaymentAmount>
  <PaymentCurrency>sample string 8</PaymentCurrency>
  <PaymentTimestamp>sample string 9</PaymentTimestamp>
  <PnmOrderIdentifier>sample string 10</PnmOrderIdentifier>
  <PnmPaymentIdentifier>sample string 11</PnmPaymentIdentifier>
  <ReverseAmount>sample string 13</ReverseAmount>
  <ReverseCurrency>sample string 14</ReverseCurrency>
  <ReverseDate>sample string 15</ReverseDate>
  <ReverseType>sample string 16</ReverseType>
  <Signature>sample string 17</Signature>
  <SiteCustomerIdentifier>sample string 18</SiteCustomerIdentifier>
  <SiteIdentifier>sample string 19</SiteIdentifier>
  <SiteOrderIdentifier>sample string 12</SiteOrderIdentifier>
  <Status>sample string 20</Status>
  <Timestamp>sample string 21</Timestamp>
  <Version>sample string 22</Version>
  <PaymentBankLast4>sample string 1</PaymentBankLast4>
  <PaymentBankName>sample string 2</PaymentBankName>
  <ReverseCode>sample string 3</ReverseCode>
  <ReverseReason>sample string 4</ReverseReason>
  <Standin>sample string 5</Standin>
</BankReturnPayment>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'BankReturnPayment'

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.