POST api/OuterGate/PayFreccia

Permette il pagamento di un Freccia

Request Information

URI Parameters

None.

Body Parameters

Oggetto da valorizzare con i dati del freccia da pagare

OuterFrecciaModelIn
NameDescriptionTypeAdditional information
PosCode

Identificativo POS

integer

Range: inclusive between 0 and 99999999

CustomerAlternativeAddressId

Id dell'indirizzo alternativo del cliente intestatario del bollettino

integer

None.

Code

Codice Identificativo (21 Caratteri)

string

Required

Matching regular expression pattern: ^([0-9A-Z]{21})$

TransferAmount

Importo del Freccia

decimal number

Required

Data type: Currency

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

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

CinAmount

Cin importo

character

Required

CinIdCode

Cin codice identificativo

character

Required

CinGlobal

Cin complessivo

character

Required

Iban

Iban creditore

string

Required

Matching regular expression pattern: ^[0-9a-zA-Z]{27}$

Currency

Carattere divisa, sempre "E" (Euro)

character

Required

IdAvoidCode

Codice esenzione

integer

Required

Range: inclusive between 1 and 3

Cause

Causale

string

Matching regular expression pattern: ^[a-zA-Z0-9\-_?()+ ,;'=*$%@\.]*$

CreatedByIpAddress

Indirizzo IP

string

Required

Matching regular expression pattern: \b\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\b

PaymentType

Tipo di pagamento

PaymentType

Required

CustomerSepafinId

Id cliente intestatario bollettino

integer

Required

CustomerExecutorSepafinId

Id del cliente esecutore del bollettino

integer

Required

CustomData1

Campo personalizzabile

string

None.

CustomData2

Campo personalizzabile

string

None.

CustomData3

Campo personalizzabile

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PosCode": 1,
  "CustomerAlternativeAddressId": 1,
  "Code": "sample string 1",
  "TransferAmount": 2.0,
  "CinAmount": "A",
  "CinIdCode": "A",
  "CinGlobal": "A",
  "Iban": "sample string 6",
  "Currency": "A",
  "IdAvoidCode": 8,
  "Cause": "sample string 9",
  "CreatedByIpAddress": "sample string 10",
  "PaymentType": 0,
  "CustomerSepafinId": 1,
  "CustomerExecutorSepafinId": 1,
  "CustomData1": "sample string 11",
  "CustomData2": "sample string 12",
  "CustomData3": "sample string 13"
}

application/xml, text/xml

Sample:
<OuterFrecciaModelIn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/tocode.Sepafin.Api.OuterModels">
  <Cause>sample string 9</Cause>
  <Code>sample string 1</Code>
  <CreatedByIpAddress>sample string 10</CreatedByIpAddress>
  <CustomData1>sample string 11</CustomData1>
  <CustomData2>sample string 12</CustomData2>
  <CustomData3>sample string 13</CustomData3>
  <CustomerExecutorSepafinId>1</CustomerExecutorSepafinId>
  <CustomerSepafinId>1</CustomerSepafinId>
  <PaymentType>Cash</PaymentType>
  <TransferAmount>2</TransferAmount>
  <CinAmount>65</CinAmount>
  <CinGlobal>65</CinGlobal>
  <CinIdCode>65</CinIdCode>
  <Currency>65</Currency>
  <CustomerAlternativeAddressId>1</CustomerAlternativeAddressId>
  <Iban>sample string 6</Iban>
  <IdAvoidCode>8</IdAvoidCode>
  <PosCode>1</PosCode>
</OuterFrecciaModelIn>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

OuterPayFrecciaModelOut
NameDescriptionTypeAdditional information
PosCode

Identificativo POS

integer

Range: inclusive between 0 and 99999999

CustomerAlternativeAddressId

Id dell'indirizzo alternativo del cliente intestatario del bollettino

integer

None.

IdBulletin

Identificativo interno della transazione

integer

None.

CurrencyDate

