POST api/OuterGateLinkToPayment/payRecurring
Request Information
URI Parameters
None.
Body Parameters
OuterLinkToPaymentRecurringIn| Name | Description | Type | Additional information |
|---|---|---|---|
| amount | decimal number |
Required |
|
| currency | string |
Required Max length: 10 |
|
| contract | string |
Required Max length: 26 |
|
| payer | Payer |
None. |
|
| description | string |
Max length: 50 |
|
| note | string |
Max length: 500 |
|
| provider-info | Collection of ProviderInfo |
None. |
Request Formats
application/json, text/json
Sample:
{
"amount": 1.0,
"currency": "sample string 2",
"contract": "sample string 3",
"payer": {
"name": "sample string 1",
"surname": "sample string 2",
"email": "sample string 3"
},
"description": "sample string 4",
"note": "sample string 5",
"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
}
]
}
]
}
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
OuterLinkToPaymentRecurringOut| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | LinkToPaymentTransactionStateEnum |
None. |
|
| IdPaymentOrder | string |
None. |
|
| ExternalTransactionID | string |
None. |
|
| ErrorMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": 0,
"IdPaymentOrder": "sample string 1",
"ExternalTransactionID": "sample string 2"
}
application/xml, text/xml
Sample:
<OuterLinkToPaymentRecurringOut xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/tocode.Plugin.Payments.Services.Models.PIS"> <ErrorMessage xmlns="http://schemas.datacontract.org/2004/07/Buffetti.Api.HTTP">sample string 5</ErrorMessage> <Success xmlns="http://schemas.datacontract.org/2004/07/Buffetti.Api.HTTP">true</Success> <ExternalTransactionID>sample string 2</ExternalTransactionID> <IdPaymentOrder>sample string 1</IdPaymentOrder> <LinkToPaymentTransactionId>3</LinkToPaymentTransactionId> <Status>Unknown</Status> </OuterLinkToPaymentRecurringOut>