POST api/OuterGateLinkToPayment/order
Request a link to pay
Request Information
URI Parameters
None.
Body Parameters
OuterLinkToPaymentOrderIn| Name | Description | Type | Additional information |
|---|---|---|---|
| amount | decimal number |
Required |
|
| currency | TypeOfCurrency |
Required |
|
| type-generation | string |
Required Max length: 5 |
|
| payment-types | Collection of TypeOfPayments |
Required |
|
| provider-info | Collection of ProviderInfo |
None. |
|
| callback | RedirectUrls |
Required |
|
| payer | Payer |
None. |
|
| pis-type | TypeOfPis |
None. |
|
| creditor-iban | string |
Max length: 100 |
|
| creditor-name | string |
Max length: 100 |
|
| creditor-country | string |
Max length: 2 Min length: 2 |
|
| debtor-iban | string |
Max length: 100 |
|
| pis-instrument | TypeOfInstrument |
None. |
Request Formats
application/json, text/json
Sample:
{
"amount": 1.0,
"currency": 0,
"type-generation": "sample string 2",
"payment-types": [
0,
0
],
"provider-info": [
{
"id": 1,
"name": "sample string 2",
"custom-field": [
{
"name": "sample string 1",
"value": null
},
{
"name": "sample string 1",
"value": null
}
]
},
{
"id": 1,
"name": "sample string 2",
"custom-field": [
{
"name": "sample string 1",
"value": null
},
{
"name": "sample string 1",
"value": null
}
]
}
],
"callback": {
"success": "sample string 1",
"failure": "sample string 2",
"cancel": "sample string 3"
},
"payer": {
"name": "sample string 1",
"surname": "sample string 2",
"email": "sample string 3"
},
"pis-type": 0,
"creditor-iban": "sample string 3",
"creditor-name": "sample string 4",
"creditor-country": "sample string 5",
"debtor-iban": "sample string 6",
"pis-instrument": 0
}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
OuterLinkToPaymentOrderOut| Name | Description | Type | Additional information |
|---|---|---|---|
| date | date time |
None. |
|
| status | string |
None. |
|
| transaction-id | string |
None. |
|
| url | string |
None. |
|
| enabled-payment-methods | Collection of string |
None. |
|
| ErrorMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"date": "2026-05-06T15:17:43.0736595+02:00",
"status": "sample string 2",
"transaction-id": "sample string 3",
"url": "sample string 4",
"enabled-payment-methods": [
"sample string 1",
"sample string 2"
]
}
application/xml, text/xml
Sample:
<OuterLinkToPaymentOrderOut xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/tocode.Plugin.Payments.Services.Models.LinkToPayment">
<ErrorMessage xmlns="http://schemas.datacontract.org/2004/07/Buffetti.Api.HTTP">sample string 6</ErrorMessage>
<Success xmlns="http://schemas.datacontract.org/2004/07/Buffetti.Api.HTTP">true</Success>
<Date>2026-05-06T15:17:43.0736595+02:00</Date>
<EnabledPaymentMethods xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</EnabledPaymentMethods>
<Status>sample string 2</Status>
<Transactionid>sample string 3</Transactionid>
<Url>sample string 4</Url>
</OuterLinkToPaymentOrderOut>