POST api/OuterGatePrePaidCreditor/Add
Request Information
URI Parameters
None.
Body Parameters
AddPrePaidCreditorRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| debtorId | string |
Required |
|
| amount |
Recharge amount |
decimal number |
Required |
| cause |
Prepaid cause |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"debtorId": "sample string 1",
"amount": 2.0,
"cause": "sample string 3"
}
application/xml, text/xml
Sample:
<AddPrePaidCreditorRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/tocode.Sepafin.Api.PrePaidCreditor"> <Amount xmlns="http://schemas.datacontract.org/2004/07/tocode.Sepafin.Api.PrePaid">2</Amount> <Cause xmlns="http://schemas.datacontract.org/2004/07/tocode.Sepafin.Api.PrePaid">sample string 3</Cause> <DebtorId>sample string 1</DebtorId> </AddPrePaidCreditorRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AddPrePaidCreditorResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| debtorId | string |
None. |
|
| 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:
{
"debtorId": "sample string 1",
"identification": "f59f95f4-8287-4fcf-854f-1a5e1eea0301",
"cause": "sample string 3",
"createdAt": "2026-04-05T10:52:08.77585+02:00",
"state": 0,
"stateValue": "Registered"
}
application/xml, text/xml
Sample:
<AddPrePaidCreditorResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/tocode.Sepafin.Api.PrePaidCreditor"> <Cause xmlns="http://schemas.datacontract.org/2004/07/tocode.Sepafin.Api.PrePaid">sample string 3</Cause> <CreatedAt xmlns="http://schemas.datacontract.org/2004/07/tocode.Sepafin.Api.PrePaid">2026-04-05T10:52:08.77585+02:00</CreatedAt> <Identification xmlns="http://schemas.datacontract.org/2004/07/tocode.Sepafin.Api.PrePaid">f59f95f4-8287-4fcf-854f-1a5e1eea0301</Identification> <State xmlns="http://schemas.datacontract.org/2004/07/tocode.Sepafin.Api.PrePaid">Registered</State> <DebtorId>sample string 1</DebtorId> </AddPrePaidCreditorResponse>