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": "46e5e8fa-d01f-46a4-ab07-24e88f0bdfed",
"cause": "sample string 2",
"createdAt": "2025-11-02T09:34:00.2902549+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>2025-11-02T09:34:00.2902549+01:00</CreatedAt> <Identification>46e5e8fa-d01f-46a4-ab07-24e88f0bdfed</Identification> <State>Registered</State> </AddPrePaidResponse>