Create a debit authorization
post
/fscmRestApi/resources/11.13.18.05/debitAuthorizations
Request
Header Parameters
-
Effective-Of:
This header accepts a string value. The string is a semi-colon separated list of
= . It is used to perform effective date range operations. The accepted parameters are RangeMode, RangeSpan, RangeStartDate, RangeEndDate, RangeStartSequence and RangeEndSequence. The parameter values are always strings. The possible values for RangeMode are SET_LOGICAL_START, SET_LOGICAL_END, END_DATE, SET_EFFECTIVE_START, SET_EFFECTIVE_END, REPLACE_CORRECTION, REPLACE_UPDATE, RECONCILE_CORRECTION, CORRECTION, RECONCILE_UPDATE, UPDATE, ZAP and DELETE_CHANGES. The possible values for RangeSpan are PHYSICAL_ROW_END_DATE and LOGICAL_ROW_END_DATE. The values for RangeStartDate and RangeEndDate have to be a string representation of a date in yyyy-MM-dd format. The value for RangeStartSequence and RangeEndSequence must be strings such that when parsed they yield positive integers. -
Metadata-Context:
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version:
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
-
Upsert-Mode:
Contains one of the following values: true or false. If true, the server performs an Upsert operation instead of a Create operation. During an Upsert operation, the server attempts to find an existing resource that matches the payload. If a match is found, the server updates the existing resource instead of creating a new one. If not found or false (default), the server performs a Create operation. Note that the Upsert operation isn't supported for date-effective REST resources.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object-
AuthorizationMethod: string
Title:
Authorization MethodMaximum Length:255Method of delivering the debit authorization. Values include Digital Signature, Written Document, Phone, and Other. -
CancellationDate: string
(date)
Date when the debtor canceled the debit authorization.
-
CreditorIdentificationNumber: string
Maximum Length:
150Identification number of the creditor, as provided on the debit authorization document. -
CustomerBankAccountIdentifier(required): integer
(int64)
Title:
Bank Account NumberIdentifier of a customer bank account. -
CustomerBankAccountNumber: string
Maximum Length:
255Bank account number of a customer. For display purposes, the masked value is returned. -
CustomerPartyIdentifier(required): integer
(int64)
Title:
Debtor Party IdentifierParty identifier of the debtor. -
CustomerPartyName: string
Title:
NameMaximum Length:360Party name of the debtor. -
CustomerPartyNumber: string
Title:
Registry IDMaximum Length:30Party number of the debtor. -
DebitAuthorizationId: integer
(int64)
Title:
Debit Authorization IdentifierIdentifier of a debit authorization. -
DebitAuthorizationReferenceNumber: string
Maximum Length:
100Unique user-specified reference number of a debit authorization. -
debitAuthorizationVersions: array
Debit Authorization Versions
Title:
Debit Authorization VersionsThe debit authorization version resource is used to view a debit authorization version. -
FinalCollectionDate: string
(date)
Date when the final collection of a direct debit was made, according to the debit authorization.
-
Frequency: string
Title:
FrequencyMaximum Length:255Regularity with which direct debit instructions are created and processed. -
IBAN: string
Maximum Length:
255International Bank Account Number (IBAN), which is an alphanumeric sequence that conforms to the ISO standard for uniquely identifying a bank account number internationally. The standard IBAN carries all the routing information needed to get a payment from one bank to another. -
LegalEntityIdentifier: integer
(int64)
Title:
Legal EntityIdentifier of a legal entity. -
LegalEntityName: string
Title:
Legal EntityMaximum Length:240Name of the legal entity on the debit authorization. -
PrimaryIndicator: string
Title:
PrimaryMaximum Length:1Default Value:NIndicates whether a debit authorization is primary. -
SigningDate: string
(date)
Date when the debtor signed the debit authorization.
-
TransactionType: string
Title:
Transaction TypeMaximum Length:255Type of debit authorization, one-off or recurring. -
VersionNumber: integer
(int32)
Title:
Version NumberDefault Value:1Version number of the debit authorization. The version is set at 1 and increases with each new amendment.
Nested Schema : Debit Authorization Versions
Type:
arrayTitle:
Debit Authorization VersionsThe debit authorization version resource is used to view a debit authorization version.
Show Source
Nested Schema : debitAuthorizations-debitAuthorizationVersions-item-post-request
Type:
Show Source
objectResponse
Supported Media Types
- application/json
Default Response
The following table describes the default response for this task.
Headers
-
Metadata-Context:
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version:
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Root Schema : debitAuthorizations-item-response
Type:
Show Source
object-
AuthorizationMethod: string
Title:
Authorization MethodMaximum Length:255Method of delivering the debit authorization. Values include Digital Signature, Written Document, Phone, and Other. -
BankAccountCountry: string
Title:
CountryRead Only:trueMaximum Length:2Name of the country where a customer has a bank account. -
BankAccountCurrency: string
Read Only:
trueMaximum Length:15Currency of the customer's bank account. -
BankBranchName: string
Read Only:
trueMaximum Length:360Name of the bank branch where a customer has an account. -
BankName: string
Read Only:
trueMaximum Length:360Name of the bank where a customer has an account. -
BIC: string
Read Only:
trueMaximum Length:30Bank Identifier Code (BIC), which is the identifier code used by SWIFT to identify a bank or bank branch. The BIC is a universal method of identifying financial institutions to facilitate the automated processing of telecommunication messages in banking and related financial environments. -
CancellationDate: string
(date)
Date when the debtor canceled the debit authorization.
-
CreditorIdentificationNumber: string
Maximum Length:
150Identification number of the creditor, as provided on the debit authorization document. -
CustomerBankAccountIdentifier: integer
(int64)
Title:
Bank Account NumberIdentifier of a customer bank account. -
CustomerBankAccountNumber: string
Maximum Length:
255Bank account number of a customer. For display purposes, the masked value is returned. -
CustomerPartyIdentifier: integer
(int64)
Title:
Debtor Party IdentifierParty identifier of the debtor. -
CustomerPartyName: string
Title:
NameMaximum Length:360Party name of the debtor. -
CustomerPartyNumber: string
Title:
Registry IDMaximum Length:30Party number of the debtor. -
DebitAuthorizationId: integer
(int64)
Title:
Debit Authorization IdentifierIdentifier of a debit authorization. -
DebitAuthorizationReferenceNumber: string
Maximum Length:
100Unique user-specified reference number of a debit authorization. -
debitAuthorizationVersions: array
Debit Authorization Versions
Title:
Debit Authorization VersionsThe debit authorization version resource is used to view a debit authorization version. -
DirectDebitCount: integer
(int64)
Read Only:
trueNumber of direct debit transactions attributed to a debit authorization. -
EffectiveEndDate: string
(date)
Read Only:
trueDate when the debit authorization ended. -
EffectiveStartDate: string
(date)
Read Only:
trueDate when the debit authorization started. -
FinalCollectionDate: string
(date)
Date when the final collection of a direct debit was made, according to the debit authorization.
-
Frequency: string
Title:
FrequencyMaximum Length:255Regularity with which direct debit instructions are created and processed. -
IBAN: string
Maximum Length:
255International Bank Account Number (IBAN), which is an alphanumeric sequence that conforms to the ISO standard for uniquely identifying a bank account number internationally. The standard IBAN carries all the routing information needed to get a payment from one bank to another. -
LegalEntityIdentifier: integer
(int64)
Title:
Legal EntityIdentifier of a legal entity. -
LegalEntityName: string
Title:
Legal EntityMaximum Length:240Name of the legal entity on the debit authorization. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
PrimaryIndicator: string
Title:
PrimaryMaximum Length:1Default Value:NIndicates whether a debit authorization is primary. -
ReasonForAmendment: string
Read Only:
trueMaximum Length:255Reason for amending a debt authorization. -
SigningDate: string
(date)
Date when the debtor signed the debit authorization.
-
Status: string
Read Only:
trueMaximum Length:255Indicates whether a debit authorization is active or inactive. -
TransactionType: string
Title:
Transaction TypeMaximum Length:255Type of debit authorization, one-off or recurring. -
VersionNumber: integer
(int32)
Title:
Version NumberDefault Value:1Version number of the debit authorization. The version is set at 1 and increases with each new amendment.
Nested Schema : Debit Authorization Versions
Type:
arrayTitle:
Debit Authorization VersionsThe debit authorization version resource is used to view a debit authorization version.
Show Source
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : debitAuthorizations-debitAuthorizationVersions-item-response
Type:
Show Source
object-
CreditorIdentificationNumber: string
Read Only:
trueMaximum Length:150Identification number of the creditor, as provided on the debit authorization version. -
CustomerBankAccountNumber: string
Read Only:
trueMaximum Length:100Bank account number of a customer. For display purposes, the masked value is returned. -
CutomerBankAccountIdentifier: integer
(int64)
Read Only:
trueIdentifier of a customer bank account. -
DebitAuthorizationId: integer
(int64)
Read Only:
trueIdentifier of a debit authorization version. -
DebitAuthorizationReferenceNumber: string
Read Only:
trueMaximum Length:100Unique user-specified reference number of a debit authorization version. -
DirectDebitCount: integer
(int64)
Read Only:
trueNumber of direct debit transactions attributed to a debit authorization version. -
EffectiveEndDate: string
(date)
Read Only:
trueDate when the debit authorization version ended. -
EffectiveStartDate: string
(date)
Read Only:
trueDate when the debit authorization version started. -
IBAN: string
Read Only:
trueMaximum Length:50International Bank Account Number (IBAN), which is an alphanumeric sequence that conforms to the ISO standard for uniquely identifying a bank account number internationally. The standard IBAN carries all the routing information needed to get a payment from one bank to another. -
LegalEntityName: string
Title:
Legal Entity NameRead Only:trueMaximum Length:240Name of the legal entity, as provided on the debit authorization version. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
ReasonForAmendment: string
Title:
MeaningRead Only:trueMaximum Length:80Reason for amending a debt authorization version. -
VersionNumber: integer
(int32)
Read Only:
trueVersion number of a debit authorization, which is set at 1 and increases with each new amendment.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : link
Type:
Show Source
object-
href: string
Title:
hyperlink referenceThe URI to the related resource. -
kind: string
Title:
kindAllowed Values:[ "collection", "item", "describe", "other" ]The kind of the related resource. -
name: string
Title:
nameThe name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relationAllowed Values:[ "self", "lov", "parent", "canonical", "child", "enclosure", "action", "custom" ]The name of the relation to the resource instance. Example: self.
Nested Schema : properties
Type:
Show Source
object-
changeIndicator: string
Change indicator or the ETag value of the resource instance.
Links
- debitAuthorizationVersions
-
Parameters:
- debitAuthorizationsUniqID:
$request.path.debitAuthorizationsUniqID
The debit authorization version resource is used to view a debit authorization version. - debitAuthorizationsUniqID:
Examples
The following example shows how to create a debit authorization by submitting a POST request on the REST resource using cURL.
curl -i -u "<username>:<password>" -H "Content-Type: application/vnd.oracle.adf.resourceitem+json" -X POST -d <payload> https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/debitAuthorizations
Example Request Payload
The following example shows the contents of the request body in JSON format:
{
"DebitAuthorizationReferenceNumber": "900301",
"CustomerBankAccountIdentifier": 1302,
"SigningDate": "2018-09-01",
"FinalCollectionDate": "2018-09-30",
"TransactionType": "Recurring",
"Frequency": "Annual",
"AuthorizationMethod": "Other",
"CustomerPartyIdentifier": 300100017679826,
"LegalEntityIdentifier": 204
}Example Response Body
The following example shows the contents of the response body in JSON format:
{
"DebitAuthorizationReferenceNumber": "900301",
"SigningDate": "2018-09-01",
"TransactionType": "Recurring",
"Frequency": "Annual",
"FinalCollectionDate": "2018-09-30",
"AuthorizationMethod": "Other",
"CustomerPartyIdentifier": 300100017679826,
"CustomerBankAccountIdentifier": 1302,
"LegalEntityIdentifier": 204,
...
"links": [
{
"rel": "self",
"href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/debitAuthorizations/00030000004AACED00057372000D6A6176612E73716C2E4461746514FA46683F3566970200007872000E6A6176612E7574696C2E44617465686A81014B5974190300007870770800000167579D8400780000004AACED00057372000D6A6176612E73716C2E4461746514FA46683F3566970200007872000E6A6176612E7574696C2E44617465686A81014B5974190300007870770800004EB9F6DD1400780000000EACED00057708000110F0841456B5",
"name": "debitAuthorizations",
"kind": "item",
"properties": {
"changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178"
}
},
{
"rel": "child",
"href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/debitAuthorizations/00030000004AACED00057372000D6A6176612E73716C2E4461746514FA46683F3566970200007872000E6A6176612E7574696C2E44617465686A81014B5974190300007870770800000167579D8400780000004AACED00057372000D6A6176612E73716C2E4461746514FA46683F3566970200007872000E6A6176612E7574696C2E44617465686A81014B5974190300007870770800004EB9F6DD1400780000000EACED00057708000110F0841456B5/child/debitAuthorizationVersions",
"name": "debitAuthorizationVersions",
"kind": "collection"
},
...
]
}