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": "5d26cf2a-8954-4a23-98e6-64b76c17c76a",
"cause": "sample string 3",
"createdAt": "2025-12-20T13:07:30.8705327+01: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">2025-12-20T13:07:30.8705327+01:00</CreatedAt> <Identification xmlns="http://schemas.datacontract.org/2004/07/tocode.Sepafin.Api.PrePaid">5d26cf2a-8954-4a23-98e6-64b76c17c76a</Identification> <State xmlns="http://schemas.datacontract.org/2004/07/tocode.Sepafin.Api.PrePaid">Registered</State> <DebtorId>sample string 1</DebtorId> </AddPrePaidCreditorResponse>