POST api/OuterGatePrePaidCreditor/Add

Request Information

URI Parameters

None.

Body Parameters

AddPrePaidCreditorRequest
NameDescriptionTypeAdditional 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
NameDescriptionTypeAdditional 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": "558f1d3b-6aa9-4018-9604-839da5ed1279",
  "cause": "sample string 3",
  "createdAt": "2025-05-14T03:20:52.8269711+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">2025-05-14T03:20:52.8269711+02:00</CreatedAt>
  <Identification xmlns="http://schemas.datacontract.org/2004/07/tocode.Sepafin.Api.PrePaid">558f1d3b-6aa9-4018-9604-839da5ed1279</Identification>
  <State xmlns="http://schemas.datacontract.org/2004/07/tocode.Sepafin.Api.PrePaid">Registered</State>
  <DebtorId>sample string 1</DebtorId>
</AddPrePaidCreditorResponse>