POST api/OuterGate/CheckBankPaymentSlipAlreadyPaid

Verifica se il ballettino che si sta pagando è già stato pagato nella giornata. Metodo da richiamare prima di un pagamento bollettino (PayBankPaymentSlip), se ritorna true allora il bollettino è già stato pagato nella giornata e bisogna mostrare al PO un messaggio di allerta: "Attenzione! è stato pagato un bollettino identico nella giornata, se conferma, il pagamento non potrà essere stornato!"

Request Information

URI Parameters

None.

Body Parameters

The model.

OuterBankPaymentSlipAlreadyPaidModelIn
NameDescriptionTypeAdditional information
PayeeCcp

Conto corrente postale del Beneficiario

long integer

Required

TransferAmount

Importo bollettino

decimal number

Required

Data type: Currency

Matching regular expression pattern: ^[0-9]+([.,][0-9]{0,2})?$

Range: inclusive between 0,01 and 1E+15

BankPaymentSlipCode

Codice bollettino

string

None.

BankPaymentSlipType

Gets or sets the type of the bank payment slip.

BankPaymentSlipType

Required

Range: inclusive between 123 and 2147483647

Cause

Causale

string

None.

CustomerSepafinId

Id del cliente intestatario

integer

None.

CustomTags

Lista dei CustomTag

Collection of OuterBillerCustomTagModelIn

None.

MetaTags

Lista dei MetaTag

Collection of OuterBillerMetaTagModelIn

None.

Request Formats

application/json, text/json

Sample:
{
  "PayeeCcp": 1,
  "TransferAmount": 1.0,
  "BankPaymentSlipCode": "sample string 2",
  "BankPaymentSlipType": 123,
  "Cause": "sample string 3",
  "CustomerSepafinId": 1,
  "CustomTags": [
    {
      "TagLabel": "sample string 1",
      "Value": "sample string 2"
    },
    {
      "TagLabel": "sample string 1",
      "Value": "sample string 2"
    }
  ],
  "MetaTags": [
    {
      "TagLabel": "sample string 1",
      "Value": "sample string 2"
    },
    {
      "TagLabel": "sample string 1",
      "Value": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<OuterBankPaymentSlipAlreadyPaidModelIn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/tocode.Sepafin.Api.OuterModels">
  <BankPaymentSlipCode>sample string 2</BankPaymentSlipCode>
  <BankPaymentSlipType>B123</BankPaymentSlipType>
  <Cause>sample string 3</Cause>
  <CustomTags>
    <OuterBillerCustomTagModelIn>
      <TagLabel>sample string 1</TagLabel>
      <TagRegEx>sample string 3</TagRegEx>
      <Value>sample string 2</Value>
    </OuterBillerCustomTagModelIn>
    <OuterBillerCustomTagModelIn>
      <TagLabel>sample string 1</TagLabel>
      <TagRegEx>sample string 3</TagRegEx>
      <Value>sample string 2</Value>
    </OuterBillerCustomTagModelIn>
  </CustomTags>
  <CustomerSepafinId>1</CustomerSepafinId>
  <MetaTags>
    <OuterBillerMetaTagModelIn>
      <TagLabel>sample string 1</TagLabel>
      <Value>sample string 2</Value>
    </OuterBillerMetaTagModelIn>
    <OuterBillerMetaTagModelIn>
      <TagLabel>sample string 1</TagLabel>
      <Value>sample string 2</Value>
    </OuterBillerMetaTagModelIn>
  </MetaTags>
  <PayeeCcp>1</PayeeCcp>
  <TransferAmount>1</TransferAmount>
</OuterBankPaymentSlipAlreadyPaidModelIn>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>