Data di valuta calcolata

date time

None.

PaymentDate

Data di pagamento

date time

None.

CustomerLastNameOrBusinessName

Cognome cliente

string

None.

CustomerName

Nome cliente

string

None.

CustomerAddress

Indirizzo cliente

string

None.

EmployeeUsername

Operatore

string

None.

UniqueKey

Codice univoco della transazione utilizzato per recuperare il bollettino da portale.

string

None.

FeesAmount

decimal number

None.

PosPid

Codice univo della transazione POS

string

None.

Code

Codice

string

Required

Matching regular expression pattern: ^([0-9]{17})$

TransferAmount

Importo del MAV/RAV

decimal number

Required

Data type: Currency

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

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

Cause

Causale

string

Matching regular expression pattern: ^[a-zA-Z0-9\-_?()+ ,;'=*$%@\.]*$

CreatedByIpAddress

Indirizzo IP

string

Required

Matching regular expression pattern: \b\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\b

PaymentType

Tipo di pagamento

PaymentType

Required

CustomerSepafinId

Id cliente intestatario bollettino

integer

Required

CustomerExecutorSepafinId

Id del cliente esecutore del bollettino

integer

Required

CustomData1

Campo personalizzabile

string

None.

CustomData2

Campo personalizzabile

string

None.

CustomData3

Campo personalizzabile

string

None.

Response Formats

application/json, text/json

Sample:
{
  "PosCode": 1,
  "CustomerAlternativeAddressId": 1,
  "IdBulletin": 1,
  "CurrencyDate": "2025-05-14T05:47:05.5943382+02:00",
  "PaymentDate": "2025-05-14T05:47:05.5943382+02:00",
  "CustomerLastNameOrBusinessName": "sample string 4",
  "CustomerName": "sample string 5",
  "CustomerAddress": "sample string 6",
  "EmployeeUsername": "sample string 7",
  "UniqueKey": "sample string 8",
  "FeesAmount": 9.0,
  "PosPid": "sample string 10",
  "Code": "sample string 11",
  "TransferAmount": 12.0,
  "Cause": "sample string 13",
  "CreatedByIpAddress": "sample string 14",
  "PaymentType": 0,
  "CustomerSepafinId": 1,
  "CustomerExecutorSepafinId": 1,
  "CustomData1": "sample string 15",
  "CustomData2": "sample string 16",
  "CustomData3": "sample string 17"
}

application/xml, text/xml

Sample:
<OuterPayFrecciaModelOut xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/tocode.Sepafin.Api.OuterModels">
  <Cause>sample string 13</Cause>
  <Code>sample string 11</Code>
  <CreatedByIpAddress>sample string 14</CreatedByIpAddress>
  <CustomData1>sample string 15</CustomData1>
  <CustomData2>sample string 16</CustomData2>
  <CustomData3>sample string 17</CustomData3>
  <CustomerExecutorSepafinId>1</CustomerExecutorSepafinId>
  <CustomerSepafinId>1</CustomerSepafinId>
  <PaymentType>Cash</PaymentType>
  <TransferAmount>12</TransferAmount>
  <CurrencyDate>2025-05-14T05:47:05.5943382+02:00</CurrencyDate>
  <CustomerAddress>sample string 6</CustomerAddress>
  <CustomerLastNameOrBusinessName>sample string 4</CustomerLastNameOrBusinessName>
  <CustomerName>sample string 5</CustomerName>
  <EmployeeUsername>sample string 7</EmployeeUsername>
  <FeesAmount>9</FeesAmount>
  <IdBulletin>1</IdBulletin>
  <PaymentDate>2025-05-14T05:47:05.5943382+02:00</PaymentDate>
  <PosPid>sample string 10</PosPid>
  <UniqueKey>sample string 8</UniqueKey>
  <CustomerAlternativeAddressId>1</CustomerAlternativeAddressId>
  <PosCode>1</PosCode>
</OuterPayFrecciaModelOut>