POST api/OuterGatePrePaid/Add
Request Information
URI Parameters
None.
Body Parameters
AddPrePaidRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| amount |
Recharge amount |
decimal number |
Required |
| cause |
Prepaid cause |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"amount": 1.0,
"cause": "sample string 2"
}
application/xml, text/xml
Sample:
<AddPrePaidRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/tocode.Sepafin.Api.PrePaid"> <Amount>1</Amount> <Cause>sample string 2</Cause> </AddPrePaidRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AddPrePaidResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| identification |
Id of prepaid request |
globally unique identifier |
None. |
| cause |
Prepaid cause (autogenerated if null) |
string |
None. |
| createdAt |
Creation date |
date time |
None. |
| state |
State |
PrepaidStates |
None. |
| stateValue |
State |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"identification": "2217bbba-d809-4fd3-982c-64979dcd1648",
"cause": "sample string 2",
"createdAt": "2026-03-21T20:59:15.0721015+01:00",
"state": 0,
"stateValue": "Registered"
}
application/xml, text/xml
Sample:
<AddPrePaidResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/tocode.Sepafin.Api.PrePaid"> <Cause>sample string 2</Cause> <CreatedAt>2026-03-21T20:59:15.0721015+01:00</CreatedAt> <Identification>2217bbba-d809-4fd3-982c-64979dcd1648</Identification> <State>Registered</State> </AddPrePaidResponse>